{
"id": 1,
"name": "Dreamwalker",
"username": "Dream",
"email": "
[email protected]",
"address": {
"street": "Seoul",
"suite": "",
"city": "Seoul",
"zipcode": "123-4567",
"geo": {
"lat": "33",
"lng": "124"
}
},
"phone": "123-4567",
"website": "",
"company": {
"name": "",
"catchPhrase": "",
"bs": ""
}
},
45
syntax = "proto3";
message UserMessage {
message Geo {
string lat = 1;
string lng = 2;
}
message Address {
string street = 1;
string suite = 2;
string city = 3;
string zipcode = 4;
Geo geo = 5;
}
message Company {
string name = 1;
string catch_phrase = 2;
string bs = 3;
}
message Nested {
uint32 id = 1;
string name = 2;
string username = 3;
string email = 4;
Address address = 5;
string phone = 6;
string website = 7;
Company company = 8;
}
repeated Nested items = 1;
}