View Source JsonSchema.Parser (json_schema v0.4.0)
Parses JSON schema files into an intermediate representation to be used for e.g. printing elm decoders.
Link to this section Summary
Functions
Parses a single JSON Schema documents into a SchemaResult
.
Parses one or more JSON Schema documents into a SchemaResult
.
Parses one or more JSON Schema files into a SchemaResult
.
Link to this section Functions
@spec parse_schema_document(String.t(), Path.t()) :: JsonSchema.Parser.SchemaResult.t()
Parses a single JSON Schema documents into a SchemaResult
.
@spec parse_schema_documents([{Path.t(), String.t()}]) :: JsonSchema.Parser.SchemaResult.t()
Parses one or more JSON Schema documents into a SchemaResult
.
@spec parse_schema_files([Path.t()]) :: JsonSchema.Parser.SchemaResult.t()
Parses one or more JSON Schema files into a SchemaResult
.