Package com.networknt.schema.annotation
Class JsonNodeAnnotations.Formatter
java.lang.Object
com.networknt.schema.annotation.JsonNodeAnnotations.Formatter
- Enclosing class:
JsonNodeAnnotations
Formatter for pretty printing the annotations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
format
(Map<JsonNodePath, List<JsonNodeAnnotation>> annotations) Formats the annotations.
-
Constructor Details
-
Formatter
public Formatter()
-
-
Method Details
-
format
Formats the annotations.- Parameters:
annotations
- the annotations- Returns:
- the formatted JSON
-