Closed amitguptagwl closed 6 years ago
Never mind. I found the reason. It was because of wrong proto file structure generated by some online tool.
message Data {
optional double length = 1;
optional double dbl = 1;
repeated string text = 3;
}
message Person {
required string user_name = 1;
optional int64 favourite_number = 2;
required Data data = 3;
repeated string interests = 4;
required bool male = 5;
optional int64 dt = 6;
}
Proto file
And this the object I'm parsing
But when I parse and parse back
But the output object is
Can you please tell me if I'm doing something wrong.