Methods
- #
- A
- F
- J
- T
- #
Attributes
[W] | json_creatable |
Instance Public methods
[](name)
Link
[]=(name, value)
Link
as_json(*)
Link
from_hash(object)
Link
# File ext/json/lib/json/generic_object.rb, line 20 def from_hash(object) case when object.respond_to?(:to_hash) result = new object.to_hash.each do |key, value| result[key] = from_hash(value) end result when object.respond_to?(:to_ary) object.to_ary.map { |a| from_hash(a) } else object end end
json_creatable?()
Link
json_create(data)
Link
to_hash()
Link
to_json(*a)
Link