toJson

fun toJson(): JsonObject(source)

Converts the ExpirationDate object to a JsonObject.

Return

The JsonObject representation of the date.