schemaMismatch

inline fun <T> schemaMismatch(jsonElement: JsonElement, exception: SerializationException): DecodingResult<T>

Returns an instance that encapsulates the given jsonElement and Throwable as schema mismatch.

Since

0.4.0