You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a complex data model that uses tags, but at the point where js-yaml touches it, I really don't care about the tags. I would like to be able to load the data without manually specifying each and every custom tag I've used as a schema.
Might it be possible to have a PERMISSIVE_SCHEMA that simply takes mapping types and converts them to JS objects, and takes sequence types and converts them to arrays? I suspect this is a somewhat common use-case.
In general, this would be a quick-and-dirty solution to the error:
YAMLException: unknown tag !<!MyTag> at line 8, column 1:
The text was updated successfully, but these errors were encountered:
I have a complex data model that uses tags, but at the point where js-yaml touches it, I really don't care about the tags. I would like to be able to load the data without manually specifying each and every custom tag I've used as a schema.
Might it be possible to have a
PERMISSIVE_SCHEMA
that simply takes mapping types and converts them to JS objects, and takes sequence types and converts them to arrays? I suspect this is a somewhat common use-case.In general, this would be a quick-and-dirty solution to the error:
The text was updated successfully, but these errors were encountered: