class
Jargon::Schema
- Jargon::Schema
- Reference
- Object
Defined in:
jargon/schema.crConstructors
- .from_file(path : String) : Schema
- .from_json(json_string : String) : Schema
- .from_json_any(json : JSON::Any) : Schema
- .new(root : Property, definitions : Hash(String, Property) = {} of String => Property, positional : Array(String) = [] of String)
Instance Method Summary
- #definitions : Hash(String, Property)
- #positional : Array(String)
- #resolve_ref(ref : String) : Property | Nil
- #root : Property
Constructor Detail
def self.new(root : Property, definitions : Hash(String, Property) = {} of String => Property, positional : Array(String) = [] of String)
#