Package co.elastic.clients.json
Interface BufferingJsonGenerator
- All Superinterfaces:
AutoCloseable
,Closeable
,Flushable
,jakarta.json.stream.JsonGenerator
- All Known Implementing Classes:
JacksonJsonpGenerator.Buffering
public interface BufferingJsonGenerator
extends jakarta.json.stream.JsonGenerator
-
Field Summary
Fields inherited from interface jakarta.json.stream.JsonGenerator
PRETTY_PRINTING
-
Method Summary
Modifier and TypeMethodDescriptionvoid
copyValue
(jakarta.json.stream.JsonParser parser) Close this generator and return the buffered content.jakarta.json.stream.JsonParser
Close this generator and return the buffered content as a parser.Methods inherited from interface jakarta.json.stream.JsonGenerator
close, flush, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, writeEnd, writeKey, writeNull, writeNull, writeStartArray, writeStartArray, writeStartObject, writeStartObject
-
Method Details
-
getJsonData
JsonData getJsonData()Close this generator and return the buffered content. -
getParser
jakarta.json.stream.JsonParser getParser()Close this generator and return the buffered content as a parser. -
copyValue
void copyValue(jakarta.json.stream.JsonParser parser)
-