method

to_json

ruby latest stable - Class: Symbol
to_json(*a)
public

Stores class name (Symbol) with String representation of Symbol as a JSON string.