public class LambdaJsonBinder extends Object implements LambdaDataBinder
| Constructor and Description |
|---|
LambdaJsonBinder()
Constructs a Lambda Json binder.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
deserialize(byte[] content,
Class<T> clazz)
Converts an encoded byte array into a POJO.
|
byte[] |
serialize(Object object)
Serializes an object into encoded byte array.
|
public <T> T deserialize(byte[] content,
Class<T> clazz)
LambdaDataBinderdeserialize in interface LambdaDataBindercontent - an encoded content in bytesclazz - class to be deserialized intopublic byte[] serialize(Object object)
LambdaDataBinderserialize in interface LambdaDataBinderobject - object to be serializedCopyright © 2015. All rights reserved.