Play with JSON and PHP array'; echo '
'; echo ''; ?>json to really simple array
'; print_r( Pson::json_toarray($x)); echo 'json to simple flatten array
'; print_r( $r=Pson::json_toFlatten($x)); echo 'Flatten array to multidimensionnal array encoded in json
'; print_r( Pson::Flatten_toMulti_json($r)); echo 'Encrypted PHP variable built from json
'; print_r($e=Pson:: phpArray_son($x,false,true)); $i=explode('::',$e["key"]); echo 'Decrypt encrypted PHP variable built from json
'; print_r(Pson::unserialize_Pason($e["encrypted"],$i)); echo 'Encrypt Json
'; print_r($t=Pson::json_crypt($x)); echo 'Decrypt encrypted Json
'; print(Pson::cjson_decrypt($t)); echo 'Unserialize serialized PHP Array built from Json
'; print_r(Pson::unserialize_Pason(Pson::phpArray_son($x,false,false))); echo 'convert to PHP Array, serialize,Encrypt and save to a file from Json
'; Pson::phpArray_son($x,'test',true); echo 'Unserialize serialized and encrypted PHP Array built from Json
'; print_r(Pson::unserialize_Pason('test.pason','test.pason.key')); echo 'serialized and encrypted PHP Array to Json
'; print_r(Pson::Pason_toJson('test.pason','test.pason.key')); echo '