Looking at this scenario:
I read, at a certain point:
9. Right-click firstname and select Set As Loop Element from the context menu.
Well, the result is a "plain" json, without any loop element:
Why on earth field1 should be a "Loop Element"?
Thanks for your clarification,
have you followed link I provided?
As you can see in the page linked, "firstname" is set as loop-element, and when you scroll down the page and take a look to the json result, firstname is definitely not a loop element (it is a string element, instead).
So, it is still not clear the purpose of defining firstname as loop-element when it is not.
Hi, is there any documentation on how to set an element as "group"? I am seeing that option grayed out all the time.
the loop element must be the finest level
If your json has a flat structure you do not have the group function.
to activate this last one it is necessary to create a node in which you can make a loop.
You can thus have the function group element
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Part 2 of a series on Context Variables
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema