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.

Juergen Hoeller
See Also:
  • Constructor Details

    • JsonbHttpMessageConverter

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

      public JsonbHttpMessageConverter(JsonbConfig config)
      Construct a new JsonbHttpMessageConverter with the given configuration.
      config - the JsonbConfig for the underlying delegate
    • JsonbHttpMessageConverter

      public JsonbHttpMessageConverter(Jsonb jsonb)
      Construct a new JsonbHttpMessageConverter with the given delegate.
      jsonb - the Jsonb instance to use
  • Method Details