|
Whitebeam Object Definition
|
Method Description
Binary.fromObj()
Store the contents of a JavaScript object.
Syntax
void = Binary.fromObj(object)
Parameters
The 'Binary.fromObj' method takes 1 parameter:
Name | Type/Value | Range/Length | Description | object | MetaData | | Required.
Arbitrary JavaScript object to store in the file object.
|
Results
The 'Binary.fromObj' method returns no useful information.
Remarks This method is similar to Binary.set() but instead
of storing a string in the binary object - it stores an entire object. This builds on
the concept of meta data by allowing an arbitrarily
complex object to be serialised, stored in a binary object and subsequently recreated.
In this case the recreation is implemented by the Binary.toObj()
method. In keeping with the meta-data concept generally the object can be anything represented in
JavaScript - from simple string to complex structures and arrays of structures.
|
|
(loadtime : 10ms) |