{
"hintsacross":
[ { "number":"1" , "hinttext":"Hurt", "hintsquare":"A1" },
{ "number":"5" , "hinttext":"Make a selection", "hintsquare":"A6" },
{ "number":"8" , "hinttext":"Frank", "hintsquare":"A10" }
] ,
"hintsdown":
[ { "number":"1" , "hinttext":"First Greek letter", "hintsquare":"A1" },
{ "number":"2" , "hinttext":"Used footnotes", "hintsquare":"A2" },
{ "number":"3" , "hinttext":"Listened to", "hintsquare":"A3" }
]
}
For some reason json_decode of PHP is not decoding this JSON.
Thanks in advance...
P.S. I am getting an error when this line 25 runs:
$temp = json_decode( $obj->hints,true );
Parse error: syntax error, unexpected 'hintsacross' (T_STRING) in C:\Program Files (x86)\Zend\Apache2\htdocs\crosswords\query.blockouts.php on line 25
I validated my JSON through JSONlint and the parse error is coming out.