Skip to content

mwitkow/go-nicejsonpb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nice Golang Protobuf JSONPB

Travis Build Apache 2.0 License

The jsonpb implementation of golang/protobuf has very bad error handling, making it hard to return human-understandable errors.

This is a fork of the Unmarshal functionality of jsonpb with fixes for error handling:

  • Errors are are now prefixed with a "stack" path of fields that are returned in
  • Poor "cannot deserialize into `json.RawMessage" errors now use proper types
  • Unknown fields now return a helpful message listing known fields :)

Relevant upstream Issue: golang/protobuf#266

About

Golang Protobuf JSONpb with nice errors

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages