JsonLayoutOptions
JsonLayoutOptions class
Represents the options of json layout type.
class JsonLayoutOptions;
Constructors
Name | Description |
---|---|
constructor() | Constructor of loading JSON layout options. |
Methods
Method | Description |
---|---|
getArrayAsTable() | Processes Array as table. |
setArrayAsTable(boolean) | Processes Array as table. |
getIgnoreNull() | Indicates whether ignoring null value. |
setIgnoreNull(boolean) | Indicates whether ignoring null value. |
getIgnoreTitle() | Ingores titles of attributes |
setIgnoreTitle(boolean) | Ingores titles of attributes |
getConvertNumericOrDate() | Indicates whether converting the string in json to numeric or date value. |
setConvertNumericOrDate(boolean) | Indicates whether converting the string in json to numeric or date value. |
get_NumberFormat() | Gets and sets the format of numeric value. |
setNumberFormat(string) | Gets and sets the format of numeric value. |
get_DateFormat() | Gets and sets the format of date value. |
setDateFormat(string) | Gets and sets the format of date value. |
getTitleStyle() | Gets and sets the style of the title. |
setTitleStyle(Style) | Gets and sets the style of the title. |
getKeptSchema() | Indicates whether keeping schema of this json. |
setKeptSchema(boolean) | Indicates whether keeping schema of this json. |
isNull() | Checks whether the implementation object is null. |
constructor()
Constructor of loading JSON layout options.
constructor();
getArrayAsTable()
Processes Array as table.
getArrayAsTable() : boolean;
setArrayAsTable(boolean)
Processes Array as table.
setArrayAsTable(value: boolean) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | The value to set. |
getIgnoreNull()
Indicates whether ignoring null value.
getIgnoreNull() : boolean;
setIgnoreNull(boolean)
Indicates whether ignoring null value.
setIgnoreNull(value: boolean) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | The value to set. |
getIgnoreTitle()
Ingores titles of attributes
getIgnoreTitle() : boolean;
setIgnoreTitle(boolean)
Ingores titles of attributes
setIgnoreTitle(value: boolean) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | The value to set. |
getConvertNumericOrDate()
Indicates whether converting the string in json to numeric or date value.
getConvertNumericOrDate() : boolean;
setConvertNumericOrDate(boolean)
Indicates whether converting the string in json to numeric or date value.
setConvertNumericOrDate(value: boolean) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | The value to set. |
get_NumberFormat()
Gets and sets the format of numeric value.
get_NumberFormat() : string;
setNumberFormat(string)
Gets and sets the format of numeric value.
setNumberFormat(value: string) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | string | The value to set. |
get_DateFormat()
Gets and sets the format of date value.
get_DateFormat() : string;
setDateFormat(string)
Gets and sets the format of date value.
setDateFormat(value: string) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | string | The value to set. |
getTitleStyle()
Gets and sets the style of the title.
getTitleStyle() : Style;
Returns
setTitleStyle(Style)
Gets and sets the style of the title.
setTitleStyle(value: Style) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | Style | The value to set. |
getKeptSchema()
Indicates whether keeping schema of this json.
getKeptSchema() : boolean;
Remarks
Sometimes we will save the file to JSON after loading JSON file.
setKeptSchema(boolean)
Indicates whether keeping schema of this json.
setKeptSchema(value: boolean) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | The value to set. |
Remarks
Sometimes we will save the file to JSON after loading JSON file.
isNull()
Checks whether the implementation object is null.
isNull() : boolean;