When the JSON Databinding produces JSON from a POJO it's generating
contents from the null attributes (see example below)
{
"id": "000020550372",
"links": [
{
"href": "http://localhost/000020550372",
"type": null
},
{
"href": "http://localhost/000020550372/xxx",
"type": null
}
]
}
For performance reasons, I'd like to have a more clean/compact JSON
output that would avoid generating the null elements.
Is there an easy way to do that with the Databinding Framework ?
--
Luciano Resende
http://people.apache.org/~lresende
http://twitter.com/lresende1975
http://lresende.blogspot.com/