utils / com.revenuecat.purchases.utils / org.json.JSONObject / parseDates

parseDates

fun JSONObject.parseDates(jsonKey: String): HashMap<String, Date?>

Parses dates that match a JSON key in a JSONObject

Parameters

jsonKey - Key of the dates to deserialize from the JSONObject

Exceptions

JSONException - If the json is invalid.