message Msg_Order
{
message Msg_OrderItem
{
int32 item_id = 1;
int32 count = 2;
int32 price = 3;
Msg_Item item = 4;
}
int32 id = 1;
map<int32, Msg_OrderItem> order_items = 2;
int32 amount = 3;
Int64Value dt_create = 4;
int32 state = 5;
string payment_id = 6;
}

When I parse in Java Msg_Item item = 4; is empty !!!
BUT !!! When I convert
from map<int32, Msg_OrderItem> order_items = 2;
to
repeated Msg_OrderItem order_items = 2;

it begins work !!!! BUG ???

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to