JsonLayoutOptions
Contents
[
Hide
]JsonLayoutOptions class
Represents the options of json layout type.
class JsonLayoutOptions;
Constructors
Name | Description |
---|---|
constructor() | Constructor of loading JSON layout options. |
Properties
Property | Type | Description |
---|---|---|
arrayAsTable | boolean | Processes Array as table. |
ignoreNull | boolean | Indicates whether ignoring null value. |
ignoreTitle | boolean | Ingores titles of attributes |
convertNumericOrDate | boolean | Indicates whether converting the string in json to numeric or date value. |
numberFormat | string | Gets and sets the format of numeric value. |
dateFormat | string | Gets and sets the format of date value. |
titleStyle | Style | Gets and sets the style of the title. |
keptSchema | boolean | Indicates whether keeping schema of this json. |
constructor()
Constructor of loading JSON layout options.
constructor();
arrayAsTable
Processes Array as table.
arrayAsTable : boolean;
ignoreNull
Indicates whether ignoring null value.
ignoreNull : boolean;
ignoreTitle
Ingores titles of attributes
ignoreTitle : boolean;
convertNumericOrDate
Indicates whether converting the string in json to numeric or date value.
convertNumericOrDate : boolean;
numberFormat
Gets and sets the format of numeric value.
numberFormat : string;
dateFormat
Gets and sets the format of date value.
dateFormat : string;
titleStyle
Gets and sets the style of the title.
titleStyle : Style;
keptSchema
Indicates whether keeping schema of this json.
keptSchema : boolean;
Remarks
Sometimes we will save the file to JSON after loading JSON file.