fromJsonOrNull

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

Deserialize a BoundingBox from a JSON string, returning null if the JSON is invalid.

Return

The deserialized bounding box, or null if the JSON is invalid.

Parameters

json

A JSON string representing a bounding box.