remove the class node
Brought to you by:
charliehubbard
don't call the getClass method for every object or at least make it optional.
I've noticed also empty array indices such as :
{"people":[,{"birthdate":
198940304037,"class":"flexjson.test.mock.Person"}]}
Usually at the begining of an array but who knows where else or why this is happpening. This is invalid JSON, if it is due to null values add a null string or [] check out json.org for correct json syntax.
Seems to only happen when I use the deepserialization.
Using includes and excludes allows you to configure whether you want this option or not.
new JSONSerializer().exclude("*.class")
Starting with 1.5 exclude("*.class") on your JSONSerialzier will turn this on or off.