Array ( [0] => Array ( [faq_id] => 14 [faq_faqcat_id] => 3 [faq_order] => 8 [faq_subject] => 800018 [faq_content] => 800019 [faq_datecreated] => 1213382678 [faq_dateupdated] => 1215547984 [faq_views] => 22 ) [1] => Array ( [faq_id] => 15 [faq_faqcat_id] => 3 [faq_order] => 9 [faq_subject] => 800020 [faq_content] => 800021 [faq_datecreated] => 1213382698 [faq_dateupdated] => 1215547986 [faq_views] => 13 ) [2] => Array ( [faq_id] => 16 [faq_faqcat_id] => 3 [faq_order] => 10 [faq_subject] => 800022 [faq_content] => 800023 [faq_datecreated] => 1213382711 [faq_dateupdated] => 1215547988 [faq_views] => 15 ) ) The above data is output of a PHP script. I have to convert this to a JSON object and show on an iPhone. can anyone please tell how?