Object Serializers and Deserializers
Last updated
Last updated
To handle complex Candid types RECORD and VARIANT IC4J use custom ObjectSerializer and ObjectDeserializer implementations.
If required, developers can design their own serializers and deserializers.
The IC4J library comes with several implementations of the most common scenarios (Java Pojo, JSON, XML, JDBC).
Use Pojo Serializer and Deserializer to handle plain Java objects.
Use JSON Jackson Serializer and Deserializer to handle Jackson JSON objects.
Use JSON Gson Serializer and Deserializer to handle Gson JSON objects.
Use XML Serializer and Deserializer to handle XML DOM objects.
Use JDBC Serializer to handle JDBC objects.