Skip to content

Add protobuf/jsonpb marshalers to your proto messages

License

Notifications You must be signed in to change notification settings

ajm188/go-jsonpb

Repository files navigation

go-jsonpb

MIT GoDoc Go Report Card

Add protobuf/jsonpb marshalers to your proto messages

Usage

To use:

  1. Install the plugin: go install github.com/ajm188/go-jsonpb/cmd/protoc-gen-go-json.
    • Ensure that protoc-gen-go-json is in your $PATH. This should be the case as long as $GOPATH/bin is in your $PATH.
  2. Run protoc with the plugin: protoc --go_out=. --go_json_out=. /path/to/my.proto.

About

Add protobuf/jsonpb marshalers to your proto messages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published