Boolean JSON Form

Use a checkbox and a false default.

How this example works

The checkbox starts unchecked. Toggle it and submit to see a JSON boolean; reset returns it to false.

Read the supported schema guide

Preferences

Submitted JSON

Submit the form to see its JSON.