You can either read in the JSON file directly or set the source attribute to that containing the json string. Set the flatten query result to Yes and then you will have to type out the attributes you would like to expose. This will give you the following result:
You can either read in the JSON file directly or set the source attribute to that containing the json string. Set the flatten query result to Yes and then you will have to type out the attributes you would like to expose. This will give you the following result:
I would like a single feature with (in this example) three attributes A,B,C.
Not three features each with attributes name, content.
I would like a single feature with (in this example) three attributes A,B,C.
Not three features each with attributes name, content.
Hi @jdh,
Ah I see, I think a couple more steps are required here.
1. Use a StringConcatenator after the JSONFragmenter to create a new attribute combining name and content
@Value(name):@Value(content)
2. Add an Aggregator with the mode set to Attributes Only. Set the _result from step 1 as the Attribute to Concatenate and the Seperator Character set to the Special Character Newline. If you have multiple attributes you should be able to use the Group By parameter to build separate lists for each attribute here.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.