Ask Your Question

Revision history [back]

To insert a null value into a key in a JSON body request, you can simply use the keyword "null" without quotes as the value of the respective key. For example:

{ "name": null, "age": 25, "address": { "line1": null, "city": "New York", "state": "NY" } }

This will set the value of the "name" and "line1" keys to null.