decodeFromMap

fun <T> decodeFromMap(deserializer: <Error class: unknown class><T>, map: Map<String, Any>): T(source)

Decodes properties from the given map to a value of type T using the given deserializer. T may contain properties of nullable types; they will be filled by non-null values from the map, if present.