Package com.networknt.schema.annotation
Class Annotations.Formatter
java.lang.Object
com.networknt.schema.annotation.Annotations.Formatter
- Enclosing class:
Annotations
Formatter for pretty printing the annotations.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Formatter
public Formatter()
-
-
Method Details
-
format
Formats the annotations.- Parameters:
annotations- the annotations- Returns:
- the formatted JSON
-