Methods
(static) decodeQueryString(paramStr) → {Object}
Decode an object from a query/hash string. Each member key of the query string is expressed in fully-qualified form. List keys are the index into the list, must be in order.
Parameters:
Name | Type | Description |
---|---|---|
paramStr |
string | The parameters string |
Returns:
- Type
- Object
(static) encodeQueryString(obj) → {string}
Encode an object as a query/hash string. Dictionaries, lists, and tuples are recursed. Each member key is expressed in fully-qualified form. List keys are the index into the list, and are in order.
Parameters:
Name | Type | Description |
---|---|---|
obj |
Object | The parameters object |
Returns:
- Type
- string
(static) jsonStringifySortKeys(obj) → {string}
JSON-stringify an object with sorted keys
Parameters:
Name | Type | Description |
---|---|---|
obj |
Object | The object to stringify |
Returns:
- Type
- string