PSJ.GetParent

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > JSON - Parser > Parser-Operations > !Node Operations >

PSJ.GetParent

The PSJ.GetParent command retrieves the parent node ID of a JSON element, useful for navigating up the document tree.

Navigate to parentTraverse document treeFind container elementsBuild path navigation

Quick Example

; Get parent of current node

PSJ.GetParent|currentId|parentId

; Access parent data

PSJ.GetValue|parentId|name|parentName

See Also

Command Index