Class JsonValueReader<T>
- java.lang.Object
-
- java.io.Reader
-
- org.apache.johnzon.jsonb.extension.JsonValueReader<T>
-
-
Field Summary
Fields Modifier and Type Field Description private ByteArrayInputStream
fallbackDelegate
private jakarta.json.JsonStructure
input
private T
result
-
Constructor Summary
Constructors Constructor Description JsonValueReader(jakarta.json.JsonStructure input)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
close()
jakarta.json.JsonStructure
get()
jakarta.json.JsonStructure
getInput()
Deprecated.T
getResult()
Deprecated.int
read(char[] cbuf, int off, int len)
void
setResult(T result)
Deprecated.-
Methods inherited from class java.io.Reader
mark, markSupported, nullReader, read, read, read, ready, reset, skip, transferTo
-
-
-
-
Field Detail
-
input
private final jakarta.json.JsonStructure input
-
fallbackDelegate
private ByteArrayInputStream fallbackDelegate
-
result
private T result
-
-
Method Detail
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classReader
- Throws:
IOException
-
getInput
@Deprecated public jakarta.json.JsonStructure getInput()
Deprecated.
-
getResult
@Deprecated public T getResult()
Deprecated.
-
setResult
@Deprecated public void setResult(T result)
Deprecated.
-
-