marshals/json

Methods

(static) marshal(string) → {Object}

Converts JSON string into JavaScript object

Parameters:
Name Type Description
string String

String to be marshalled to JSON object

Source:
Returns:
Type
Object

(static) unmarshal(obj) → {String}

Converts JavaScript object to a JSON string

Parameters:
Name Type Description
obj Object

Object to be unmarshalled into a JSON string

Source:
Returns:
Type
String