1 drupal.inc drupal_json_output($var = NULL)

Prints data to the page in JSON format.

Deprecated

since 1.0.0

See also

backdrop_json_output()

Related topics

File

core/includes/drupal.inc, line 1111
Contains constants and function wrappers for Drupal 7.x compatibility.

Code

function drupal_json_output($var = NULL) {
  backdrop_json_output($var);
}