I\'m trying to understand the JSON serialization landscape in Ruby. I\'m new to Ruby.
Is there any good JSON serialization options if you are not working with Rails?
require 'json' {"foo" => "bar"}.to_json # => "{\"foo\":\"bar\"}"