JsonDataLoadOptions Class

Represents options for parsing JSON data.

ExpandedInheritance Hierarchy

SystemObject
  Aspose.Words.ReportingJsonDataLoadOptions

Namespace:  Aspose.Words.Reporting
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 21.10.0

ExpandedSyntax

public class JsonDataLoadOptions

The JsonDataLoadOptions type exposes the following members.

ExpandedConstructors

  NameDescription
Public methodJsonDataLoadOptions
Initializes a new instance of this class with default options.

ExpandedProperties

  NameDescription
Public propertyAlwaysGenerateRootObject
Gets or sets a flag indicating whether a generated data source will always contain an object for a JSON root element. If a JSON root element contains a single complex property, such an object is not created by default.
Public propertyExactDateTimeParseFormat Obsolete.
Gets or sets an exact format for parsing JSON date-time values while loading JSON. The default is null.
Public propertyExactDateTimeParseFormats
Gets or sets exact formats for parsing JSON date-time values while loading JSON. The default is null.
Public propertySimpleValueParseMode
Gets or sets a mode for parsing JSON simple values (null, boolean, number, integer, and string) while loading JSON. Such a mode does not affect parsing of date-time values. The default is Loose.

ExpandedMethods

  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

ExpandedRemarks

An instance of this class can be passed into constructors of JsonDataSource.

ExpandedSee Also