Documentation
¶
Overview ¶
Package compiler generates Go types that hold values described by a JSON Schema document.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Compile ¶
func Compile(schemas []*jsonschema.Schema) ([]ast.Decl, []*ast.ImportSpec, error)
Compile generates Go declarations for types that hold values described by the JSON Schemas.
1. Parse (per-schema) 2. Resolve references (all schemas) 3. Generate code (per-schema)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.