fromJson

@JvmStatic
fun fromJson(jsonObject: JSONObject?): Region?

Creates a Region object from a JSONObject.

Return

A Region object, or null if the JSONObject is null or missing required fields

Parameters

jsonObject

The JSONObject representation of the region