Module: Google::Apis::Core::JsonObjectSupport::ClassMethods

Defined in:
lib/google/apis/core/json_representation.rb

Instance Method Summary collapse

Instance Method Details

#from_json(json) ⇒ Object



136
137
138
139
# File 'lib/google/apis/core/json_representation.rb', line 136

def from_json(json)
  representation = self.const_get(:Representation)
  representation.new(self.new).from_json(json, unwrap: self)
end