json-to-proto.github.io icon indicating copy to clipboard operation
json-to-proto.github.io copied to clipboard

app does not sanitize invalid identifiers

Open 3052 opened this issue 10 months ago • 0 comments

valid input:

{"1": "hello", "2": "world"}

invalid output:

syntax = "proto3";

message SomeMessage {
    string 1 = 1;
    string 2 = 2;
}

https://protobuf.dev/reference/protobuf/proto3-spec/#identifiers

3052 avatar Apr 11 '24 01:04 3052