IJSONOptions
Type interface
Defines options for JSON format parser
Sources
IJSONOptions is an interface: it describes a shape of data and is not imported on its own.
Inheritance
IJSONOptions extends IDataParserOptions.
IJSONOptions is not extended by any other symbol.
Properties
dateFieldsType
string[]A list of fields that hold date/time infromation.
Parser will try to convert such fields into
Dateobjects.dateFormatterType
DateFormatterA date formatted to be used when parsing dates.
numberFieldsType
string[]A list of fields that should be treaded as numeric.
Any information container in such fields will be converted to
number.
2 inherited items
dateFormatType
stringInherited fromIDataParserOptionsOverride date format set in
dateFormatter.More info: Formatting Date & Time: parsing dates Tutorial on date parsing
emptyAsType
anyInherited fromIDataParserOptionsEmpty values (e.g. empty strings,
null, etc.) will be replaced with this.