I am using JSONKit in my iOS app. It loads an extremely simple JSON served by my php file:
http://staging.comwerks.net/terrence/ecitizen/article.php
somehow, it is producing an error: "Unexpected token, wanted '{', '}', '[', ']', ',', ':', 'true', 'false', 'null', '"STRING"', 'NUMBER'.}
When I try to use http://jsonlint.com/ to lint my URL above. It is giving a similar error complaining about the open bracket!
my php cant be more simple:
<?php
header('Content-type: application/json');
$json = array('a' => 1, 'b' => 2, 'c' => 3, 'd' => 4, 'e' => 5);
echo json_encode($json);
?>