public static final class JavaDefaultSerializers.HazelcastJsonValueSerializer extends Object
| Constructor and Description |
|---|
HazelcastJsonValueSerializer() |
| Modifier and Type | Method and Description |
|---|---|
int |
getTypeId() |
HazelcastJsonValue |
read(ObjectDataInput in)
Reads object from objectDataInputStream
|
void |
write(ObjectDataOutput out,
HazelcastJsonValue object)
This method writes object to ObjectDataOutput
|
public void write(ObjectDataOutput out, HazelcastJsonValue object) throws IOException
StreamSerializerout - ObjectDataOutput stream that object will be written toobject - that will be written to outIOException - in case of failure to writepublic HazelcastJsonValue read(ObjectDataInput in) throws IOException
StreamSerializerin - ObjectDataInput stream that object will read fromIOException - in case of failure to readpublic int getTypeId()
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.