Forum Discussion
You can use the following expression to split the Data object into a JSON List of objects. Even though Data is an object, its keys are a list. You can leverage that fact to create a new list using the Map expression. Each row will be the object at a key in the original object.
$data.keys().map(k => $data.get(k))
Now that you have a list, you can use the JSON Split snap to create your document stream and your CSV.
Related Content
- 4 years ago
- 3 years ago