Uses of Class
jakarta.json.bind.JsonbException
Package
Description
Provides JSON Binding API, which enables binding Java objects from and to
JSON documents.
-
Uses of JsonbException in jakarta.json.bind
Modifier and TypeMethodDescription<T> T
Jsonb.fromJson
(InputStream stream, Class<T> type) Reads in a JSON data from the specified InputStream and return the resulting content tree.<T> T
Jsonb.fromJson
(InputStream stream, Type runtimeType) Reads in a JSON data from the specified InputStream and return the resulting content tree.<T> T
Reads in a JSON data from the specified Reader and return the resulting content tree.<T> T
Reads in a JSON data from the specified Reader and return the resulting content tree.<T> T
Reads in a JSON data from the specified string and return the resulting content tree.<T> T
Reads in a JSON data from the specified string and return the resulting content tree.Writes the Java object tree with root objectobject
to a String instance as JSON.void
Jsonb.toJson
(Object object, OutputStream stream) Writes the object content tree into output stream.void
Writes the object content tree into a Writer character stream.Writes the Java object tree with root objectobject
to a String instance as JSON.void
Jsonb.toJson
(Object object, Type runtimeType, OutputStream stream) Writes the object content tree into output stream.void
Writes the object content tree into a Writer character stream.