API module to include json2 javascript library, see https://github.com/douglascrockford/JSON-js

Instructions

  1. Download the module.
  2. Download the json2 javascript library (Download)
  3. Place it under sites/all/libraries/json2 so that the file can be found under sites/all/libraries/json2/json2.js
  4. Enable the module

This module does nothing by itself, it just provides the json2 library so that other modules can use it.

You can load the library like this:

<?php
libraries_load
('json2');
?>

Donate or Flattr to support further development.

Project Information

Downloads