Class JsonNodeAnnotations.Formatter

  • Enclosing class:
    JsonNodeAnnotations

    public static class JsonNodeAnnotations.Formatter
    extends java.lang.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 java.lang.String format​(java.util.Map<JsonNodePath,​java.util.List<JsonNodeAnnotation>> annotations)
      Formats the annotations.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Formatter

        public Formatter()
    • Method Detail

      • format

        public static java.lang.String format​(java.util.Map<JsonNodePath,​java.util.List<JsonNodeAnnotation>> annotations)
        Formats the annotations.
        Parameters:
        annotations - the annotations
        Returns:
        the formatted JSON