Serialization Module
Provides JSON serialization and deserialization functionality for FCQRS.
Functions and values
Function or value | Description | ||
Full Usage:
decode json
Parameters:
JsonElement
-
The JSON element to deserialize.
Returns: 'T
The deserialized object.
|
|
||
Full Usage:
decodeFromBytes json
Parameters:
byte array
-
The byte array containing JSON data.
Returns: 'T
The deserialized object.
|
|
||
Full Usage:
encode obj
Parameters:
'a
-
The object to serialize.
Returns: string
A JSON string representation of the object.
|
|||
Full Usage:
encodeToBytes obj
Parameters:
'a
-
The object to serialize.
Returns: byte[]
A byte array containing the JSON representation of the object.
|
|||
|
|