Array Loops

ArrayMap

Syntax:

ArrayMap: array[]

Iterate and Maps the elements in the input array[] to the current object parent Array.

Structural

Parameters:
NameTypeDescription
array[]json arrayThe array to be mapped.
Returns:

array

”=ArrayMap”: ”$.Courses[*]”


HideIf

Syntax:

HideIf: param1

Hides the current object from serialization if true.

Structural

Parameters:
NameTypeDescription
param1boolThe condition to hide the object.
Returns:

bool

”=HideIf”: ”@.Name = ‘Maths’ ”
(Multiple HideIf can be added to the same object: =HideIf, =HideIf2 etc)