[feature request] Field option 'json_name' support
See original GitHub issueVersion: 0.10.2 still not support field option ‘json_name’, editor will say ‘Unresolved reference’.
syntax="proto3";
message Foo {
int32 foo = 1 [json_name="bar_2d"];
}
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#field
Is there any plan ?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:5
Top Results From Across the Web
protoc-gen-go: support using proto field names as JSON ...
Is your feature request related to a problem? ... An implementation may provide an option to use proto field name as the JSON...
Read more >Language Guide (proto3) | Protocol Buffers - Google Developers
This is a reference guide – for a step by step example that uses many of the features described in this document, see...
Read more >How to change a field name in JSON using Jackson
Have you tried using @JsonProperty? @Entity public class City { @id Long id; String name; @JsonProperty("label") public String getName() ...
Read more >Migrate from Newtonsoft.Json to System.Text.Json - .NET
Supported by built-in functionality. Getting similar behavior from System.Text.Json may require the use of an attribute or global option.
Read more >Cloud Feature Requests - CircleCI Ideas
If you're unsure of which feedback category to select, please reference our guide in the changelog or use the "uncategorized" bucket so we...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
thx, waiting for you next release!
Looks like json_name is not standard option (for parser)
https://github.com/protocolbuffers/protobuf/blob/ba8692fbade4ba329cc4531e286ab5a8e0821d97/src/google/protobuf/compiler/parser.cc#L1087