lib/spandx/ruby/gateway.rb in spandx-0.13.4 vs lib/spandx/ruby/gateway.rb in spandx-0.13.5
- old
+ new
@@ -25,10 +25,10 @@
response = http.get(url, default: {})
http.ok?(response) ? parse(response.body) : {}
end
def parse(json)
- JSON.parse(json)
+ Oj.load(json)
end
end
end
end