lib/legion/json.rb in legion-json-1.1.4 vs lib/legion/json.rb in legion-json-1.1.5
- old
+ new
@@ -8,10 +8,10 @@
def parser
@parser ||= MultiJson
end
def load(string, symbolize_keys = true)
- parser.load(string, symbolize_keys: symbolize_keys)
+ MultiJson.load(string, symbolize_keys: symbolize_keys)
rescue StandardError => e
raise Legion::JSON::ParseError.build(e, string)
end
def dump(object, pretty = false)