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:
Is this correct?
It should be pretty straight forward.
{
"Value1": null,
"Value2": null,
}
Null represents a null-able datatype so your business layer needs then to know if that is an int, double, string ...