isoDateAsInstant

fun JsonMap.isoDateAsInstant(key: String, defaultValue: Instant? = null): Instant?(source)

Gets the field with the given key and parses it as an ISO date string.

Throws

if the value is not a valid date string.