Class TidyJsonItemWriter

    • Constructor Summary

      Constructors 
      Constructor Description
      TidyJsonItemWriter​(java.util.Set<java.lang.String> propertyNamesToIgnore)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dump​(NodeIterator it, java.io.Writer out)
      Dump all Nodes of given NodeIterator in JSON
      void dump​(NodeIterator it, JSONWriter w)
      Dump all Nodes of given NodeIterator in JSON
      void dump​(Node node, java.io.Writer w, int maxRecursionLevels)
      Dump given node in JSON, optionally recursing into its child nodes
      void dump​(Node node, JSONWriter w, int maxRecursionLevels)
      Dump given node in JSON, optionally recursing into its child nodes
      void dump​(Property p, java.io.Writer w)
      Dump given property in JSON
      void dump​(Property p, JSONWriter w)
      Dump the property in JSON
      boolean isTidy()
      Checks if the output is nicely formatted.
      void setTidy​(boolean tidy)
      Controls if output should be nicely formatted.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait