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