Package org.eclipse.jetty.util.ajax
Interface JSON.Convertor
- All Known Implementing Classes:
JSONCollectionConvertor
,JSONDateConvertor
,JSONEnumConvertor
,JSONObjectConvertor
,JSONPojoConvertor
,JSONPojoConvertorFactory
- Enclosing class:
- JSON
public static interface JSON.Convertor
JSON Convertor.
Implementations provide convertors for objects that may be
registered with JSON.addConvertor(Class, Convertor)
.
These convertors are looked up by class, interfaces and super class
by JSON.getConvertor(Class)
.
Convertors should be used when the classes to be converted cannot
implement JSON.Convertible
or JSON.Generator
.
-
Method Summary
-
Method Details
-
toJSON
-
fromJSON
-