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