any luck w/ json encode decode? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: any luck w/ json encode decode? (/showthread.php?tid=4679) |
any luck w/ json encode decode? - El Forum - 12-10-2007 [eluser]CI jforth[/eluser] Ok maybe I can get some insight here on this issue. If i take a json feed from a site that I know works like http://jaiku.com/feed/json I can parse it fine with jquery no problems but if i take that same feed and pass it through json_decode and then json_encode Shouldn't encode return the same data as the original? I keep getting an error in firefox invalid label with the encoded feed. any luck w/ json encode decode? - El Forum - 12-10-2007 [eluser]Nick Husher[/eluser] What's the JSON in question? I mean, what's the input and what's the output? any luck w/ json encode decode? - El Forum - 12-10-2007 [eluser]CI jforth[/eluser] I'm just testing something here. if I take this json feed http://jaiku.com/feed/json and do this Code: $h = fopen('http://jaiku.com/feed/json'); I'm unable to parse the what should be the same code. |