Retain Null
Historically Jarvis has stripped values from responses whose value is null
. The purpose of this was to be clear in XML responses as there is was no universal null
indication flag, and so removing attributes was the clearest way to indicate a value didn’t exist.
However JSON provides the null
value for fields, and so it is possible for Jarvis to respond with null
vs. an empty string (or 0
value) when required.
This flag will, when using the JSON format and set to a truthy value, cause Jarvis to retain fields which are null
in the response. If this flag is left as the default (or set explicitly to a false value), then Jarvis will strip fields with null
values from JSON responses.
Note: The value of this field does not impact non-JSON output formats.