Class YamlDecoder

All Implemented Interfaces:
Decoder, AutoCloseable

public final class YamlDecoder extends AbstractStreamDecoder
YAML implementation of the Decoder interface.

The decoder reads exactly one YAML document. The root node may be a mapping, a sequence or a scalar. Anchors, aliases and merge keys are resolved while reading, quoted scalars are always strings, and plain scalars are typed with the YAML 1.2 core schema. Additional documents in the input are rejected.

Since:
3.2.0