class JSON::Coder

def dump(object, io = nil)

Serialize the given object into a \JSON document.

dump(object, io) -> io
dump(object) -> String
call-seq:
def dump(object, io = nil)
  @state.generate_new(object, io)
end