Package com.rabbitmq.tools.jsonrpc
Class DefaultJsonRpcMapper
- java.lang.Object
- 
- com.rabbitmq.tools.jsonrpc.DefaultJsonRpcMapper
 
- 
- All Implemented Interfaces:
- JsonRpcMapper
 
 public class DefaultJsonRpcMapper extends Object implements JsonRpcMapper Deprecated.useJacksonJsonRpcMapperinsteadSimpleJsonRpcMapperbased on homegrown JSON utilities. Handles integers, doubles, strings, booleans, and arrays of those types.For a more comprehensive set of features, use JacksonJsonRpcMapper.Will be removed in 6.0 - Since:
- 4.8.0
- See Also:
- JsonRpcMapper,- JacksonJsonRpcMapper
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface com.rabbitmq.tools.jsonrpc.JsonRpcMapperJsonRpcMapper.JsonRpcRequest, JsonRpcMapper.JsonRpcResponse
 
- 
 - 
Constructor SummaryConstructors Constructor Description DefaultJsonRpcMapper()Deprecated.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description JsonRpcMapper.JsonRpcRequestparse(String requestBody, ServiceDescription description)Deprecated.Parses a JSON RPC request.JsonRpcMapper.JsonRpcResponseparse(String responseBody, Class<?> expectedType)Deprecated.Parses a JSON RPC response.Stringwrite(Object input)Deprecated.Serialize an object into JSON.
 
- 
- 
- 
Method Detail- 
parsepublic JsonRpcMapper.JsonRpcRequest parse(String requestBody, ServiceDescription description) Deprecated.Description copied from interface:JsonRpcMapperParses a JSON RPC request. TheServiceDescriptioncan be used to look up the invoked procedure and learn about its signature.- Specified by:
- parsein interface- JsonRpcMapper
- Returns:
 
 - 
parsepublic JsonRpcMapper.JsonRpcResponse parse(String responseBody, Class<?> expectedType) Deprecated.Description copied from interface:JsonRpcMapperParses a JSON RPC response.- Specified by:
- parsein interface- JsonRpcMapper
- Returns:
 
 - 
writepublic String write(Object input) Deprecated.Description copied from interface:JsonRpcMapperSerialize an object into JSON.- Specified by:
- writein interface- JsonRpcMapper
- Returns:
 
 
- 
 
-