Diffusion datatype implementations.
Datatypes are accessed via the diffusion
singleton.
- Since:
-
- 5.7
Examples
// Get the JSON datatype var json = diffusion.datatypes.json();
// Get a datatype via name var json = diffusion.datatypes.get('json');
Classes
Methods
-
binary() → {diffusion.datatypes.BinaryDataType}
-
Returns:
The Binary data type -
get(name) → {diffusion.datatypes.DataType}
-
Obtain a diffusion.datatypes.DataType implementation by type name.
Parameters:
Name Type Description name
String The type name, as returned by diffusion.datatypes.DataType#getTypeName. Throws:
Error if there is no data type for provided nameReturns:
The data type -
json() → {diffusion.datatypes.JSONDataType}
-
Returns:
The JSON data type