JsonLayoutOptions

JsonLayoutOptions class

Represents the options of json layout type.

class JsonLayoutOptions;

Constructors

ConstructorDescription
constructor()Constructor of loading JSON layout options.

Properties

PropertyTypeDescription
arrayAsTablebooleanProcesses Array as table.
ignoreNullbooleanIndicates whether ignoring null value.
ignoreTitlebooleanIngores titles of attributes
convertNumericOrDatebooleanIndicates whether converting the string in json to numeric or date value.
numberFormatstringGets and sets the format of numeric value.
dateFormatstringGets and sets the format of date value.
titleStyleStyleGets and sets the style of the title.
keptSchemabooleanIndicates whether keeping schema of this json.

Methods

MethodDescription
getArrayAsTable()@deprecated. Please use the ‘arrayAsTable’ property instead. Processes Array as table.
setArrayAsTable(boolean)@deprecated. Please use the ‘arrayAsTable’ property instead. Processes Array as table.
getIgnoreNull()@deprecated. Please use the ‘ignoreNull’ property instead. Indicates whether ignoring null value.
setIgnoreNull(boolean)@deprecated. Please use the ‘ignoreNull’ property instead. Indicates whether ignoring null value.
getIgnoreTitle()@deprecated. Please use the ‘ignoreTitle’ property instead. Ingores titles of attributes
setIgnoreTitle(boolean)@deprecated. Please use the ‘ignoreTitle’ property instead. Ingores titles of attributes
getConvertNumericOrDate()@deprecated. Please use the ‘convertNumericOrDate’ property instead. Indicates whether converting the string in json to numeric or date value.
setConvertNumericOrDate(boolean)@deprecated. Please use the ‘convertNumericOrDate’ property instead. Indicates whether converting the string in json to numeric or date value.
get_NumberFormat()@deprecated. Please use the ’numberFormat’ property instead. Gets and sets the format of numeric value.
setNumberFormat(string)@deprecated. Please use the ’numberFormat’ property instead. Gets and sets the format of numeric value.
get_DateFormat()@deprecated. Please use the ‘dateFormat’ property instead. Gets and sets the format of date value.
setDateFormat(string)@deprecated. Please use the ‘dateFormat’ property instead. Gets and sets the format of date value.
getTitleStyle()@deprecated. Please use the ’titleStyle’ property instead. Gets and sets the style of the title.
setTitleStyle(Style)@deprecated. Please use the ’titleStyle’ property instead. Gets and sets the style of the title.
getKeptSchema()@deprecated. Please use the ‘keptSchema’ property instead. Indicates whether keeping schema of this json.
setKeptSchema(boolean)@deprecated. Please use the ‘keptSchema’ property instead. Indicates whether keeping schema of this json.
isNull()Checks whether the implementation object is null.

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.

getArrayAsTable()

@deprecated. Please use the ‘arrayAsTable’ property instead. Processes Array as table.

getArrayAsTable() : boolean;

setArrayAsTable(boolean)

@deprecated. Please use the ‘arrayAsTable’ property instead. Processes Array as table.

setArrayAsTable(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getIgnoreNull()

@deprecated. Please use the ‘ignoreNull’ property instead. Indicates whether ignoring null value.

getIgnoreNull() : boolean;

setIgnoreNull(boolean)

@deprecated. Please use the ‘ignoreNull’ property instead. Indicates whether ignoring null value.

setIgnoreNull(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getIgnoreTitle()

@deprecated. Please use the ‘ignoreTitle’ property instead. Ingores titles of attributes

getIgnoreTitle() : boolean;

setIgnoreTitle(boolean)

@deprecated. Please use the ‘ignoreTitle’ property instead. Ingores titles of attributes

setIgnoreTitle(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getConvertNumericOrDate()

@deprecated. Please use the ‘convertNumericOrDate’ property instead. Indicates whether converting the string in json to numeric or date value.

getConvertNumericOrDate() : boolean;

setConvertNumericOrDate(boolean)

@deprecated. Please use the ‘convertNumericOrDate’ property instead. Indicates whether converting the string in json to numeric or date value.

setConvertNumericOrDate(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

get_NumberFormat()

@deprecated. Please use the ’numberFormat’ property instead. Gets and sets the format of numeric value.

get_NumberFormat() : string;

setNumberFormat(string)

@deprecated. Please use the ’numberFormat’ property instead. Gets and sets the format of numeric value.

setNumberFormat(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

get_DateFormat()

@deprecated. Please use the ‘dateFormat’ property instead. Gets and sets the format of date value.

get_DateFormat() : string;

setDateFormat(string)

@deprecated. Please use the ‘dateFormat’ property instead. Gets and sets the format of date value.

setDateFormat(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

getTitleStyle()

@deprecated. Please use the ’titleStyle’ property instead. Gets and sets the style of the title.

getTitleStyle() : Style;

Returns

Style

setTitleStyle(Style)

@deprecated. Please use the ’titleStyle’ property instead. Gets and sets the style of the title.

setTitleStyle(value: Style) : void;

Parameters:

ParameterTypeDescription
valueStyleThe value to set.

getKeptSchema()

@deprecated. Please use the ‘keptSchema’ property instead. Indicates whether keeping schema of this json.

getKeptSchema() : boolean;

Remarks

Sometimes we will save the file to JSON after loading JSON file.

setKeptSchema(boolean)

@deprecated. Please use the ‘keptSchema’ property instead. Indicates whether keeping schema of this json.

setKeptSchema(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe 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;