Path serializer
[data/tree/Path serializer]
Serializes tree path, producing a canonically formatted path string. Canonical tree paths are dot-separated, with dots inside components escaped with a backslash.
Keywords: escape, node
Input ports
path:
(string or number)[]
Receives tree path. (Array of strings and numbers.) Example: ["foo", 0, "bar"]
Output ports
serialized:
string
Sends a serialized tree path in canonical format. Examples:
"foo.bar.baz"
"foo"
"foo.b\.r"
Last updated