ring-swagger

ring-swagger & compojure-api
Empperi 2019-09-04T11:30:16.000800Z

Hmm. I wonder if jsonista can be used for streaming serialization. Meaning, I open a JSON array, then stream data as values until I'm done and then close the JSON array

Empperi 2019-09-04T11:30:43.001300Z

And while doing that jsonista writes the data to given output

Empperi 2019-09-04T11:31:13.001900Z

I need to process a large amount of data in a streaming manner and send that data as JSON to endpoint for storing

Empperi 2019-09-04T11:32:05.002400Z

Quick look at the API would make me think this is not possible

Empperi 2019-09-04T11:33:29.003Z

I can do this manually by first inserting "[" then processing all the elements and finally insert "]" but that makes me feel dirty 🙂

Empperi 2019-09-04T12:39:24.003300Z

Did it the dirty way

ikitommi 2019-09-04T18:27:38.004400Z

No helper for that. Ideas & PR welcome for that