I believe that you can indeed achieve your goal by using the JSONWriter component. The component, however, assumes that it is intended to create one JSON file from all records (from the whole data flow). In order to tell the component that you need one result for each row, you might want to set the "Records per file" attribute to 1. This way, the JSONWriter creates a separate JSON file for each record.
If you then use the output port writing function (you can use the discrete option now), the component will send a list of JSON strings to the output port, where each row corresponds with each original record. The result on the edge looks like this:
I have created a graph for your review (I am including input data that the graph uses). Please take a look. I hope this meets your needs, but if not, please let me know.
- (100 Bytes) Downloaded 194 times
- (2.09 KiB) Downloaded 195 times