Hi all... and Sven ;-)

I'm mapping my objects with NeoJSONWriter, and I found it is not writing the properties whose values are null.

NeoJSONPropertyMapping>>#writeObject: anObject on: jsonMapWriter
| value |
value := getter value: anObject.
value��
ifNotNil: [ jsonMapWriter writeKey: propertyName value: value as: valueSchema ]��


It is a good default (saves space, and cpu cycles). But in my case the consumer of the JSON objects expect the objects to have all the attributes previously defined.

Is there a way I can configure the mapper or the mapping to write null when the value is nil?

Thank you!


Esteban A. Maringolo