August 15, 2023

Configuring a JSON Tree – Docs for ESB 6.x

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:

components-twritejsonfield_configurejsontree.png


Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x