public final class Json extends Object
Date. It also supports
Maps and arrays of them, even nested ones. The
Dateis formatted in RFC 1123 format, so you can if necessary just pass it straight to
Complex objects like javabeans are not supported. Consider a "real" JSON library instead if you need this.
object- The object to be encoded as JSON.
IllegalArgumentException- When an unsupported type is encountered in the given object argument.