PHP: need json_encode() 5.3 functionality in 5.2

Posted by Zlatev on Stack Overflow See other posts from Stack Overflow or by Zlatev
Published on 2010-04-13T23:56:18Z Indexed on 2010/04/14 0:13 UTC
Read the original article Hit count: 598

Filed under:
|

Long story short, client's hosting is using php 5.2.5 and i desperately need to use the JSON_FORCE_OBJECT option with json_encode() that came with 5.3. Does anyone know some equivalent for that purpose? Point it out please.

© Stack Overflow or respective owner

Related posts about json-encode

Related posts about php5