class Symbol

def to_json(*a)


# {"json_class":"Symbol","s":"foo"}

Output:

puts :foo.to_json
require 'json/add/symbol'

Returns a JSON string representing +self+:
def to_json(*a)
  as_json.to_json(*a)
end