This writer creates a JsonElement.
| com.google.gson.internal.bind.JsonTreeWriter.JsonTreeWriter |
( |
| ) |
|
|
inline |
| JsonWriter com.google.gson.internal.bind.JsonTreeWriter.beginArray |
( |
| ) |
throws IOException |
|
inline |
| JsonWriter com.google.gson.internal.bind.JsonTreeWriter.beginObject |
( |
| ) |
throws IOException |
|
inline |
| void com.google.gson.internal.bind.JsonTreeWriter.close |
( |
| ) |
throws IOException |
|
inline |
| JsonWriter com.google.gson.internal.bind.JsonTreeWriter.endArray |
( |
| ) |
throws IOException |
|
inline |
| JsonWriter com.google.gson.internal.bind.JsonTreeWriter.endObject |
( |
| ) |
throws IOException |
|
inline |
| void com.google.gson.internal.bind.JsonTreeWriter.flush |
( |
| ) |
throws IOException |
|
inline |
| JsonElement com.google.gson.internal.bind.JsonTreeWriter.get |
( |
| ) |
|
|
inline |
Returns the top level object produced by this writer.
| JsonWriter com.google.gson.internal.bind.JsonTreeWriter.name |
( |
String |
name | ) |
throws IOException |
|
inline |
| JsonWriter com.google.gson.internal.bind.JsonTreeWriter.nullValue |
( |
| ) |
throws IOException |
|
inline |
| JsonElement com.google.gson.internal.bind.JsonTreeWriter.peek |
( |
| ) |
|
|
inlineprivate |
| void com.google.gson.internal.bind.JsonTreeWriter.put |
( |
JsonElement |
value | ) |
|
|
inlineprivate |
| JsonWriter com.google.gson.internal.bind.JsonTreeWriter.value |
( |
String |
value | ) |
throws IOException |
|
inline |
| JsonWriter com.google.gson.internal.bind.JsonTreeWriter.value |
( |
boolean |
value | ) |
throws IOException |
|
inline |
| JsonWriter com.google.gson.internal.bind.JsonTreeWriter.value |
( |
double |
value | ) |
throws IOException |
|
inline |
| JsonWriter com.google.gson.internal.bind.JsonTreeWriter.value |
( |
long |
value | ) |
throws IOException |
|
inline |
| JsonWriter com.google.gson.internal.bind.JsonTreeWriter.value |
( |
Number |
value | ) |
throws IOException |
|
inline |
| String com.google.gson.internal.bind.JsonTreeWriter.pendingName |
|
private |
The name for the next JSON object value. If non-null, the top of the stack is a JsonObject.
the JSON element constructed by this writer.
Added to the top of the stack when this writer is closed to cause following ops to fail.
The JsonElements and JsonArrays under modification, outermost to innermost.
| final Writer com.google.gson.internal.bind.JsonTreeWriter.UNWRITABLE_WRITER |
|
staticprivate |
初始值:= new Writer() {
@Override public void write(char[] buffer, int offset, int counter) {
throw new AssertionError();
}
@Override
public void flush() throws IOException {
throw new AssertionError();
}
@Override
public void close() throws IOException {
throw new AssertionError();
}
}
该类的文档由以下文件生成: