keypath
A key path is a sequence of keys or property names that specifies how to navigate a nested data structure to reach a particular value. Key paths can be represented as strings, arrays of keys, or language-specific path objects, and they are used to access or query data within objects, dictionaries, arrays, or JSON-like structures.
In different programming ecosystems, key paths have different semantics. In Cocoa and Cocoa Touch, key paths
Common uses include retrieving nested values, binding user interfaces to data models, sorting or filtering collections
Limitations include potential runtime errors when a path does not exist, especially for string-based paths, and
See also: key-value coding, key-value observing, JSONPath, XPath, property path.