Forum Discussion
Max - The simplest way that I can think to accomplish what you're asking for is to use a Gate snap with the default settings and rename the input view to "exchangeRates" as below:
A word of caution on the Gate snap with the default settings - this snap consumes all input into a single document, which may consume significant memory resources if processing a large volume of data.
Hope this helps!
Here is my test pipeline.
JSON Generator Test_2017_12_19.slp (5.1 KB)
- Aravind7118 years agoNew Contributor II
Thanks for sharing Dmiller, will try and let you know on the update
- Aravind7118 years agoNew Contributor II
I have Identified the issue, Thanks for the help @dmiller
Do you have $year, $quarter, and $month defined elsewhere in the pipeline?
If I use what you have here in a standalone JSON Generator, I get the following error:
Failure: Failed to validate the output, Reason: Unrecognized token ‘$year’: was expecting (‘true’, ‘false’ or ‘null’), Resolution: Verify that the table values and the template are correct.
If I put a Mapper before it to define $year, $quarter, and $month with some temporary values, the output of the JSON Generator is the tree structure with the temp values.
- Aravind7118 years agoNew Contributor II
Yes @dmiller, I have the values for the Year, Quarter and month in the mapper snap, but when i execute i don’t receive error or either the output, can you please share you pipeline and the output image
Related Content
- 4 years ago
- 3 months ago