[nodejs] Re: how to read json array

2014-01-17 Thread Jyoti Chhetri
Thank you very much , it worked. -- -- 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 nodejs

[nodejs] Re: how to read json array

2014-01-17 Thread Simon Platten
Hello, lets say the JSON is coded as possible: var example = { '95': [ { cityId: 78, cityName: 'Kuala Kangsar' }, { cityId: 94, cityName: 'Tanjung Malim' }, { cityId: 1, cityName: 'Singapore' }, { cityId: 9, cityName: 'Ipoh' }, { cityId: 83, cityName: 'Taiping' } ], '1