Package | Description |
---|---|
org.eclipse.jetty.util.ajax |
Jetty Util : Simple JSON Utility classes
|
Modifier and Type | Class and Description |
---|---|
class |
JSONCollectionConvertor |
class |
JSONDateConvertor
Convert a
Date to JSON. |
class |
JSONEnumConvertor
Convert an
Enum to JSON. |
class |
JSONObjectConvertor
Convert an Object to JSON using reflection on getters methods.
|
class |
JSONPojoConvertor
Converts POJOs to JSON and vice versa.
|
class |
JSONPojoConvertorFactory |
Modifier and Type | Method and Description |
---|---|
protected JSON.Convertor |
JSON.getConvertor(Class forClass)
Lookup a convertor for a class.
|
JSON.Convertor |
JSON.getConvertorFor(String name)
Lookup a convertor for a named class.
|
Modifier and Type | Method and Description |
---|---|
void |
JSON.addConvertor(Class forClass,
JSON.Convertor convertor)
Register a
JSON.Convertor for a class or interface. |
void |
JSON.addConvertorFor(String name,
JSON.Convertor convertor)
Register a
JSON.Convertor for a named class or interface. |
void |
JSON.appendJSON(Appendable buffer,
JSON.Convertor convertor,
Object object) |
void |
JSON.appendJSON(StringBuffer buffer,
JSON.Convertor convertor,
Object object)
Deprecated.
|
static void |
JSON.registerConvertor(Class forClass,
JSON.Convertor convertor)
Register a
JSON.Convertor for a class or interface. |
Copyright © 1995-2015 Webtide. All Rights Reserved.