class AnyHash::JSON
- AnyHash::JSON
- AnyHash(String | Symbol, AnyHash::JSONTypes::Value)
- Reference
- Object
Overview
Wrapper for Hash(K, V)
with Symbol | String
keys and
recursive (((((Nil | Number::Primitive) | Bool) | Symbol) | String) | Time) | ::JSON::Any)
values.
NOTE Class auto-generated by AnyHash.define_new
.
See AnyHash
.
Included Modules
Defined in:
any_hash/json.crConstructors
-
.new(hash = nil)
Initializes
AnyHash
with the given hash object.
Instance methods inherited from class AnyHash(String | Symbol, AnyHash::JSONTypes::Value)
==(other : self)==(other : NamedTuple)
==(arg) ==, ===(arg) ===, [](*keys) [], []=(key, value)
[]=(*args) []=, []?(*keys) []?, clone clone, dig(keys : Enumerable)
dig(*keys) dig, dig?(keys : Enumerable)
dig?(*keys) dig?, dup dup, each(*args, **options)
each(*args, **options, &) each, merge(*values, **options)
merge(*values, **options, &) merge, merge!(*values, **options)
merge!(*values, **options, &) merge!, replace(other) replace, reverse_merge(other = nil, *values, **options)
reverse_merge(other = nil, *values, **options, &) reverse_merge, reverse_merge!(other = nil, *values, **options)
reverse_merge!(other = nil, *values, **options, &) reverse_merge!, to_h(*args, **options)
to_h(*args, **options, &) to_h