Something like this should work (I just guessed at the type of the 1, 2,
and 3 fields since it's not clear from the example):
message InnerMessage {
repeated int32 i1 = 1 [json_name = "1"];
repeated int32 i2 = 2 [json_name = "2"];
repeated int32 i3 = 3 [json_name = "3"];
}
message OuterMessage {
repeated InnerMessage some_message = 1;
}
On Fri, Oct 20, 2017 at 12:08 PM, Daniel Roberts <
[email protected]> wrote:
> {
> "someMessage": [
> {
> "1": []
> },
> {
> "2": []
> },
> {
> "3": []
> }
> ]
> }
>
>
> My attempt at a protobuf format
>
> message someMessage
> {
>
> }
>
> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/protobuf.
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.