Path serializer
Last updated
Last updated
[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
path: (string or number)[]
Receives tree path. (Array of strings and numbers.) Example: ["foo", 0, "bar"]
serialized: string
Sends a serialized tree path in canonical format. Examples:
"foo.bar.baz"
"foo"
"foo.b\.r"