RFC 7159 drops the limitation that a JSON text must be an object or an array. The grammar specifies:
JSON-text = ws value ws
where
value = false / null / true / object / array / number / string
Thus, “null” is now a valid JSON document.
RFC 7159 drops the limitation that a JSON text must be an object or an array. The grammar specifies:
JSON-text = ws value ws
where
value = false / null / true / object / array / number / string
Thus, “null” is now a valid JSON document.