ileitch/rapns — pull request #48 by bongole (2012-06-20 05:54:18+00:00)
Title: Replace Hash#to_json and ActiveSupport::JSON to MultiJson

To be able to select more fast and more space-saving JSON engine.

Space-saving is important for non-ascii utf8 string.
See the following examples.

* ActiveSupport::JSON
ActiveSupport::JSON.encode( { "aps" => { "alert" => "あいうえお" } } ) #=> {"aps":{"alert":"\u3042\u3044\u3046\u3048\u304a"}} # 50 bytes

* MultiJSON with oj engine
MultiJson.dump( { "aps" => { "alert" => "あいうえお" } ) #=> {"aps":{"alert":"あいうえお"}} # 35 bytes