fromJsonOrNull

@JvmName(name = "inlineFromJsonOrNull")
inline fun <G : Geometry?, P> fromJsonOrNull(@Language(value = "json") json: String): FeatureCollection<G, P>?(source)

Deserializes a FeatureCollection from a JSON string, or returns null on failure.

Return

The deserialized FeatureCollection, or null if deserialization fails.

Parameters

json

The JSON string to deserialize.