API rest is sending following json, I'm not being able to read it, I need
to match ID as seen below say 95 for which array of city needs to be shown.
Please help me do it.
'95':
[ { cityId: 78, cityName: 'Kuala Kangsar' },
{ cityId: 94, cityName: 'Tanjung Malim' },
{ cityId: 1, cityName: 'Singapore' },
{ cityId: 9, cityName: 'Ipoh' },
{ cityId: 83, cityName: 'Taiping' } ],
'103':
[ { cityId: 11, cityName: 'Baling' },
{ cityId: 10, cityName: 'Alor Setar' },
{ cityId: 52, cityName: 'Jitra' },
{ cityId: 31, cityName: 'Butterworth' },
{ cityId: 12, cityName: 'Changlun' },
{ cityId: 33, cityName: 'Penang' } ] }
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.