public class TGIBMJsonWriter extends java.lang.Object implements TGJsonWriter
Constructor and Description |
---|
TGIBMJsonWriter(com.ibm.json.java.JSONArray root) |
TGIBMJsonWriter(com.ibm.json.java.JSONObject root) |
Modifier and Type | Method and Description |
---|---|
TGJsonWriter |
beginArray() |
TGJsonWriter |
beginObject() |
TGJsonWriter |
endArray() |
TGJsonWriter |
endObject() |
TGJsonWriter |
name(java.lang.String name) |
TGJsonWriter |
value(boolean value) |
TGJsonWriter |
value(double value) |
TGJsonWriter |
value(long value) |
TGJsonWriter |
value(java.lang.Number value) |
TGJsonWriter |
value(java.lang.String value) |
public TGIBMJsonWriter(com.ibm.json.java.JSONObject root)
public TGIBMJsonWriter(com.ibm.json.java.JSONArray root)
public TGJsonWriter beginArray() throws java.io.IOException
beginArray
in interface TGJsonWriter
java.io.IOException
public TGJsonWriter beginObject() throws java.io.IOException
beginObject
in interface TGJsonWriter
java.io.IOException
public TGJsonWriter endArray() throws java.io.IOException
endArray
in interface TGJsonWriter
java.io.IOException
public TGJsonWriter endObject() throws java.io.IOException
endObject
in interface TGJsonWriter
java.io.IOException
public TGJsonWriter name(java.lang.String name) throws java.io.IOException
name
in interface TGJsonWriter
java.io.IOException
public TGJsonWriter value(boolean value) throws java.io.IOException
value
in interface TGJsonWriter
java.io.IOException
public TGJsonWriter value(double value) throws java.io.IOException
value
in interface TGJsonWriter
java.io.IOException
public TGJsonWriter value(long value) throws java.io.IOException
value
in interface TGJsonWriter
java.io.IOException
public TGJsonWriter value(java.lang.Number value) throws java.io.IOException
value
in interface TGJsonWriter
java.io.IOException
public TGJsonWriter value(java.lang.String value) throws java.io.IOException
value
in interface TGJsonWriter
java.io.IOException