Skip to content

Boolean & Null


Boolean

{"type": "boolean"}
False

Strategy: randomly returns True or False with equal probability. No additional keywords are supported for this type.


Null

{"type": "null"}
None

Strategy: always returns Python None. The only valid JSON null value; no additional keywords apply.