YamlMapAdapter
Adapter exposing a YamlMap as a RebuildableKpaStruct.
YAML maps may contain non-string (compound) keys; this adapter exposes only entries whose key is a YamlLiteral. Entries with compound keys remain reachable via the backing property.
com.commonsware.kpointer.adapter.AbstractKpaStructMap is not used here because YamlMap keys are YamlElements rather than Strings, so key lookup and enumeration must be implemented directly.
Parameters
backing
The underlying YamlMap.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the YamlMap backing this adapter as a YamlElement.
Link copied to clipboard
Returns the YamlElement backing this adapter, or throws if this is not a YamlElementAdapter.