encodeToMap
fun <T> encodeToMap(serializer: <Error class: unknown class><T>, value: T): Map<String, Any>(source)
Encodes properties from the given value to a map using the given serializer. null values are omitted from the output.
Encodes properties from the given value to a map using the given serializer. null values are omitted from the output.