env0ke
19 Aug 2011, 12:41 AM
Hi all :)
I write REST API and his return json format. For example:
[
{
"first_name": "John",
"last_name": "Smith",
"location": {
"country": "Canada",
"post_code": "12345"
}
}
]
How i can navigate to "country" and "post_code" in my Grid (or model for Store)? If i write name for field "location.country" or "location['country']" id don't work. Sorry of my bad english. /:)
I write REST API and his return json format. For example:
[
{
"first_name": "John",
"last_name": "Smith",
"location": {
"country": "Canada",
"post_code": "12345"
}
}
]
How i can navigate to "country" and "post_code" in my Grid (or model for Store)? If i write name for field "location.country" or "location['country']" id don't work. Sorry of my bad english. /:)