Retrieve json data

output in json format

--[{"school_id":"248","server_url":"http:\/\/testdummy.brainyknights.in\/AndroidAppv5\/","school_id_string":"jayanagar","logo_path":"0","about":"dfdf"}].

how to retreive value from this output for school_id in js

Try

var schoolId = data[0]["school_id"];

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.