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/jsi_coder.rb,
lib/jsi/json/node.rb,
lib/jsi/base/to_rb.rb,
lib/jsi/pathed_node.rb,
lib/jsi/simple_wrap.rb,
lib/jsi/json/pointer.rb,
lib/jsi/schema_classes.rb,
lib/jsi/typelike_modules.rb
Defined Under Namespace
Modules: Arraylike, BaseArray, BaseHash, FingerprintHash, Hashlike, JSON, Memoize, PathedArrayNode, PathedHashNode, PathedNode, SchemaClasses, Typelike, Util Classes: Base, Bug, JSICoder, Schema, SimpleWrap
Constant Summary collapse
- VERSION =
"0.2.1".freeze
Constants included from Util
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, object_group_str, 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.
30 31 32 |
# File 'lib/jsi.rb', line 30 def self.class_for_schema(*a, &b) SchemaClasses.class_for_schema(*a, &b) end |