parseMap

@NotNull
abstract fun <K, V> parseMap(@NotNull input: String, @NotNull keyClass: Class<K>, @NotNull valueClass: Class<V>): Map<K, V>

Deserializes the input into a map of instances of V keyed by K

Return

A new map of V, keyed by K.

Parameters

input

The input string to parse.

keyClass

The key Class type to parse into.

valueClass

The value Class type to parse into.

<K>

type of key.

<V>

type of value.