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

Expose the low-level encoding/decoding primitives in a sub package #622

Open
burdiyan opened this issue Feb 17, 2025 · 0 comments
Open

Expose the low-level encoding/decoding primitives in a sub package #622

burdiyan opened this issue Feb 17, 2025 · 0 comments
Labels
waiting-for-go-api Waiting for go API updates (e.g. encoding/json/v2)

Comments

@burdiyan
Copy link

Sometimes it can be quite useful to be able to manually write some data into a buffer, be it for performance reasons, or for some obscure encoding customizations needs.

Currently the low-level encoding/decoding functions are unexported in this module.

I suggest exposing the low-level encoding primitives as a separate package in the same module, similar to how the newly proposed v2 of the JSON package os the standard library exposes the similar primitives in its jsontext package.

@fxamacker fxamacker added the waiting-for-go-api Waiting for go API updates (e.g. encoding/json/v2) label Mar 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting-for-go-api Waiting for go API updates (e.g. encoding/json/v2)
Projects
None yet
Development

No branches or pull requests

2 participants