to_json(*args) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File ext/json/lib/json/add/core.rb, line 110
  def to_json(*args)
    klass = self.class.name
    klass.to_s.empty? and raise JSON::JSONError, "Only named structs are supported!"
      JSON.create_id => klass,
      'v'     => values,
Register or log in to add new notes.