Skip to main content
Version: Streamsheets 3.0

SUBTREE

Extracts a sub tree from the current message.

Syntax

=SUBTREE(TopElement, [IncludeElementKey])

Arguments

NameTypeDescription
TopElementStringPath to the parent element from where to extract the sub tree.
IncludeElementKey (optional)BooleanOptional flag which indicates if key of requested element should be included.

Default value: FALSE

Return

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

Examples

None