JSON validation - 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: JSON validation (/showthread.php?tid=40685) |
JSON validation - El Forum - 04-15-2011 [eluser]_TubbZ_[/eluser] Hello, I am using JSON to pass data back and forth between the client and the server and the problem I am facing is validating the JSON. I know that the json_decode method returns null on invalid json structure but i want to know if I can validate the data against a schema. Does anyone know of any libraries that will do this? Cheers! |