Skip to main content
Close announcements banner

Configuring a JSON Tree

When configuring a JSON tree, the default type of an element is string. If an element is not of type string, you need to add an attribute for the element to set its type.

  • For an integer, double, float, or boolean element, you need to add an attribute named type and set its static value to integer, number, float, or boolean respectively.

  • For an array element, you need to add an attribute named class and set its static value to array, and then add a sub-element named element set as a loop.

  • For an object element, you need to add an attribute named class and set its static value to object.

The following figure shows an example of JSON tree configuration:

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!