• Public
  • Public/Protected
  • All

User-defined serialization config for the client.


  • SerializationConfig



Compact serialization config.

customSerializers?: Serializer<CustomSerializable>[]

Defines Custom serializers.

dataSerializableFactories?: {}

Defines IdentifiedDataSerializableFactory serialization factories.

Type declaration

defaultNumberType?: string

Defines how the number type is represented on the cluster side. By default, it is serialized as double. This option can be one of the following case-insensitive strings.

  • byte(8-bit signed integer)
  • short(16-bit signed integer)
  • integer(32-bit signed integer)
  • float(single-precision 32-bit IEEE 754 floating point)
  • double(double-precision 64-bit IEEE 754 floating point)
  • long(64-bit integer from long.js library)


  • If you are using byte, for array of numbers you need to use Buffer instead of regular arrays.
  • If you are using long, you need to use Long objects for array of numbers or a single number.
globalSerializer?: Serializer<any>

Defines the global serializer. This serializer is registered as a fallback serializer to handle all other objects if a serializer cannot be located for them.

isBigEndian?: boolean

Defines if big-endian is used as the byte order for the serialization. By default, set to true.

jsonStringDeserializationPolicy?: JsonStringDeserializationPolicy

Defines JSON deserialization policy. By default, set to eager.

portableFactories?: {}

Defines Portable serialization factories.

Type declaration

portableVersion?: number

Defines portable version number. By default, set to 0.

Generated using TypeDoc