Fork me on GitHub
#ring-swagger
<
2019-09-04
>
Empperi11:09:16

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

Empperi11:09:43

And while doing that jsonista writes the data to given output

Empperi11:09:13

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

Empperi11:09:05

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

Empperi11:09:29

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

Empperi12:09:24

Did it the dirty way

ikitommi18:09:38

No helper for that. Ideas & PR welcome for that