We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
passing around io.Readers is broadly supported in the golang ecosystem, but this API only supports []byte as input.
io.Reader
[]byte
have you considered adding support for taking in io.Readers in the API?
The text was updated successfully, but these errors were encountered:
Supporting an interface which is a subset of json.Decoder as input would be more useful. json.NewDecoder can take an io.Reader as input.
json.Decoder
json.NewDecoder
See how package github.com/dolmen-go/jsonptr uses jsonptr.JSONDecoder as input for extracting data from JSON documents with jsonptr.Get:
jsonptr.Get
type JSONDecoder interface { Token() (json.Token, error) More() bool Decode(interface{}) error }
Disclaimer: I'm the author of this jsonptr package.
jsonptr
Sorry, something went wrong.
No branches or pull requests
passing around
io.Reader
s is broadly supported in the golang ecosystem, but this API only supports[]byte
as input.have you considered adding support for taking in
io.Reader
s in the API?The text was updated successfully, but these errors were encountered: