|
Whitebeam Object Definition
|
Method Description
JSONexp.parse()
A re-constructed Javascript 'thing' extracted from the JSON serialisation
Syntax
MetaData Object = JSONexp.parse(json_string)
Parameters
The 'JSONexp.parse' method takes 1 parameter:
Name | Type/Value | Range/Length | Description | json_string | string | | Required.
IETF RFC 715 conformant string
|
Results
The 'JSONexp.parse' method returns a JavaScript object containing arbitrary attributes (Meta Value):
Type/Value | Range/Length | Description |
MetaData |
  |
A text Unicode string containing the contents of the Binary object.
|
Remarks This method is a close replacement for Javascript implementations of JSON.parse with the following exceptions: - does not support a second parameter to allow the application to further modify decoded string values
- if the string conforms to an ISO 8601 date in the format: 'YYYY:MM:DDThh.mm.ss.mmmZ' then a Javascript Date object is created to represent the value
To use this in place of JSON.parse either reference JSONexp directly or: JSON = JSONexp; |
|
(loadtime : 7ms) |