tomnomnom / gron

Make JSON greppable!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scanner error: token too long

pkuca opened this issue · comments

When using gron -s, I am seeing the following error:

bufio.Scanner: token too long: %!s(MISSING)

I'm happy to submit a PR increasing the default buffer size to something you'd approve. Alternatively, I was thinking about how the buffer size could be provided as an option - I noticed there's only a single option passed in to the function now.

Why create a buffer size? can't we just use dynamic?