Class GsonMessageConverter

All Implemented Interfaces:
MessageConverter, SmartMessageConverter

public class GsonMessageConverter extends AbstractJsonMessageConverter
Implementation of MessageConverter that can read and write JSON using Google Gson.
Since:
5.3
Author:
Juergen Hoeller
See Also:
  • Constructor Details

    • GsonMessageConverter

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

      public GsonMessageConverter(com.google.gson.Gson gson)
      Construct a new GsonMessageConverter with the given delegate.
      Parameters:
      gson - the Gson instance to use
  • Method Details