When having a json like:
{"id":\"foo", "aaa": {}}
the sequence of events is:
- JsonEventType.propertyName : id
- JsonEventType.propertyValue : foo
- JsonEventType.propertyName : aaa
- JsonEventType.beginObject : null
- JsonEventType.endObject : null
- JsonEventType.propertyValue : null
- JsonEventType.endObject : null
I guess the last propertyValue shouldn't be there.