Looking at this: http://jackson.codehaus.org/1.6.5/javadoc/org/codehaus/jackson/map/SerializationConfig.Feature.html
It looks like jackson json has a configuration in which only maps will have their null values serialized, but Gson only appears to have serialization of all null values, or none at all