Any token. If it does not include an indent value, the value will be stringified as if it were an implicit key.
The string representation of the value, which will have its content properly indented.
Optionalcontext: { OptionalafterIn most cases, values after a key should have an additional level of indentation.
OptionalimplicitBeing within an implicit key may affect the resolved type of the token's value.
OptionalinBeing within a flow collection may affect the resolved type of the token's value.
Optionaltype?: TypeThe preferred type of the scalar token. If undefined, the previous type of the token will be used, defaulting to 'PLAIN'.
Set the value of
tokento the given stringvalue, overwriting any previous contents and type that it may have.Best efforts are made to retain any comments previously associated with the
token, though all contents within a collection'sitemswill be overwritten.Values that represent an actual string but may be parsed as a different type should use a
typeother than'PLAIN', as this function does not support any schema operations and won't check for such conflicts.