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



132
133
134
135
# File 'lib/google/apis/core/json_representation.rb', line 132

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