from

fun from(obj: JSONObject): DotPosition

Extract the DotPosition from the provided JSONObject.

Return

A DotPosition.

Parameters

obj

The JSONObject to extract the data from.