json_schema v0.2.0 JsonSchema.Parser View Source
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
Link to this function
parse_schema_document(schema_document, schema_path)
View Source
parse_schema_document(String.t(), Path.t()) :: JsonSchema.Parser.SchemaResult.t()
Parses a single JSON Schema documents into a SchemaResult
.
Link to this function
parse_schema_documents(schema_path_document_pairs)
View Source
parse_schema_documents([{Path.t(), String.t()}]) :: JsonSchema.Parser.SchemaResult.t()
Parses one or more JSON Schema documents into a SchemaResult
.
Link to this function
parse_schema_files(schema_paths)
View Source
parse_schema_files([Path.t()]) :: JsonSchema.Parser.SchemaResult.t()
Parses one or more JSON Schema files into a SchemaResult
.