Skip to content

Custom serialization

joshua-roberts edited this page Aug 28, 2024 · 3 revisions

To implement a custom policy serialization format, implement the PolicySerializer and PolicyDeserializer interfaces and provide the implementations to the below methods of a PolicyPoint.

String serialize(PolicySerializer serializer) throws PMException;

void deserialize(UserContext author, String input, PolicyDeserializer policyDeserializer) throws PMException;