Class: JsonSerializer

JsonSerializer

new JsonSerializer()

JSON serializer for Eneter.
This serializer is used by DuplexTypedMessageSender and MultiTypedMessageSender by default.
Source:

Methods

deserialize(dataToDeserialize)

Deserializes data.
Parameters:
Name Type Description
dataToDeserialize String data to deserialize.
Source:
Returns:
instance of deserialized data.

serialize(dataToSerialize)

Serializes data.
Parameters:
Name Type Description
dataToSerialize data to serialize.
Source:
Returns:
data serialized into String.