|
CX Framework
Cross-platform C utility framework
|
Path Syntax for Tree Traversal
Many SSD functions accept a path string for navigating the tree structure. Paths consist of names separated by '/' and array indices enclosed in brackets.
Examples:
Path: bucket/paints[2]/yellow
Represents: A value with key 'yellow' in the third element (index 2) of an array named 'paints', which is inside a hashtable named 'bucket' at the root.
JSON equivalent:
Path: [1]/mango
Represents: A value with key 'mango' in the second element of an array at the root.
JSON equivalent:
Note: If automatic path traversal is not desired, the SSDNode interface methods can be used directly without paths.