PDA

View Full Version : php json



pomata
4 Dec 2006, 7:44 PM
Hi guys,

anybody pointig to a json php library easy to return data for yui.ext.json .....

(do I need to urlencode in case of quotes ... etc.. on the data?)

searched on the web, lots of json.php..... not sure which one...

Thanks again...

Pomata

jbowman
4 Dec 2006, 8:07 PM
if you can run php 5.2.0 it has built in functions for encoding and decoding json, that is extremely quick.

If, like me, you're working on a shared host, this is the class I use for it. http://mike.teczno.com/JSON/JSON.phps