from

fun from(obj: JSONObject): MarkPosition

Extract the MarkPosition from the provided JSONObject.

Return

A MarkPosition.

Parameters

obj

The JSONObject to extract the data from.