- Description:
This key toggles whether CloudCannon will allow keys without values to imply a value of
truewhen parsing key-value pairs in snippet parameters.Setting this key to
truewill allow keys to be specified without values, which will be interpreted astrue.By default, this key is
false(i.e., keys without values are not allowed).- Appears in:
└── Snippet Format └── allow_implied_values- Type:
boolean- Examples:
In this example, we have configured snippet format to allow implied values for keys without values.
Copied to clipboard_snippets: example: snippet: <<example [[param]]>> params: param: parser: argument options: format: allow_implied_values: true{ "_snippets": { "example": { "snippet": "<<example [[param]]>>", "params": { "param": { "parser": "argument", "options": { "format": { "allow_implied_values": true } } } } } } }