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.

    • Method Summary

      Modifier and Type Method Description
      static ModelSerializer.Builder builder()  
      ObjectNode serialize​(Model model)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait