Class ModelSerializer


  • public final class ModelSerializer
    extends java.lang.Object
    Serializes a Model to an ObjectNode.

    The serialized value sorts all map key-value pairs so that they contain a consistent key ordering, reducing noise in diffs based on serialized model.

    After serializing to an ObjectNode, the node can then be serialized to formats like JSON, YAML, Ion, etc.