-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help understanding Aggregate #10
Comments
I too would like to see better documentation surrounding the aggregate functionality. It is not clear how it works |
ditto |
Hi all, I have not used this library in a long time. You'll have to look at the source code to determine how things work, and whether any updates need to be done. Please add documentation and submit a PR if you dig in. Thanks! |
@lpww @rosenjason @AshworthHub have you guys continued using this library? Could you contribute more information about how |
Hi @joelvh, I don't use this API anymore... once I had trouble figuring out the "aggregate" function, I found another API that did JSON data mappings and forked it: jsont I found the jsont API cleaner and easier to use. I also added asynchronous event streaming capabilities to improve performance and allow for processing millions of records. Streaming also allows for sending processed records to alternate storage (like a DB, file, call another web endpoint, etc) I added functionality for partial templates allowing for templates to be embedded and re-used. Like for addresses, line items on an order, shipping options, etc. |
Hi, I was looking for a node.js data transform module, and json2json is great!
I am having a little trouble getting the output data in the exact format that I need.
I am using aggregate to take an array and concatenate with a delimeter. Currently I am only able to get it to work if I nest the aggregate 'key' inside another JSON object.
The desired output is for the aggregate 'key' to be on the root JSON object that is returned.
I think I just have a syntax issue, but after re-arranging many different times, I have not been able to figure it out.
Any help you can offer would be much appreciated.
Here is my template:
Here is the source JSON:
Here is the output:
The desired output is:
The text was updated successfully, but these errors were encountered: