Sha256: dcbd0617846ae309e05509c9fb56d2338b39482f68bbbb7f5f227c117848625c

Contents?: true

Size: 324 Bytes

Versions: 133

Compression:

Stored size: 324 Bytes

Contents

# frozen_string_literal: true

module Aws
  module Json
    module JSONEngine
      class << self
        def load(json)
          JSON.parse(json)
        rescue JSON::ParserError => e
          raise ParseError.new(e)
        end

        def dump(value)
          JSON.dump(value)
        end
      end
    end
  end
end

Version data entries

133 entries across 133 versions & 1 rubygems

Version Path
aws-sdk-core-3.198.0 lib/aws-sdk-core/json/json_engine.rb
aws-sdk-core-3.197.2 lib/aws-sdk-core/json/json_engine.rb
aws-sdk-core-3.197.1 lib/aws-sdk-core/json/json_engine.rb
aws-sdk-core-3.197.0 lib/aws-sdk-core/json/json_engine.rb
aws-sdk-core-3.194.1 lib/aws-sdk-core/json/json_engine.rb
aws-sdk-core-3.194.0 lib/aws-sdk-core/json/json_engine.rb
aws-sdk-core-3.193.0 lib/aws-sdk-core/json/json_engine.rb
aws-sdk-core-3.192.1 lib/aws-sdk-core/json/json_engine.rb
aws-sdk-core-3.192.0 lib/aws-sdk-core/json/json_engine.rb
aws-sdk-core-3.191.6 lib/aws-sdk-core/json/json_engine.rb
aws-sdk-core-3.191.5 lib/aws-sdk-core/json/json_engine.rb
aws-sdk-core-3.191.4 lib/aws-sdk-core/json/json_engine.rb
aws-sdk-core-3.191.3 lib/aws-sdk-core/json/json_engine.rb
aws-sdk-core-3.191.2 lib/aws-sdk-core/json/json_engine.rb
aws-sdk-core-3.191.1 lib/aws-sdk-core/json/json_engine.rb
aws-sdk-core-3.191.0 lib/aws-sdk-core/json/json_engine.rb
aws-sdk-core-3.190.3 lib/aws-sdk-core/json/json_engine.rb
aws-sdk-core-3.190.2 lib/aws-sdk-core/json/json_engine.rb
aws-sdk-core-3.190.1 lib/aws-sdk-core/json/json_engine.rb
aws-sdk-core-3.190.0 lib/aws-sdk-core/json/json_engine.rb