- Description:
This key toggles whether CloudCannon will allow unquoted boolean values like
trueandfalsewhen parsing snippet parameters.Setting this key to
truewill allow unquoted boolean values in snippet parameter parsing.By default, this key is
false(i.e., unquoted boolean values are not allowed).- Appears in:
└── Snippet Format └── allow_booleans- Type:
boolean- Examples:
In this example, we have configured snippet format to allow unquoted boolean values.
Copied to clipboard_snippets: example: snippet: <<example [[param]]>> params: param: parser: argument options: format: allow_booleans: true{ "_snippets": { "example": { "snippet": "<<example [[param]]>>", "params": { "param": { "parser": "argument", "options": { "format": { "allow_booleans": true } } } } } } }