W3cubDocs

/Drupal 7

json-encode.inc

Provides a helper to properly encode HTML-safe JSON prior to PHP 5.3.0.

File

includes/json-encode.inc

Functions

Name Description
drupal_json_encode_helper Encodes a PHP variable to HTML-safe JSON for PHP versions below 5.3.0.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!json-encode.inc/7.x