JsonLayoutOptions
Inheritance: java.lang.Object
public class JsonLayoutOptions
Represents the options of json layout type.
Constructors
Constructor | Description |
---|---|
JsonLayoutOptions() | Constructor of loading JSON layout options. |
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getArrayAsTable() | Processes Array as table. |
getClass() | |
getConvertNumericOrDate() | Indicates whether converting the string in json to numeric or date value. |
getDateFormat() | Gets the format of date value. |
getIgnoreArrayTitle() | Indicates whether ignore title if array is a property of object. |
getIgnoreNull() | Indicates whether ignoring null value. |
getIgnoreObjectTitle() | Indicates whether ignore title if object is a property of object. |
getIgnoreTitle() | Ingores titles of attributes |
getKeptSchema() | Indicates whether keeping schema of this json. |
getNumberFormat() | Gets the format of numeric value. |
getTitleStyle() | Gets the style of the title. |
hashCode() | |
notify() | |
notifyAll() | |
setArrayAsTable(boolean value) | Processes Array as table. |
setConvertNumericOrDate(boolean value) | Indicates whether converting the string in json to numeric or date value. |
setDateFormat(String value) | Sets the format of date value. |
setIgnoreArrayTitle(boolean value) | Indicates whether ignore title if array is a property of object. |
setIgnoreNull(boolean value) | Indicates whether ignoring null value. |
setIgnoreObjectTitle(boolean value) | Indicates whether ignore title if object is a property of object. |
setIgnoreTitle(boolean value) | Ingores titles of attributes |
setKeptSchema(boolean value) | Indicates whether keeping schema of this json. |
setNumberFormat(String value) | Sets the format of numeric value. |
setTitleStyle(Style value) | Sets the style of the title. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
JsonLayoutOptions()
public JsonLayoutOptions()
Constructor of loading JSON layout options.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getArrayAsTable()
public boolean getArrayAsTable()
Processes Array as table.
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getConvertNumericOrDate()
public boolean getConvertNumericOrDate()
Indicates whether converting the string in json to numeric or date value.
Returns: boolean
getDateFormat()
public String getDateFormat()
Gets the format of date value.
Returns: java.lang.String
getIgnoreArrayTitle()
public boolean getIgnoreArrayTitle()
Indicates whether ignore title if array is a property of object.
Remarks
NOTE: This property is now obsolete. Instead, please use JsonLayoutOptions.IgnoreTitle property instead. This property will be removed 6 months later since February 2023. Aspose apologizes for any inconvenience you may have experienced.
Returns: boolean
getIgnoreNull()
public boolean getIgnoreNull()
Indicates whether ignoring null value.
Returns: boolean
getIgnoreObjectTitle()
public boolean getIgnoreObjectTitle()
Indicates whether ignore title if object is a property of object.
Remarks
NOTE: This property is now obsolete. Instead, please use JsonLayoutOptions.IgnoreTitle property instead. This property will be removed 6 months later since February 2023. Aspose apologizes for any inconvenience you may have experienced.
Returns: boolean
getIgnoreTitle()
public boolean getIgnoreTitle()
Ingores titles of attributes
Returns: boolean
getKeptSchema()
public boolean getKeptSchema()
Indicates whether keeping schema of this json.
Remarks
Sometimes we will save the file to JSON after loading JSON file.
Returns: boolean
getNumberFormat()
public String getNumberFormat()
Gets the format of numeric value.
Returns: java.lang.String
getTitleStyle()
public Style getTitleStyle()
Gets the style of the title.
Returns: Style
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setArrayAsTable(boolean value)
public void setArrayAsTable(boolean value)
Processes Array as table.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setConvertNumericOrDate(boolean value)
public void setConvertNumericOrDate(boolean value)
Indicates whether converting the string in json to numeric or date value.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setDateFormat(String value)
public void setDateFormat(String value)
Sets the format of date value.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setIgnoreArrayTitle(boolean value)
public void setIgnoreArrayTitle(boolean value)
Indicates whether ignore title if array is a property of object.
Remarks
NOTE: This property is now obsolete. Instead, please use JsonLayoutOptions.IgnoreTitle property instead. This property will be removed 6 months later since February 2023. Aspose apologizes for any inconvenience you may have experienced.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setIgnoreNull(boolean value)
public void setIgnoreNull(boolean value)
Indicates whether ignoring null value.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setIgnoreObjectTitle(boolean value)
public void setIgnoreObjectTitle(boolean value)
Indicates whether ignore title if object is a property of object.
Remarks
NOTE: This property is now obsolete. Instead, please use JsonLayoutOptions.IgnoreTitle property instead. This property will be removed 6 months later since February 2023. Aspose apologizes for any inconvenience you may have experienced.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setIgnoreTitle(boolean value)
public void setIgnoreTitle(boolean value)
Ingores titles of attributes
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setKeptSchema(boolean value)
public void setKeptSchema(boolean value)
Indicates whether keeping schema of this json.
Remarks
Sometimes we will save the file to JSON after loading JSON file.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setNumberFormat(String value)
public void setNumberFormat(String value)
Sets the format of numeric value.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setTitleStyle(Style value)
public void setTitleStyle(Style value)
Sets the style of the title.
Parameters:
Parameter | Type | Description |
---|---|---|
value | Style |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |