Class JacksonYamlHttpMessageConverter

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

public class JacksonYamlHttpMessageConverter extends AbstractJacksonHttpMessageConverter
Implementation of HttpMessageConverter that can read and write the YAML data format using the dedicated Jackson 3.x extension.

By default, this converter supports the MediaType.APPLICATION_YAML_VALUE media type. This can be overridden by setting the supportedMediaTypes property.

The default constructor loads JacksonModules found by MapperBuilder.findModules(ClassLoader).

Since:
7.0
Author:
Sebastien Deleuze
  • Constructor Details