类 JSONWriter


  • public class JSONWriter
    extends 
    已过时。
    JSON Writer.

    w.objectBegin().objectItem("name").valueString("qianlei").objectEnd() = {name:"qianlei"}.

    • 构造器详细资料

      • JSONWriter

        public JSONWriter​( writer)
        已过时。
      • JSONWriter

        public JSONWriter​( is,
                           charset)
                   throws 
        已过时。
        抛出:
    • 方法详细资料

      • objectBegin

        public JSONWriter objectBegin()
                               throws 
        已过时。
        object begin.
        返回:
        this.
        抛出:
      • objectEnd

        public JSONWriter objectEnd()
                             throws 
        已过时。
        object end.
        返回:
        this.
        抛出:
      • objectItem

        public  name)
                              throws 
        已过时。
        object item.
        参数:
        name - name.
        返回:
        this.
        抛出:
      • arrayBegin

        public JSONWriter arrayBegin()
                              throws 
        已过时。
        array begin.
        返回:
        this.
        抛出:
      • arrayEnd

        public JSONWriter arrayEnd()
                            throws 
        已过时。
        array end, return array value.
        返回:
        this.
        抛出:
      • valueNull

        public JSONWriter valueNull()
                             throws 
        已过时。
        value.
        返回:
        this.
        抛出:
      • valueString

        public  value)
                               throws 
        已过时。
        value.
        参数:
        value - value.
        返回:
        this.
        抛出:
      • valueBoolean

        public JSONWriter valueBoolean​(boolean value)
                                throws 
        已过时。
        value.
        参数:
        value - value.
        返回:
        this.
        抛出:
      • valueInt

        public JSONWriter valueInt​(int value)
                            throws 
        已过时。
        value.
        参数:
        value - value.
        返回:
        this.
        抛出:
      • valueLong

        public JSONWriter valueLong​(long value)
                             throws 
        已过时。
        value.
        参数:
        value - value.
        返回:
        this.
        抛出:
      • valueFloat

        public JSONWriter valueFloat​(float value)
                              throws 
        已过时。
        value.
        参数:
        value - value.
        返回:
        this.
        抛出:
      • valueDouble

        public JSONWriter valueDouble​(double value)
                               throws 
        已过时。
        value.
        参数:
        value - value.
        返回:
        this.
        抛出: