Decorating problem.

16 views
Skip to first unread message

Artjoms Jakovenko

unread,
Jul 8, 2020, 3:50:17 PM7/8/20
to Protocol Buffers
Hey guys, kinda new to probuf here. 

Encountered problem where my serealized data is sent like this :
1: "Hello"
2: "World"


instead of proper: 

2 {
  1 {
    1: "Hello"
  }
  2: "World"
}


i guess i'm 100% missing something...

Adam Cozzette

unread,
Jul 8, 2020, 4:03:20 PM7/8/20
to Artjoms Jakovenko, Protocol Buffers
Could you post the message definition from your .proto file? For the messages you showed, are you sending them exactly like that (in plain text), or in binary format?

--
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 protobuf+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/0b225b22-dff6-4e40-8de7-69085f014054o%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages