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
I've created a gist to show reading and writing json in a streamed style - specifically where you have a large array of objects. https://gist.github.com/henryw374/5e41464d386942910b50d1af02bded61 not sure if you had thought about adding something like this to the api or not, but anyway.. still handy to have a demo example
... and if you can see any mistakes there please let me know ;-)
Thanks
The text was updated successfully, but these errors were encountered:
I've used a similar approach in the projects where I needed streams of JSON. I tend to use reducibles/reducible-seqs instead of actual Sequences/lazy-seq. You can make some other smaller tweaks to keep GC churn low and application throughput a bit higher if your application is centered around the JSON stream.
I've created a gist to show reading and writing json in a streamed style - specifically where you have a large array of objects. https://gist.github.com/henryw374/5e41464d386942910b50d1af02bded61 not sure if you had thought about adding something like this to the api or not, but anyway.. still handy to have a demo example
... and if you can see any mistakes there please let me know ;-)
Thanks
The text was updated successfully, but these errors were encountered: