类 JsonbHttpMessageConverter

所有已实现的接口:
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.

从以下版本开始:
4.0
作者:
Juergen Hoeller
另请参阅:
  • 字段详细资料

    • jsonb

      private Jsonb jsonb
  • 构造器详细资料

    • 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
  • 方法详细资料