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)? Gerald R. Wiltse [email protected]
