You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.
Is it possible to use these new header/footer events to take JSON data like in #93 and pipe it to a write stream such that we can modify each object in the records array but also include the rest of the top-level properties in the final output piped to the write stream?
The text was updated successfully, but these errors were encountered:
@dominictarr could you possibly provide a simple example of how to do something like this? I essentially just want to be able to mutate part of the stream inline. The only thing I seem to be able to do is have it get and make changes to each item in the records array, but then the output is just the records array. I cannot figure out how to make changes to each item in the records array and output the entire top-level structure of the input while including the mutations I made to the records array.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is it possible to use these new header/footer events to take JSON data like in #93 and pipe it to a write stream such that we can modify each object in the
records
array but also include the rest of the top-level properties in the final output piped to the write stream?The text was updated successfully, but these errors were encountered: