Class JsonNodeAnnotations
java.lang.Object
com.networknt.schema.annotation.JsonNodeAnnotations
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFormatter for pretty printing the annotations. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<JsonNodePath, List<JsonNodeAnnotation>> Stores the annotations. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasMap()Gets the annotations.voidput(JsonNodeAnnotation annotation) Puts the annotation.toString()
-
Field Details
-
values
Stores the annotations.instancePath to annotation
-
-
Constructor Details
-
JsonNodeAnnotations
public JsonNodeAnnotations()
-
-
Method Details
-
asMap
Gets the annotations.instancePath to annotation
- Returns:
- the annotations
-
put
Puts the annotation.- Parameters:
annotation- the annotation
-
toString
-