I'm building an application that parses a JSON template and then replaces the values of the objects with new data. My question is what is the standard way to represent empty data in JSON?
This is how I'm handling this right now:
- an empty string is represented as
"" - an empty int/float/double/bool/etc. is represented as
null
Is this correct?