Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.7.5, 1.8.6, 1.9.2
-
None
-
MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE
-
MOODLE_18_STABLE, MOODLE_19_STABLE
Description
The PHP5 functions json_encode and json_decode are very useful for writing PHP callback files to use with AJAX requests. The PEAR SERVICES_JSON package has been added to Moodle, but it would be useful to have function calls "faking" the PHP5 functions when a lower PHP version is on the server.