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 }}
Repository navigation
The maximum number of byte files that ArrayEach supports #257
Hello, can you tell me the maximum number of byte files that ArrayEach supports? I have a 1GB json file that uses ArrayEach to parse and report an error "offset: 5, err: Value is array, but can't find closing ']' symbol". Thank you.
Resolved in v1.5.0 — ArrayEach has no intrinsic size limit; the error you saw ('can't find closing ]') indicates truncated/malformed input. For files too large to load into memory, use the new ReaderParser (NewReaderParser(r io.Reader)) which streams the data in 64KB chunks. See: https://github.com/buger/jsonparser/releases
Hello, can you tell me the maximum number of byte files that ArrayEach supports? I have a 1GB json file that uses ArrayEach to parse and report an error "offset: 5, err: Value is array, but can't find closing ']' symbol". Thank you.