lib/search_flip/json.rb in search_flip-4.0.0.beta6 vs lib/search_flip/json.rb in search_flip-4.0.0.beta7
- old
+ new
@@ -3,9 +3,9 @@
def self.generate(obj)
Oj.dump(obj, SearchFlip::Config[:json_options])
end
def self.parse(json)
- Oj.load(json, SearchFlip::Config[:json_options])
+ ::JSON.parse(json)
end
end
end