exact_date_time_parse_formats property

JsonDataLoadOptions.exact_date_time_parse_formats property

Gets or sets exact formats for parsing JSON date-time values while loading JSON. The default is None.

@property
def exact_date_time_parse_formats(self) -> Iterable[str]:
    ...

@exact_date_time_parse_formats.setter
def exact_date_time_parse_formats(self, value: Iterable[str]):
    ...

Remarks

Strings encoded using Microsoft® JSON date-time format (for example, “/Date(1224043200000)/”) are always recognized as date-time values regardless of a value of this property. The property defines additional formats to be used while parsing date-time values from strings in the following way:

See Also