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

proposal: encoding/json: add InputOffset to json decoder #29688

Open
sheerun opened this Issue Jan 11, 2019 · 1 comment

Comments

Projects
None yet
5 participants
@sheerun
Copy link

commented Jan 11, 2019

In similar spirit to #8484

Use case: I'm trying to index entries in JSON file by their byte offset position to allow random access

I've already created PR with example implementation: #29686

@julieqiu julieqiu added the Proposal label Jan 11, 2019

@julieqiu julieqiu changed the title encoding/json: Proposal: Add InputOffset to json decoder proposal: encoding/json: add InputOffset to json decoder Jan 11, 2019

@gopherbot gopherbot added this to the Proposal milestone Jan 11, 2019

@rsc

This comment has been minimized.

Copy link
Contributor

commented Jan 16, 2019

The justification in #8484 for encoding/xml seems just as compelling in encoding/json. Accepted.

(Note that we are in a release freeze and won't start reviewing new contributions until Go 1.13 work begins.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.