You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Json::OjEngine

Inherits:
Object
  • Object
show all
Defined in:
gems/aws-sdk-core/lib/aws-sdk-core/json/json_engine.rb

Class Method Summary collapse

Class Method Details

.dump(value) ⇒ Object



9
10
11
# File 'gems/aws-sdk-core/lib/aws-sdk-core/json/json_engine.rb', line 9

def self.dump(value)
  Oj.dump(value)
end

.load(json) ⇒ Object



5
6
7
# File 'gems/aws-sdk-core/lib/aws-sdk-core/json/json_engine.rb', line 5

def self.load(json)
  Oj.load(json)
end