public interface JsonStreamTarget extends Closeable, Flushable
| Modifier and Type | Method and Description |
|---|---|
void |
endArray()
End array.
|
void |
endObject()
End object.
|
void |
name(String name)
Write name.
|
void |
startArray()
Start array.
|
void |
startObject()
Start object
|
void |
value(Object value)
Write value.
|
void name(String name) throws IOException
name - IOExceptionvoid value(Object value) throws IOException
value - IOExceptionvoid startObject()
throws IOException
IOExceptionvoid endObject()
throws IOException
IOExceptionvoid startArray()
throws IOException
IOExceptionvoid endArray()
throws IOException
IOExceptionCopyright © 2005–2019 Apache Software Foundation. All rights reserved.