...

Text file src/github.com/protocolbuffers/txtpbfmt/docs/examples/sort_repeated_fields_by_subfield.IN.textproto

Documentation: github.com/protocolbuffers/txtpbfmt/docs/examples

     1# txtpbfmt: sort_repeated_fields_by_subfield=oper.id
     2head {
     3  oper {
     4    id: "x"
     5    value: 29
     6  }
     7  oper {
     8    id: "c"
     9    value: 42
    10  }
    11  oper {
    12    id: "m"
    13    value: 12
    14  }
    15}

View as plain text