Support for the Ruby 2.2 series has ended. See here for reference.
Object
Symbol serialization/deserialization
Returns a hash, that will be turned into a JSON object and represent this object.
# File json/lib/json/add/symbol.rb, line 9 def as_json(*) { JSON.create_id => self.class.name, 's' => to_s, } end