JSON Types and Values/Boolean false vs null

These values are not interchangeable.

Section: Primitive values

Boolean false vs null

json
json
{
  "enabled": false,
  "nickname": null
}
Explanation

`false` means the feature is disabled. `null` means there is no value.

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 Primitive values
Boolean value
Booleans are lowercase `true` and `false`.
OpenIn sheetjsonsame section
Null value
Represents an explicit empty value.
OpenIn sheetjsonsame section
String value
A sequence of Unicode characters inside double quotes.
OpenIn sheetjsonsame section
Number value
JSON supports integers and decimals.
OpenIn sheetjsonsame section
Avoid leading zeros
Leading zeros are invalid except for zero itself.
OpenIn sheetjson1 tag match
Escape quotes inside strings
Use backslash to include literal double quotes.
OpenIn sheetjson1 tag match