Closed rafayepes closed 5 years ago
Hi, there is no standard defined for proto2 encoding to JSON. While it would be possible to apply similar rules as what proto3 does it would still be a custom set of rules that might not be followed by other languages.
As mentioned above I would rather focus on proto3 for JSON.
For some reason, JSON encoding seems to only support proto3 syntax. See
"Only proto3 syntax supported in JSON encoding"
.Any particular reason why proto2 is not supported for JSON encoding?