Uses of Class
jakarta.json.bind.JsonbException
Packages that use JsonbException
Package
Description
Provides the JSON Binding API, which enables binding Java objects to and
from JSON documents.
-
Uses of JsonbException in jakarta.json.bind
Methods in jakarta.json.bind that throw JsonbExceptionModifier and TypeMethodDescription<T> TJsonb.fromJson(InputStream stream, Class<T> type) Reads JSON data from the specifiedInputStreamand returns the resulting content tree.<T> TJsonb.fromJson(InputStream stream, Type runtimeType) Reads JSON data from the specifiedInputStreamand returns the resulting content tree.<T> TReads JSON data from the specifiedreaderand returns the resulting content tree.<T> TReads JSON data from the specifiedreaderand returns the resulting content tree.<T> TReads JSON data from the specified string and returns the resulting content tree.<T> TReads JSON data from the specified string and returns the resulting content tree.Writes the Java object tree with the given root object,object, to aStringinstance as JSON.voidJsonb.toJson(Object object, OutputStream stream) Writes the object content tree to the givenstream.voidWrites the object content tree into aWritercharacter stream.Writes the Java object tree with the given root object,object, to aStringinstance as JSON.voidJsonb.toJson(Object object, Type runtimeType, OutputStream stream) Writes the object content tree to the givenstream.voidWrites the object content tree into aWritercharacter stream.