Uses of Interface
org.eclipse.jetty.util.ajax.JSON.Convertor
Packages that use JSON.Convertor
-
Uses of JSON.Convertor in org.eclipse.jetty.util.ajax
Classes in org.eclipse.jetty.util.ajax that implement JSON.ConvertorModifier and TypeClassDescriptionclass
class
Convert aDate
to JSON.class
Convert anEnum
to JSON.class
Convert an Object to JSON using reflection on getters methods.class
Converts POJOs to JSON and vice versa.class
Fields in org.eclipse.jetty.util.ajax with type parameters of type JSON.ConvertorModifier and TypeFieldDescriptionprivate Map<String,
JSON.Convertor> JSON._convertors
private Map<String,
JSON.Convertor> AsyncJSON.Factory.convertors
Methods in org.eclipse.jetty.util.ajax that return JSON.ConvertorModifier and TypeMethodDescriptionAsyncJSON.Factory.getConvertor
(String className) Returns theJSON.Convertor
associated with the given class name, if any.protected JSON.Convertor
JSON.getConvertor
(Class forClass) Lookup a convertor for a class.JSON.getConvertorFor
(String name) Lookup a convertor for a named class.AsyncJSON.Factory.removeConvertor
(String className) Removes theJSON.Convertor
associated with the given class name.Methods in org.eclipse.jetty.util.ajax with parameters of type JSON.ConvertorModifier and TypeMethodDescriptionvoid
JSON.addConvertor
(Class forClass, JSON.Convertor convertor) Register aJSON.Convertor
for a class or interface.void
JSON.addConvertorFor
(String name, JSON.Convertor convertor) Register aJSON.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.void
AsyncJSON.Factory.putConvertor
(String className, JSON.Convertor convertor) Associates the givenJSON.Convertor
to the given class name.static void
JSON.registerConvertor
(Class forClass, JSON.Convertor convertor) Register aJSON.Convertor
for a class or interface.