Skip to content

Correct Formatting for null / "NULL" Values

Question:

What is the correct JSON formatting for null / "NULL" values?


Answer:

The value should be a JSON null, not the string "NULL".


 Example:

{"field_name": null}

^^ this is correct.


 
{"field_name": "NULL"}

^^ this is incorrect.

Feedback and Knowledge Base