Sha256: 74d448e87a1e1b00dbb371a2cb2f94816c8fda69e7ffd23592e150a5b93e63ac

Contents?: true

Size: 219 Bytes

Versions: 1

Compression:

Stored size: 219 Bytes

Contents

module SearchFlip
  class JSON
    def self.generate(obj)
      Oj.dump(obj, SearchFlip::Config[:json_options])
    end

    def self.parse(json)
      Oj.load(json, SearchFlip::Config[:json_options])
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
search_flip-4.0.0.beta6 lib/search_flip/json.rb