api documentation for cjson (v0.5.0)

cjson - Commented JavaScript Object Notation. It is a json loader, which parses only valid json files, but with comments enabled. Useful for loading configs.

table of contents

  1. module cjson
    1. function cjson.decomment (str)
    2. function cjson.extend (deep, obj1, obj2)
    3. function cjson.freeze (obj)
    4. function cjson.load (path, options)
    5. function cjson.parse (str, reviver)
    6. function cjson.replace (str, data)
    7. object cjson.options
  2. module cjson.options
    1. boolean cjson.options.freeze
    2. boolean cjson.options.merge
    3. function cjson.options.parse (text, reviver)
    4. object cjson.options.replace
    5. string cjson.options.ext

module cjson

function cjson.decomment (str)

function cjson.extend (deep, obj1, obj2)

function cjson.freeze (obj)

function cjson.load (path, options)

function cjson.parse (str, reviver)

function cjson.replace (str, data)

module cjson.options

function cjson.options.parse (text, reviver)

[ this document was created with utility2 ]