| Package | Description |
|---|---|
| com.fasterxml.jackson.dataformat.yaml |
Main abstractions for Jackson YAML format backend, including
streaming reader ((
YAMLParser),
writer (YAMLGenerator)
(and factory to create them, YAMLFactory)
as well as mapper (YAMLMapper). |
| Modifier and Type | Method and Description |
|---|---|
static YAMLFactoryBuilder |
YAMLFactory.builder()
Main factory method to use for constructing
YAMLFactory instances with
different configuration. |
YAMLFactoryBuilder |
YAMLFactoryBuilder.configure(YAMLGenerator.Feature f,
boolean state) |
YAMLFactoryBuilder |
YAMLFactoryBuilder.disable(YAMLGenerator.Feature f) |
YAMLFactoryBuilder |
YAMLFactoryBuilder.disable(YAMLGenerator.Feature first,
YAMLGenerator.Feature... other) |
YAMLFactoryBuilder |
YAMLFactoryBuilder.dumperOptions(org.yaml.snakeyaml.DumperOptions dumperOptions)
Configuration for underlying generator to follow, if specified;
left as
null for backwards compatibility (which means
the dumper options are derived based on YAMLGenerator.Features). |
YAMLFactoryBuilder |
YAMLFactoryBuilder.enable(YAMLGenerator.Feature f) |
YAMLFactoryBuilder |
YAMLFactoryBuilder.enable(YAMLGenerator.Feature first,
YAMLGenerator.Feature... other) |
YAMLFactoryBuilder |
YAMLFactoryBuilder.loaderOptions(org.yaml.snakeyaml.LoaderOptions loaderOptions)
Configuration for underlying parser to follow, if specified;
left as
null for backwards compatibility (which means
whatever default settings SnakeYAML deems best). |
YAMLFactoryBuilder |
YAMLFactory.rebuild() |
YAMLFactoryBuilder |
YAMLFactoryBuilder.stringQuotingChecker(StringQuotingChecker sqc)
Method for specifying either custom
StringQuotingChecker
to use instead of default one, or, that default one (see
StringQuotingChecker.Default.instance()) is to be used
(when passing null |
YAMLFactoryBuilder |
YAMLFactoryBuilder.yamlVersionToWrite(org.yaml.snakeyaml.DumperOptions.Version v)
Method for specifying YAML version for generator to use (to produce
compliant output); if
null passed, will let SnakeYAML
use its default settings. |
| Constructor and Description |
|---|
YAMLFactory(YAMLFactoryBuilder b)
Constructors used by
YAMLFactoryBuilder for instantiation. |
Copyright © 2022 FasterXML. All rights reserved.