[protobuf] Re: Protostream-processor: marshalling List of List

2021-05-21 Thread 'Simone Di Cola' via Protocol Buffers
Here the Json example I need to Marshal: { "status": "success", "postcode": "W14", "postcode_type": "district", "url": "https://propertydata.co.uk/draw?input=W14";, "data": [ [ "Aug 2013", 862199, null ], [ "Aug 2014", 1039052, "20.5%" ], [ "Aug 2015", 1069005, "2.9%" ], [ "Aug 2016", 1077210,

[protobuf] Protostream-processor: marshalling List of List

2021-05-21 Thread 'Simone Di Cola' via Protocol Buffers
quote I have the following field ``` public List> data; ``` That I need to serialise using protobuf (for infinispan-client). I am trying to annotate the getter this way ``` @ProtoField(number = 6) public List> getData() { return data; } ``` But I got: ``` org.infinispan.

Re: [protobuf] Protobuf for Enum

2021-05-21 Thread Marc Gravell
This is specific to protobuf-net. If you're using v3, the main usage here is to provide explicit names for the enum and (via ProtoEnumAttribute) the defined values; the names only matter if you are generating a .proto from a code-first model (GetSchema(), GetProto(), etc) In v2, you can *also* use