Sha256: 9e0648acf8c333924a2b2a17cf14de0e8e1ac897bee213d4ac0edb102f168e77

Contents?: true

Size: 189 Bytes

Versions: 18

Compression:

Stored size: 189 Bytes

Contents

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

    def self.parse(json)
      ::JSON.parse(json)
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
search_flip-3.9.0 lib/search_flip/json.rb
search_flip-4.0.0.beta16 lib/search_flip/json.rb
search_flip-4.0.0.beta14 lib/search_flip/json.rb
search_flip-3.8.0 lib/search_flip/json.rb
search_flip-4.0.0.beta13 lib/search_flip/json.rb
search_flip-3.7.2 lib/search_flip/json.rb
search_flip-4.0.0.beta12 lib/search_flip/json.rb
search_flip-3.7.1 lib/search_flip/json.rb
search_flip-4.0.0.beta11 lib/search_flip/json.rb
search_flip-3.7.0 lib/search_flip/json.rb
search_flip-4.0.0.beta10 lib/search_flip/json.rb
search_flip-3.6.0 lib/search_flip/json.rb
search_flip-3.5.0 lib/search_flip/json.rb
search_flip-4.0.0.beta9 lib/search_flip/json.rb
search_flip-4.0.0.beta8 lib/search_flip/json.rb
search_flip-3.4.0 lib/search_flip/json.rb
search_flip-3.3.0 lib/search_flip/json.rb
search_flip-4.0.0.beta7 lib/search_flip/json.rb