Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
requested on the mailing list, by Gerald Wiltse:
I just found this article which describes the problem perfectly and there are several good workarounds.
http://stackoverflow.com/questions/14749817/exclude-null-values-using-jsonbuilder-in-groovy
Apparently, it's a native feature of Jackson, which makes me think it's probably available in lots of JSON API's.
Any chance this feature could get on the roadmap for JSON Builder (and slurper for that matter)?
Attachments
Issue Links
- is duplicated by
-
GROOVY-7858 Make JsonBuilder configurable to not write entries with null values
- Closed
- links to