| Home | Trees | Indices | Help |
|---|
|
|
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
| Method Details |
Parses the data from the JSON file.
Parse and prepare the device data from the JSON.
{
"$": [object] $==Meta data [mandatory]
"p": [array] p==Property names [mandatory]
"v": [array] v==Values [mandatory]
"d": [array] d==Codepoint delimiters [mandatory]
"t": [array] t==Component Types [mandatory]
"e": [array] e==Dynamic value extractors [optional]
"cg": [array] cg==Constraint Groups [optional]
"c": [array] c==Components [mandatory]
"tr":[Object] tr==Token Trie [mandatory]
"i": [array] i==Inputs [mandatory]
}
IMPORTANT: The above keys are ordered by the JSON Generator to be in a
predictable and optimal order. This is helpful as certain objects are
required by other objects which are loaded later.
:param json_data_string:
|
Extract the version-specific children:
"vc": {
"p": integer (p == property name id [mandatory])
"m": integer, (m == max version parts [mandatory])
"c": [ordered array], (c == version-specific child components [optional] )
}
:param component_index:
:param component_node:
:param component_to_version_specific_children:
:return:
|
Get a list of all possible property names. Note that the client side properties are not included in this list.
|
Get an individual property name from the following stucture:
{
"n": string n==Property Name [mandatory]
"t": char-string t==Property Type [mandatory]
}
:param property_id:
:return:
|
Returns the device data (JSON file) version.
|
The creation date/time of the loaded data file in ISO 8601 format.
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Thu Oct 27 11:41:50 2022 | http://epydoc.sourceforge.net |