Conversion
- Convert YAML to JSON with ToJSON and back with FromJSON, read input that must be JSON, and handle a value JSON cannot hold.
- Read a YAML document as a stream of JSON tokens with ToJSONTokens, with a JSON pointer and a source position for each, and stop as soon as you have what you need.