Skip to main content
Version: Streamsheets 2.5

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

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

Examples

None