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
- IOException
void value(Object value) throws IOException
value
- IOException
void startObject() throws IOException
IOException
void endObject() throws IOException
IOException
void startArray() throws IOException
IOException
void endArray() throws IOException
IOException
Copyright © 2005–2019 Apache Software Foundation. All rights reserved.