null¶
When a schema specifies a type
of null
, it has only one
acceptable value: null
.
Note
It’s important to remember that in JSON, null
isn’t equivalent
to something being absent. See Required Properties for an example.
In Python,
null
is analogous to None
.
In Ruby,
null
is analogous to nil
.{ "type": "null" }
null
false
0
""