Class: JSONX

JSONX

new JSONX(json_obj)

JSON implementation which supports RegExp storage.
Parameters:
Name Type Description
json_obj Object
Author:
Source:

Methods

(static) parse(js_str)

Parses a jsonx string to Object
Parameters:
Name Type Description
js_str String
Source:

get() → {Object}

Returns Object representation
Source:
Returns:
Type
Object

set()

Sets object
Source:

stringify() → {String}

Returns regex safe json.
Source:
Returns:
Type
String

toString() → {String}

Returns regex safe json.
Source:
Returns:
Type
String

(private, inner) replacer(key, value)

Replaces regex with __REGEXP
Parameters:
Name Type Description
key Object
value Object
Source: