-
Notifications
You must be signed in to change notification settings - Fork 883
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Formatter fails on large file #234
Comments
Yes it currently has a hardcoded limit of 3,000,000 bytes (3 Mb). I added this years ago because I was worried about performance problems on huge JSON documents. But I'm working on an update that will let you change this in the Options UI. (I might also increase the default limit, as computers are faster now.) Until then, if you have an urgent need, you could edit it and install from source: just clone the repo, edit this line, and then follow the readme instructions to build & install from source. |
btw it looks like that URL is just a little over the limit: 3360961 bytes (just checked with |
I'd love to see this configurable too. I just hit a limit of 3.4MB. |
I've edited
|
@callumlocke Thanks for this extension. I noticed that line 63 that you linked to above, it sets a few properties including const resultPromise = (async (): Promise<{
formatted: boolean
note: string
rawLength: number | null
}> => {
...
return {
formatted: false,
note: `Too long`,
rawLength,
} |
Are we going to have this feature anytime soon? I love this extension but my jsons are too big |
+1 |
Looks like this fails when looking at the NBA schedule. It's ~120k lines, so maybe I've run into a size limitation? https://data.nba.com/data/10s/v2015/json/mobile_teams/nba/2016/league/00_full_schedule.json
The text was updated successfully, but these errors were encountered: