toMap

fun toMap(): Map<String, Any?>

Gets content of the current object as a Map. The values contained in the returned Map object are all JSON based values.

Return

the Map object representing the content of the current object in the JSON format.