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
YAML.jl implements its default schema by constructor and resolver. In order to allow users to select a schema when parsing, a struct representing the schema is necessary. Such struct will be a struct holding a constructor and a resolver:
Such schema should be able to be defined by users. We export the main three schemata (failsafe, JSON, Core) and the YAML.jl v0.4.10 schema, then users select when parsing:
YAML.parse(x, schema=FailsafeSchema)
YAML.parse(x) # pass YAML.jl v0.4.10 schema as a default for a while
Currently (v0.4.10), users can only select constructors in keyword arguments.
The text was updated successfully, but these errors were encountered:
YAML.jl implements its default schema by
constructor
andresolver
. In order to allow users to select a schema when parsing, a struct representing the schema is necessary. Such struct will be a struct holding a constructor and a resolver:Such schema should be able to be defined by users. We export the main three schemata (failsafe, JSON, Core) and the YAML.jl v0.4.10 schema, then users select when parsing:
Currently (v0.4.10), users can only select constructors in keyword arguments.
The text was updated successfully, but these errors were encountered: