Comments (2)
This was causing issues for me as well. It was the latest change in the repo #9
You need to change existing flags to a boolean:
for example.
--go-json_out=enums_as_ints=true,emit_defaults=true:/out-dir
from protoc-gen-go-json.
Yes sorry, this was a breaking change (unexpected) from updating to the latest Go proto libraries. The README is up to date.
from protoc-gen-go-json.
Related Issues (10)
- Some unknown struct methods are generated for map<string, HeaderValue> HOT 2
- MarshalJSON not called in some cases HOT 1
- [Feature Request] Generated files should respect go_package option HOT 2
- Maybe we should also support: `generator protoc-gen-go-json hasn't been updated to support optional fields in proto3`
- Publish new tag HOT 8
- Added AllowUnknownFields to jsonpb.Unmarshaler
- Move to google.golang.org/protobuf/encoding/protojson HOT 1
- Maintain comments for licenses and build tags HOT 1
- Please publish a release HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from protoc-gen-go-json.