Protocol buffer3 and json

前端 未结 2 885
谎友^
谎友^ 2021-02-05 13:43

Protocol buffer v3 claims, that library is json friendly (https://developers.google.com/protocol-buffers/docs/proto3#json), but I cannot find how to achieve get that mapping. Sh

2条回答
  •  失恋的感觉
    2021-02-05 14:13

    Protobuf has json api for C#. There are some json class for C# in google protobuf reference and You can find some tests in github protobuf repository for java and c++.

提交回复
热议问题