Module: JSI
- Defined in:
- lib/jsi.rb,
lib/jsi/base.rb,
lib/jsi/json.rb,
lib/jsi/util.rb,
lib/jsi/schema.rb,
lib/jsi/version.rb,
lib/jsi/json/node.rb,
lib/jsi/base/to_rb.rb,
lib/jsi/typelike_modules.rb,
lib/jsi/struct_json_coder.rb,
lib/jsi/schema_instance_json_coder.rb
Defined Under Namespace
Modules: Arraylike, BaseArray, BaseHash, FingerprintHash, Hashlike, JSON, Memoize, SchemaClasses, Typelike, Util Classes: Base, Bug, ObjectJSONCoder, Schema, SchemaInstanceJSONCoder, StructJSONCoder
Constant Summary collapse
- VERSION =
"0.0.2".freeze
Class Method Summary collapse
-
.class_for_schema(*a, &b) ⇒ Class subclassing JSI::Base
A JSI class which represents the given schema.
Methods included from Util
deep_stringify_symbol_keys, stringify_symbol_keys, ycomb
Methods included from Memoize
Class Method Details
.class_for_schema(*a, &b) ⇒ Class subclassing JSI::Base
Returns a JSI class which represents the given schema. instances of the class represent JSON Schema instances for the given schema.
28 29 30 |
# File 'lib/jsi.rb', line 28 def self.class_for_schema(*a, &b) SchemaClasses.class_for_schema(*a, &b) end |