Class Annotations.Formatter

java.lang.Object
com.networknt.schema.annotation.Annotations.Formatter
Enclosing class:
Annotations

public static class Annotations.Formatter extends Object
Formatter for pretty printing the annotations.
  • Constructor Details

    • Formatter

      public Formatter()
  • Method Details

    • format

      public static String format(Map<NodePath,List<Annotation>> annotations)
      Formats the annotations.
      Parameters:
      annotations - the annotations
      Returns:
      the formatted JSON