global

def to_json(options = nil)

Dumps object in JSON (JavaScript Object Notation). See www.json.org for more info.
def to_json(options = nil)
  ActiveSupport::JSON.encode(self, options)
end