DokuWiki

It's better when it's simple

User Tools

Site Tools


Sidebar

Translations of this page?:

Learn about DokuWiki

Advanced Use

Corporate Use

Our Community


Follow us on Facebook, Twitter and other social networks.

devel:json

JSON Encoder/Decoder

Since json_decode and json_encode are not available on all systems they should not be used. Instead use our JSON class.

$json = new JSON();
 
$string = $json->encode(array('foo'));
 
$array  = $json->decode($string);
devel/json.txt · Last modified: 2014-12-12 11:45 by ach