Interface JsonConverter
- All Known Implementing Classes:
DefaultJsonConverter,DtListDeltaJsonConverter,DtListJsonConverter,DtObjectJsonConverter,ImplicitJsonConverter,PrimitiveJsonConverter,VFileJsonConverter
public interface JsonConverter
Converter source object into value object and put it into RouteContext.
- Author:
- npiedeloup
-
Method Summary
Modifier and TypeMethodDescriptionbooleanClass<?>[]voidpopulateWebServiceCallContext(Object source, WebServiceParam webServiceParam, WebServiceCallContext routeContext) Converter source object into value object and put it into RouteContext.
-
Method Details
-
canHandle
- Parameters:
paramClass- Class to test- Returns:
- If this converter can output this type of data.
-
populateWebServiceCallContext
void populateWebServiceCallContext(Object source, WebServiceParam webServiceParam, WebServiceCallContext routeContext) Converter source object into value object and put it into RouteContext.- Parameters:
source- SourcewebServiceParam- ParamrouteContext- RouteContext
-
getSupportedInputs
Class<?>[] getSupportedInputs()- Returns:
- Input types
-