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 JsonbException
    Modifier and Type
    Method
    Description
    <T> T
    Jsonb.fromJson(InputStream stream, Class<T> type)
    Reads JSON data from the specified InputStream and returns the resulting content tree.
    <T> T
    Jsonb.fromJson(InputStream stream, Type runtimeType)
    Reads JSON data from the specified InputStream and returns the resulting content tree.
    <T> T
    Jsonb.fromJson(Reader reader, Class<T> type)
    Reads JSON data from the specified reader and returns the resulting content tree.
    <T> T
    Jsonb.fromJson(Reader reader, Type runtimeType)
    Reads JSON data from the specified reader and returns the resulting content tree.
    <T> T
    Jsonb.fromJson(String str, Class<T> type)
    Reads JSON data from the specified string and returns the resulting content tree.
    <T> T
    Jsonb.fromJson(String str, Type runtimeType)
    Reads JSON data from the specified string and returns the resulting content tree.
    Jsonb.toJson(Object object)
    Writes the Java object tree with the given root object, object, to a String instance as JSON.
    void
    Jsonb.toJson(Object object, OutputStream stream)
    Writes the object content tree to the given stream.
    void
    Jsonb.toJson(Object object, Writer writer)
    Writes the object content tree into a Writer character stream.
    Jsonb.toJson(Object object, Type runtimeType)
    Writes the Java object tree with the given root object, object, to a String instance as JSON.
    void
    Jsonb.toJson(Object object, Type runtimeType, OutputStream stream)
    Writes the object content tree to the given stream.
    void
    Jsonb.toJson(Object object, Type runtimeType, Writer writer)
    Writes the object content tree into a Writer character stream.