Representing null in JSON
What is the preferred method for returning null values in JSON? Is there a different preference for primitives? For example, if my object on the server has an Integer called “myCount” with no value, the most correct JSON for that value would be: {} or { “myCount”: null } or { “myCount”: 0 } Same … Read more