I\'m trying to parse some JSON in Grails using the grails.converters.JSON library. I have a field which will contain either a string, or a null value. When I parse the JSON an
You may find this more useful and natural
JSONObject.NULL.equals(jsonObj.get("key_name"))