-
Notifications
You must be signed in to change notification settings - Fork 330
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
Can't ungron strings containing both escapes and semi-colons #7
Comments
Good spot! Thanks for the report. New version is incoming :) |
@ConradIrwin can you try v0.2.5 and confirm that fixes your problem? https://github.com/tomnomnom/gron/releases/tag/v0.2.5 |
Actually, I was a tad too hasty and I've introduced another problem as a result. Sorry about this! |
@ConradIrwin right! Let's try this again 😆 0.2.7 should fix it - but without introducing a regression this time! https://github.com/tomnomnom/gron/releases/tag/v0.2.7 |
I was playing around with your tool on the output of gmail json,
gron
works fine, but I get an error "cannot parse input" if I try and pipe it back intoungron
.Narrowing it down, the problem seems to be reproducible with this example:
A little bit of digging reveals a minimal test case:
It seems to be a combination of the character escape and the semi-colon in the string.
Let me know if I can be more helpful.
The text was updated successfully, but these errors were encountered: