Hi,

would it be possible to provide option to automatically sort instance variables when serializing objects?

Either always sorted

NeoJSONObjectMapping>>writeObject: anObject on: jsonWriter
jsonWriter writeMapStreamingDo: [ :jsonMapWriter |
(properties sorted: #propertyName ascending) do: [ :each |
each writeObject: anObject on: jsonMapWriter ] ]

or put it behind some sortProperties boolean flag. (atm I don't see any downsides in having sort always enabled)

Thanks,
Peter