public class JSONWriter extends Object
| 构造器和说明 |
|---|
JSONWriter(Writer w) |
| 限定符和类型 | 方法和说明 |
|---|---|
JSONWriter |
array() |
JSONWriter |
endArray() |
JSONWriter |
endObject() |
JSONWriter |
key(String string) |
JSONWriter |
object() |
JSONWriter |
value(boolean b) |
JSONWriter |
value(double d) |
JSONWriter |
value(long l) |
JSONWriter |
value(Object object) |
protected char mode
protected Writer writer
public JSONWriter(Writer w)
public JSONWriter array() throws JSONException
public JSONWriter endArray() throws JSONException
public JSONWriter endObject() throws JSONException
public JSONWriter key(String string) throws JSONException
public JSONWriter object() throws JSONException
public JSONWriter value(boolean b) throws JSONException
public JSONWriter value(double d) throws JSONException
public JSONWriter value(long l) throws JSONException
public JSONWriter value(Object object) throws JSONException
Copyright © 2015. All rights reserved.