Interface JSON.Generator

  • All Known Implementing Classes:
    Enclosing class:

    public static interface JSON.Generator

    JSON Generator.

    Implemented by classes that can add their own JSON representation directly to a StringBuffer. This is useful for object instances that are frequently converted and wish to avoid multiple conversions, as the result of the generation may be cached.

    • Method Detail

      • addJSON

        void addJSON​(java.lang.Appendable buffer)