Skip to content
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

Add line number to JSON parse error #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wryun
Copy link

@wryun wryun commented Aug 9, 2017

Sometimes I end up feeding jp invalid json, and ...

This possibly has performance implications, though?

@wryun
Copy link
Author

wryun commented Aug 9, 2017

(apologies if I've done something silly here - still learning how to use Go - can add tests if this is judged useful)

EDIT: added a couple of tests.

@wryun wryun force-pushed the add-line-number-to-json-parse-error branch from 87fecce to d627bb9 Compare August 9, 2017 09:48
@suntong
Copy link

suntong commented May 26, 2021

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants