public class JsonSerializer extends Object implements IOutputSerializer, Serializable
| Constructor and Description | 
|---|
| JsonSerializer(List<String> fieldNames) | 
| Modifier and Type | Method and Description | 
|---|---|
| ByteBuffer | write(List<Object> data,
     ByteBuffer buffer)Serialize the data to a ByteBuffer. | 
public ByteBuffer write(List<Object> data, ByteBuffer buffer)
IOutputSerializerSerialize the data to a ByteBuffer. The caller can pass in a ByteBuffer so that the serializer can reuse the memory.
write in interface IOutputSerializerCopyright © 2022 The Apache Software Foundation. All Rights Reserved.