Sha256: 2c7f9ca915a7e2d3d63dcb6ee34431a0fa73a5cf831f164f987df0060698026f

Contents?: true

Size: 181 Bytes

Versions: 14

Compression:

Stored size: 181 Bytes

Contents

module Gush
  class JSON
    def self.encode(data)
      MultiJson.dump(data)
    end

    def self.decode(data, options = {})
      MultiJson.load(data, options)
    end
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
gush-4.1.0 lib/gush/json.rb
gush-4.0.0 lib/gush/json.rb
gush-3.0.0 lib/gush/json.rb
gush-2.1.0 lib/gush/json.rb
gush-2.0.2 lib/gush/json.rb
gush-2.0.1 lib/gush/json.rb
gush-2.0.0 lib/gush/json.rb
gush-1.1.1 lib/gush/json.rb
gush-1.1.0 lib/gush/json.rb
gush-1.0.0 lib/gush/json.rb
gush-mmx-0.4.2 lib/gush/json.rb
gush-0.4.1 lib/gush/json.rb
gush-0.3.3 lib/gush/json.rb
gush-0.4 lib/gush/json.rb