You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can we have an option to omit null fields from the JSON provided that the default value is also null ?
It helps to reduce the size of the JSON file and also consumer side will not affect with this kind of behaviour.
For instance, JSON serializers like Jackson, gson already have a similar feature to ignore null fields. (@JsonInclude(Include.NON_NULL))
Thanks!
The text was updated successfully, but these errors were encountered:
Hello,
Can we have an option to omit null fields from the JSON provided that the default value is also null ?
It helps to reduce the size of the JSON file and also consumer side will not affect with this kind of behaviour.
For instance, JSON serializers like Jackson, gson already have a similar feature to ignore null fields. (@JsonInclude(Include.NON_NULL))
Thanks!
The text was updated successfully, but these errors were encountered: