This key defines the delimiter that separates a key from its value within an object when parsing snippet parameters.
The value is a string that specifies the delimiter token. If required, this will usually be :.
Appears in
└── Snippet Format
└── object_value_delimiterType
string
Examples
In this example, we have configured object value delimiter to use a colon.
Copied to clipboard
_snippets:
example:
snippet: <<example [[param]]>>
params:
param:
parser: argument
options:
format:
object_boundary:
start: '{'
end: '}'
object_value_delimiter: ':'{
"_snippets": {
"example": {
"snippet": "<<example [[param]]>>",
"params": {
"param": {
"parser": "argument",
"options": {
"format": {
"object_boundary": {
"start": "{",
"end": "}"
},
"object_value_delimiter": ":"
}
}
}
}
}
}
}