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
Hi. I am writing ETL programs, and sometimes I just need to pass big JSONs through my program:
//easyjson:json type JSONRPCResponse struct { JSONRPC string `json:"jsonrpc"` ID string `json:"id"` Result easyjson.RawMessage `json:"result,omitempty"` Error easyjson.RawMessage `json:"error,omitempty"` }
I don't care about what's inside Result or Error, but I need to pass them to stdout later. In the debugger, I see unnecessary (for me) json.Valid calls: Here https://github.com/mailru/easyjson/blob/master/jlexer/lexer.go#L558
Result
Error
json.Valid
monkey.Patch(json.Valid, func(data []byte) bool { return true })
It helps, but... Perhaps adding an option to disable this check would be helpful, or am I doing something unusual?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi. I am writing ETL programs, and sometimes I just need to pass big JSONs through my program:
I don't care about what's inside
Result
orError
, but I need to pass them to stdout later. In the debugger, I see unnecessary (for me)json.Valid
calls:Here https://github.com/mailru/easyjson/blob/master/jlexer/lexer.go#L558
It helps, but... Perhaps adding an option to disable this check would be helpful, or am I doing something unusual?
The text was updated successfully, but these errors were encountered: