question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[feature request] Field option 'json_name' support

See original GitHub issue

Version: 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:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

2reactions
Anricxcommented, Dec 19, 2017

thx, waiting for you next release!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found