|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JsonStreamSource
JSON stream source.
| Nested Class Summary | |
|---|---|
static class |
JsonStreamSource.Value
Represents a simple value. |
| Field Summary | |
|---|---|
static JsonStreamSource.Value |
FALSE
"false" value |
static JsonStreamSource.Value |
NULL
"null" value |
static JsonStreamSource.Value |
TRUE
"true" value |
| Method Summary | |
|---|---|
void |
endArray()
Consume JsonStreamToken.END_ARRAY token. |
void |
endObject()
Consume JsonStreamToken.END_OBJECT token. |
String |
name()
Consume JsonStreamToken.NAME token. |
JsonStreamToken |
peek()
Peek next token. |
void |
startArray()
Consume JsonStreamToken.START_ARRAY token. |
void |
startObject()
Consume JsonStreamToken.START_OBJECT token. |
JsonStreamSource.Value |
value()
Consume JsonStreamToken.VALUE token. |
| Methods inherited from interface java.io.Closeable |
|---|
close |
| Methods inherited from interface javax.xml.stream.Location |
|---|
getCharacterOffset, getColumnNumber, getLineNumber, getPublicId, getSystemId |
| Field Detail |
|---|
static final JsonStreamSource.Value TRUE
static final JsonStreamSource.Value FALSE
static final JsonStreamSource.Value NULL
| Method Detail |
|---|
String name()
throws IOException
JsonStreamToken.NAME token.
IOException
JsonStreamSource.Value value()
throws IOException
JsonStreamToken.VALUE token.
IOException
void startObject()
throws IOException
JsonStreamToken.START_OBJECT token.
IOException
void endObject()
throws IOException
JsonStreamToken.END_OBJECT token.
IOException
void startArray()
throws IOException
JsonStreamToken.START_ARRAY token.
IOException
void endArray()
throws IOException
JsonStreamToken.END_ARRAY token.
IOException
JsonStreamToken peek()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||