Class JsonbHttpMessageConverter

All Implemented Interfaces:
GenericHttpMessageConverter<Object>, HttpMessageConverter<Object>

public class JsonbHttpMessageConverter extends AbstractJsonHttpMessageConverter
Implementation of HttpMessageConverter that can read and write JsON using the JsON Binding API.

This converter can be used to bind to typed beans or untyped HashMaps. By default, it supports application/json and application/*+json with UTF-8 character set.

since:
5.0
Author:
Juergen Hoeller
see Also:
  • Constructor Details

    • JsonbHttpMessageConverter

      public&nbsp;JsonbHttpMessageConverter()
      Construct a new JsonbHttpMessageConverter with default configuration.
    • JsonbHttpMessageConverter

      public&nbsp;JsonbHttpMessageConverter(jakarta.json.bind.JsonbConfig&nbsp;config)
      Construct a new JsonbHttpMessageConverter with the given configuration.
      Parameters:
      config - the JsonbConfig for the underlying delegate
    • JsonbHttpMessageConverter

      public&nbsp;JsonbHttpMessageConverter(jakarta.json.bind.Jsonb&nbsp;jsonb)
      Construct a new JsonbHttpMessageConverter with the given delegate.
      Parameters:
      jsonb - the Jsonb instance to use
  • Method Details