rubygems/rubygems.org — pull request #362 by brianmario (2011-10-12 19:59:52+00:00)
Title: Remove calls to the JSON gem API

This removes all calls to JSON.parse, JSON.load and also ActiveSupport::JSON.decode since it's super slow compared to yajl-ruby.

This is what I intended the deprecation warning from yajl-ruby about the JSON gem api compatibility layer going away to be for. `#to_json` is a broken API, and we should all stop using it. I've left the existing calls to `#to_json` since ActiveSupport will handle those. The places they're used seem kinda strange (lots of `JSON.parse(obj.to_json)` kinda stuff?) so I'll leave that up to you guys to remove. We should use `Yajl.dump(obj)` instead.

Tests are green for me locally, someone else mind giving it a run?