fromJson

fun fromJson(@Language(value = "json") json: String): BoundingBox(source)

Deserialize a BoundingBox from a JSON string.

Return

The deserialized bounding box.

Parameters

json

A JSON string representing a bounding box.

Throws

if the JSON string is invalid or cannot be deserialized.

if the JSON contains an invalid BoundingBox.