Creates a YAML reader over a string payload that shares the current reader's reference anchor state.
public YamlReader CreateReader(string yaml)
The YAML payload.
yaml.This is intended for advanced scenarios such as polymorphic deserialization that buffers a node and needs to re-parse it while preserving anchors and aliases.