|
Whitebeam Object Definition
|
Method Description
JSONexp.stringify()
Serialise a Javascript 'thing' as an IETF RFC 7159 conformant serialisation
Syntax
string = JSONexp.stringify(thing)
Parameters
The 'JSONexp.stringify' method takes 1 parameter:
Name | Type/Value | Range/Length | Description | thing | MetaData | | Required.
Any arbitrary Javascript entity: string, object, number, boolean, date etc
|
Results
The 'JSONexp.stringify' method returns string:
Type/Value | Range/Length | Description |
string |
  |
IETF RFC 7159 conformant serialisation of the single argument
|
Remarks This method is a drop-in replacement for Javascript implementations of JSON.stringify. Benchmarks show this native implementation performs approximately 50x faster than using a Javscript implementation. To use this in place of JSON.stringify either reference JSONexp directly or: JSON = JSONexp; |
|
(loadtime : 7ms) |