vertx-codegen icon indicating copy to clipboard operation
vertx-codegen copied to clipboard

Canonical protobuf json format support

Open vietj opened this issue 2 years ago • 1 comments

The json protobuf format is optimised for vertx JSON types (e.g it can a an integer type) to get more compact json representations. We should also support this format https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/struct.proto and be wire compatible with it (which means using the same tags), so our messages can be compatible with com.google.protobuf.Struct

That would be declared on the @Protobuf annotation, e.g @Protobuf(compactJson=false)

vietj avatar Jul 28 '23 12:07 vietj

I will be working on this.

lwlee2608 avatar Aug 01 '23 02:08 lwlee2608