JSON.stringify for a caller-supplied value, with the hazards removed.
JSON.stringify
Returns null when nothing survived, so a caller can leave a column NULL rather than writing "{}" — which claims the writer had an empty object, not that it had nothing to write.
null
"{}"
JSON.stringifyfor a caller-supplied value, with the hazards removed.Returns
nullwhen nothing survived, so a caller can leave a column NULL rather than writing"{}"— which claims the writer had an empty object, not that it had nothing to write.