You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Save the two attached files to your system/helpers directory. Load it like any other helper:
$this->load->helper('json');
I think it is better if you put the JSON.php file and the helper to the application/helper directory. Also note, that from PHP 5.2+ upwards the json_encode and json_decode() functions are compiled into core. So a small check would come handy. I have made those changes - download them from here:
File:json_helper_pengekcs.zip
** The .php file downloads do not work as expected, however, I have left them up for Rick's examination. In the mean time, use the .txt downloads but rename them to .php after you have downloaded them.
File:json_helper.txtFile:JSON.txt