Class ModelSerializer
java.lang.Object
software.amazon.smithy.model.shapes.ModelSerializer
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.
-
Nested Class Summary
-
Method Summary
-
Method Details
-
serialize
-
builder
- Returns:
- Returns a builder used to create a
ModelSerializer
.
-