public class CodecBridgeObjectMapperJson extends Object implements CodecBridge
| Constructor and Description |
|---|
CodecBridgeObjectMapperJson() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
decodeList(Reader reader) |
List<Object> |
decodeList(String json) |
Map<String,Object> |
decodeMap(Reader reader) |
Map<String,Object> |
decodeMap(String json) |
String |
encode(Object object) |
void |
encode(Writer writer,
Object object) |
String |
mimetype() |
boolean |
support(String mimetype) |
public boolean support(String mimetype)
support in interface CodecBridgepublic String mimetype()
mimetype in interface CodecBridgepublic Map<String,Object> decodeMap(Reader reader) throws IOException
decodeMap in interface CodecBridgeIOExceptionpublic Map<String,Object> decodeMap(String json) throws IOException
decodeMap in interface CodecBridgeIOExceptionpublic List<Object> decodeList(Reader reader) throws IOException
decodeList in interface CodecBridgeIOExceptionpublic List<Object> decodeList(String json) throws IOException
decodeList in interface CodecBridgeIOExceptionpublic String encode(Object object)
encode in interface CodecBridgepublic void encode(Writer writer, Object object) throws IOException
encode in interface CodecBridgeIOExceptionCopyright © 2019 Cesar Martinez. All rights reserved.