java.lang.Object
java.io.Reader
org.apache.johnzon.jsonb.extension.JsonValueReader<T>
- All Implemented Interfaces:
Closeable,AutoCloseable,Readable,Supplier<jakarta.json.JsonStructure>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ByteArrayInputStreamprivate final jakarta.json.JsonStructureprivate T -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.Reader
mark, markSupported, nullReader, read, read, read, ready, reset, skip, transferTo
-
Field Details
-
input
private final jakarta.json.JsonStructure input -
fallbackDelegate
-
result
-
-
Constructor Details
-
JsonValueReader
public JsonValueReader(jakarta.json.JsonStructure input)
-
-
Method Details
-
read
public int read(char[] cbuf, int off, int len) -
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classReader- Throws:
IOException
-
get
public jakarta.json.JsonStructure get() -
getInput
Deprecated. -
getResult
Deprecated. -
setResult
Deprecated.
-