toJSON

open override fun toJSON(): JSONObject

Serializes an Availability to its JSON representation.