Package javax.json
Interface JsonWriter
-
- All Superinterfaces:
AutoCloseable,Closeable
public interface JsonWriter extends Closeable
Write a JsonObject, JsonArray JsonStructure or more generic a JsonValue to the output.- See Also:
JsonWriterFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidclose()voidwrite(JsonStructure value)default voidwrite(JsonValue value)voidwriteArray(JsonArray array)voidwriteObject(JsonObject object)
-
-
-
Method Detail
-
writeArray
void writeArray(JsonArray array)
-
writeObject
void writeObject(JsonObject object)
-
write
void write(JsonStructure value)
-
write
default void write(JsonValue value)
-
close
void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
-