Hi devs,

It could be a tiny / trivial issue, but I'd love to see our opinions about
the JSON output.

When we use Map to body in JsonResponse (for REST API), it only represents
keys which have non-null value to JSON.
Please refer https://github.com/apache/incubator-zeppelin/pull/562

It seems to be Gson's behavior, optimization of the size of the JSON output.

If we prefer all fields to be represented, we can modify it easily. Please
refer here.
http://stackoverflow.com/questions/3923759/gson-ignoring-map-entries-with-value-null

All Json Responses will be affected, so I'd love to hear that we want null
objects or not.
Please share your opinions.

Thanks!
Jungtaek Lim (HeartSaVioR)

Reply via email to