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



140
141
142
143
# File 'lib/google/apis/core/json_representation.rb', line 140

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