Class Index | File Index

Classes


Namespace baja.bson

BOX System Object Notation.
Defined in: bson.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<private> <static>  
baja.bson.decodeComplexContract(type, complex)
Return a decoded array of Slots from a BSON Contract Definition.
<private> <static>  
baja.bson.decodeKnob(bson)
Decode and return a Knob.
<private> <static>  
baja.bson.decodeValue(bson, Object, parent)
Return a decoded value.
<private> <static>  
baja.bson.encodeValue(val)
Return an encoded BSON value.
<private> <static>  
baja.bson.scanForUnknownTypes(bson)
Scan for Types and Contracts that aren't yet loaded into the BajaScript Registry.
Namespace Detail
baja.bson
Method Detail
<private> <static> baja.bson.decodeComplexContract(type, complex)
Return a decoded array of Slots from a BSON Contract Definition.
Parameters:
type
the Type.
{baja.Complex} complex
the complex instance the Slots are being loaded for.
See:
baja.Slot

<private> <static> baja.bson.decodeKnob(bson)
Decode and return a Knob.
Parameters:
bson
the BSON that contains knob information to decode
Returns:
a decoded value (null if unable to decode).

<private> <static> baja.bson.decodeValue(bson, Object, parent)
Return a decoded value.
Parameters:
bson
the BSON to decode.
Object Optional
cx the context used when decoding.
parent
Returns:
a decoded value (null if unable to decode).

<private> <static> baja.bson.encodeValue(val)
Return an encoded BSON value.
Parameters:
val
the value to encode to BSON.
Returns:
encoded BSON value.

<private> <static> {Array} baja.bson.scanForUnknownTypes(bson)
Scan for Types and Contracts that aren't yet loaded into the BajaScript Registry.
Parameters:
bson
the BSON to scan Types for.
Returns:
{Array} An array of typeSpec information we need to request for (String).

Documentation generated by JsDoc Toolkit 2.3.2