org.sr.common.transformer.json
Interface IJSTransformer
- All Superinterfaces:
- ITransformer<java.lang.Object>
- All Known Implementing Classes:
- AbstractJSTransformer, JSTransformer
public interface IJSTransformer
- extends ITransformer<java.lang.Object>
Java-JSON Object transformer interface. Implementations of this interface
transforms java objects to it's string representations which can be added to
a JSON object as an attribute. Usage:
...
IJSTransformer transformer = new JSTransformer();
...
JSONResponse ret = new JSONResponse(jsonReq.getRequestId(),transformer.toTargetType(javaResult));
...
- Author:
- Serhat Dirik
JSNULL_CLASS_IDENTIFIER
static final java.lang.String JSNULL_CLASS_IDENTIFIER
- See Also:
- Constant Field Values
JSNULL_VALUE
static final java.lang.String JSNULL_VALUE
- See Also:
- Constant Field Values
TIME_ATTRIBUTE
static final java.lang.String TIME_ATTRIBUTE
- See Also:
- Constant Field Values
TIMEZONE_ATTRIBUTE
static final java.lang.String TIMEZONE_ATTRIBUTE
- See Also:
- Constant Field Values
LIST_ATTRIBUTE
static final java.lang.String LIST_ATTRIBUTE
- See Also:
- Constant Field Values
ARRAY_CLASS
static final java.lang.String ARRAY_CLASS
- See Also:
- Constant Field Values
ARRAY_ATTRIBUTE
static final java.lang.String ARRAY_ATTRIBUTE
- See Also:
- Constant Field Values
MAP_ATTRIBUTE
static final java.lang.String MAP_ATTRIBUTE
- See Also:
- Constant Field Values
MAPKEY_ATTRIBUTE
static final java.lang.String MAPKEY_ATTRIBUTE
- See Also:
- Constant Field Values
MAPVALUE_ATTRIBUTE
static final java.lang.String MAPVALUE_ATTRIBUTE
- See Also:
- Constant Field Values
MAPITEM_PREFIX
static final java.lang.String MAPITEM_PREFIX
- See Also:
- Constant Field Values
SET_ATTRIBUTE
static final java.lang.String SET_ATTRIBUTE
- See Also:
- Constant Field Values