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
StreamSerializer
out
- 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
StreamSerializer
in
- ObjectDataInput stream that object will read fromIOException
- in case of failure to readpublic int getTypeId()
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.