Skip to main content
Version: Streamsheets 2.3

SUBTREE

Extracts a sub tree from the current message.

Syntax

=SUBTREE(TopElement[, IncludeElementKey])

Arguments

NameDescription
TopElementPath to the parent element from where to extract the sub tree.
IncludeElementKeyOptional flag which indicates if key of requested element should be included. Default is FALSE.

Return Value

The return value contains the JSON Object and is only usable within other functions. See sample below.