JSONStringer
instead.@Deprecated public class JSONWriter extends Object
Modifier and Type | Field and Description |
---|---|
protected char |
mode
Deprecated.
|
protected Writer |
writer
Deprecated.
|
Constructor and Description |
---|
JSONWriter()
Deprecated.
|
JSONWriter(Writer w)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
JSONWriter |
array()
Deprecated.
|
JSONWriter |
endArray()
Deprecated.
|
JSONWriter |
endObject()
Deprecated.
|
JSONWriter |
key(String string)
Deprecated.
|
JSONWriter |
object()
Deprecated.
|
JSONWriter |
value(boolean b)
Deprecated.
|
JSONWriter |
value(double d)
Deprecated.
|
JSONWriter |
value(long l)
Deprecated.
|
JSONWriter |
value(Object object)
Deprecated.
|
protected char mode
protected Writer writer
public JSONWriter()
public JSONWriter(Writer w)
public JSONWriter array() throws JSONException
JSONException
public JSONWriter endArray() throws JSONException
JSONException
public JSONWriter endObject() throws JSONException
JSONException
public JSONWriter key(String string) throws JSONException
JSONException
public JSONWriter object() throws JSONException
JSONException
public JSONWriter value(boolean b) throws JSONException
JSONException
public JSONWriter value(double d) throws JSONException
JSONException
public JSONWriter value(long l) throws JSONException
JSONException
public JSONWriter value(Object object) throws JSONException
JSONException
Copyright © 2006–2019 Apache Software Foundation. All rights reserved.