TemplateData is a data structure provided by Lynx. It is used to store the data types accepted by Lynx at runtime and can be constructed using either a string or a map type.
Input Map type data and return the parsed TemplateData object.
Params:
map: Map<String, Object>: Map type data;Input String type data and return the parsed TemplateData object.
Params:
json: String: String type data;Mark the current TemplateData with the associated dataProcessor name. When this TemplateData is used in UpdateData, the corresponding dataProcessor will be found based on this name for data preprocessing.
Params:
name: String: Marked name;Input NSDictionary type data and return the parsed LynxTemplateData object.
Params:
dictionary: NSDictionary*: NSDictionary* type data;Input NSDictionary type data and return the parsed LynxTemplateData object.
Params:
json: NSString*: NSString* type data;Mark the current TemplateData with the associated dataProcessor name. When this TemplateData is used in UpdateData, the corresponding dataProcessor will be found based on this name for data preprocessing.
Params:
name: NSString*: Marked name;LCD tables only load in the browser