Currently the parser allows you to feed in JavaScript objects instead of a JSON or YAML document. I feel like allowing the source document to be a JavaScript object was a developer convince, but it is an anti-pattern as there will be no source maps for these types of source documents.
This will prevent any accidental parsing of an object to the parser causing missing source maps.
Currently the parser allows you to feed in JavaScript objects instead of a JSON or YAML document. I feel like allowing the source document to be a JavaScript object was a developer convince, but it is an anti-pattern as there will be no source maps for these types of source documents.
This will prevent any accidental parsing of an object to the parser causing missing source maps.
BREAKING CHANGE