Returns the given value as a JSON string.
Sequence.ToJSON · [value]
- The value to convert to JSON.
A single item sequence containing the JSON representation of the given value.
This function can receive any value as the argument, including other sequences, which are evaluated in the context of the currently selected element.