Sha256: 4f8bd8cfa7b406d2713b9766e5dbd914adda4c459e5b9e562d46aff50253b0eb

Contents?: true

Size: 268 Bytes

Versions: 7

Compression:

Stored size: 268 Bytes

Contents

# frozen_string_literal: true

class Serega
  module SeregaJSON
    class JSONDump
      def self.call(data)
        ::JSON.dump(data)
      end
    end

    class JSONLoad
      def self.call(json_string)
        ::JSON.parse(json_string)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
serega-0.6.1 lib/serega/json/json.rb
serega-0.6.0 lib/serega/json/json.rb
serega-0.5.2 lib/serega/json/json.rb
serega-0.5.1 lib/serega/json/json.rb
serega-0.5.0 lib/serega/json/json.rb
serega-0.4.0 lib/serega/json/json.rb
serega-0.3.0 lib/serega/json/json.rb