Class JsonItemWriter

  • Direct Known Subclasses:
    TidyJsonItemWriter

    @Deprecated
    public class JsonItemWriter
    extends java.lang.Object
    Deprecated.
    Dumps JCR Items as JSON data. The dump methods are threadsafe.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.Locale DATE_FORMAT_LOCALE
      Deprecated.
      Used to format date values
      static java.lang.String ECMA_DATE_FORMAT
      Deprecated.
      Used to format date values
    • Constructor Summary

      Constructors 
      Constructor Description
      JsonItemWriter​(java.util.Set<java.lang.String> propertyNamesToIgnore)
      Deprecated.
      Create a JsonItemWriter
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void dump​(NodeIterator it, java.io.Writer out)
      Deprecated.
      Dump all Nodes of given NodeIterator in JSON
      void dump​(Node node, java.io.Writer w, int maxRecursionLevels)
      Deprecated.
      Dump given node in JSON, optionally recursing into its child nodes
      void dump​(Node node, java.io.Writer w, int maxRecursionLevels, boolean tidy)
      Deprecated.
      Dump given node in JSON, optionally recursing into its child nodes
      void dump​(Property p, java.io.Writer w)
      Deprecated.
      Dump given property in JSON
      static java.lang.String format​(java.util.Calendar date)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

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