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
My goal is to start pushing JSON to an io.Writer while it's being JIT encoded. I noticed that EncodeObject calls enc.Write() and manages the error, that MarshalJSONObject doesn't return an error and that when calling enc.Write() myself (from within a MarshalJSONObject() func), there's no place to bubble up the error.
Surely I'm doing something a bit off here.. but I simply want to flush the buf between rows (say I have 200,000 such rows, which are objects). I also wonder how the buf would handle the getPreviousRune if I were to Write() before my Array is closed.
any tips would help, thanks a lot!
The text was updated successfully, but these errors were encountered:
Hi and thanks for the lib.
My goal is to start pushing JSON to an
io.Writer
while it's being JIT encoded. I noticed thatEncodeObject
callsenc.Write()
and manages the error, thatMarshalJSONObject
doesn't return an error and that when callingenc.Write()
myself (from within a MarshalJSONObject() func), there's no place to bubble up the error.Surely I'm doing something a bit off here.. but I simply want to flush the
buf
between rows (say I have 200,000 such rows, which are objects). I also wonder how thebuf
would handle thegetPreviousRune
if I were toWrite()
before my Array is closed.any tips would help, thanks a lot!
The text was updated successfully, but these errors were encountered: