List of usage examples for com.fasterxml.jackson.dataformat.yaml YAMLFactory enable
public YAMLFactory enable(YAMLGenerator.Feature f)
From source file:org.smartdeveloperhub.vocabulary.config.ConfigurationFactory.java
private static ObjectMapper writingMapper() { final YAMLFactory factory = yamlFactory(); factory.enable(JsonGenerator.Feature.ESCAPE_NON_ASCII); final ObjectMapper mapper = new ObjectMapper(factory); mapper.enable(SerializationFeature.INDENT_OUTPUT); return mapper; }