fromJsonOrNull

fun fromJsonOrNull(json: String): Job<*>?

Creates a Job instance from a JSON string. The returned Job instance can be cast to one of the specific job classes that implement this interface, depending on the JSON that was passed to this function, for example ExportVectorTilesJob, SyncGeodatabaseJob, GenerateOfflineMapJob etc.

Return

a Job instance, or null if JSON deserialization failed

Since

200.0.0

Parameters

json

a JSON string that represents a Job