# Deprecated API

## Contents

- Deprecated Classes
- Deprecated Methods
- Deprecated Constructors

Deprecated Classes
Class and Description
org.yaml.snakeyaml.Dumper Dumper's functionality was moved to Yaml
org.yaml.snakeyaml.JavaBeanDumper use Yaml.dumpAs(data, Tag.MAP) instead
org.yaml.snakeyaml.JavaBeanLoader use Yaml.loadAs() methods instead
org.yaml.snakeyaml.Loader Loader's functionality was moved to Yaml
org.yaml.snakeyaml.LoaderOptions

Deprecated Methods
Method and Description
org.yaml.snakeyaml.Yaml.addImplicitResolver(String, Pattern, String) use Tag instead of String
org.yaml.snakeyaml.DumperOptions.calculateScalarStyle(ScalarAnalysis, DumperOptions.ScalarStyle) it was implemented as a quick fix for issue 29
org.yaml.snakeyaml.DumperOptions.getExplicitRoot() do not use explicit root Tag
org.yaml.snakeyaml.DumperOptions.setExplicitRoot(String) use Tag instead of String
org.yaml.snakeyaml.DumperOptions.setExplicitRoot(Tag) do not use explicit root Tag

Deprecated Constructors
Constructor and Description
org.yaml.snakeyaml.resolver.Resolver(boolean) override addImplicitResolvers instead
org.yaml.snakeyaml.Yaml(BaseConstructor, LoaderOptions, Representer, DumperOptions, Resolver)
org.yaml.snakeyaml.Yaml(Loader) use with Constructor instead of Loader
org.yaml.snakeyaml.Yaml(Loader, Dumper) use with Constructor instead of Loader
org.yaml.snakeyaml.Yaml(Loader, Dumper, Resolver) use with Constructor instead of Loader
org.yaml.snakeyaml.Yaml(LoaderOptions)