Empty maps cause crash
wesbillman opened this issue · comments
Wes commented
https://github.com/wesbillman/trix/blob/master/test/nested_object_test.dart#L113-L122
If this is changed:
'mapB': {
'a': {
'name': 'b',
'c': {'name': 'c'},
'listC': [
{'name': 'c'},
{'name': 'b'}
]
}
},
to be empty, the parser will crash
'mapB': {}