json-to-proto.github.io
json-to-proto.github.io copied to clipboard
convert JSON to Protocol Buffers online in your browser instantly
On insert content we need detect is XML or JSON then convert to Protobuf https://github.com/xml-to-proto/xml-to-proto.github.io
Can you support the option to convert json name to `snake_case`? Since snake case is protobuf recommended format.
valid input: ~~~json {"1": "hello", "2": "world"} ~~~ invalid output: ~~~proto syntax = "proto3"; message SomeMessage { string 1 = 1; string 2 = 2; } ~~~ https://protobuf.dev/reference/protobuf/proto3-spec/#identifiers