Get a Date value from a Property of the current JSON Token.

NOTE: All Date values are returned with a Kind of "Unspecified", regardless of how they are formatted in the JSON text.

Syntax

ISJsonToken.GetPropertyDate(propertyName, [defaultValue], [found])

Parameters

NameTypeOptionalByRefDescription
propertyName String The case-sensitive Property Name to locate, e.g., "contactDate" or the path of a property, e.g., "contactDetails.date".
defaultValue Date Optional The value to return if the property was not found. If omitted, a value of ISRuntime.OptionalNullDate is assumed.
found Boolean Optional ByRef Indicates whether the Property was found. If omitted, a value of False is assumed.

Return Value

Date

A Date value.

Member of:
ISJsonToken
Namespace:
Intersoft.ISRuntime6
Assembly:
ISRuntime6, Version=6.0.3
Target Framework:
.NET 9.0