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 void
close()
void
write(JsonStructure value)
default void
write(JsonValue value)
void
writeArray(JsonArray array)
void
writeObject(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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
-