Omitting a field is different from setting it to null.
Section: Object patterns
Missing property vs null property
json
json
{
"nickname": null
}Explanation
A missing property can mean "unknown" or "not sent". `null` usually means explicitly empty.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Object patterns
Mixed-type arrays are legal but risky
JSON allows mixed types, but they are often harder to consume.
Extract a field from each array item
Print one property from every object in an array.