Uses of Class
jakarta.json.bind.JsonbException

Packages that use JsonbException
Package
Description
Provides JSON Binding API, which enables binding Java objects from and to 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 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
    Jsonb.fromJson(Reader reader, Class<T> type)
    Reads in a JSON data from the specified Reader and return the resulting content tree.
    <T> T
    Jsonb.fromJson(Reader reader, Type runtimeType)
    Reads in a JSON data from the specified Reader and return the resulting content tree.
    <T> T
    Jsonb.fromJson(String str, Class<T> type)
    Reads in a JSON data from the specified string and return the resulting content tree.
    <T> T
    Jsonb.fromJson(String str, Type runtimeType)
    Reads in a JSON data from the specified string and return the resulting content tree.
    Jsonb.toJson(Object object)
    Writes the Java object tree with root object object to a String instance as JSON.
    void
    Jsonb.toJson(Object object, OutputStream stream)
    Writes the object content tree into output 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 root object object to a String instance as JSON.
    void
    Jsonb.toJson(Object object, Type runtimeType, OutputStream stream)
    Writes the object content tree into output stream.
    void
    Jsonb.toJson(Object object, Type runtimeType, Writer writer)
    Writes the object content tree into a Writer character stream.