I have a HttpCaller that reads different kinds of information depending on the user input and therefore the attribute column names are all the time different. With the JSONFlattener you can import the column names that you want to expose, but ideally I would like to expose them dynamically. I was wondering if something like that is possible.
Solved
How dynamically expose attributes in JSONFlattener instead of import from a dataset?
Best answer by nielsgerrits
No, this is not possible. Several options depending on what you need, but if you want to write a file depending on the input, you can use the SchemaScanner to create a schema feature based on the attributes in your data features. The schema feature can be used in a (Feature)Writer to do dynamic writing, where the attributes are created based on the Schema Feature.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.