addMapEntries

open fun <M : Map<K, V>?, K, V> addMapEntries(extractor: (T) -> M): JsonWriter.Member<M>

Add all entries from the given Map to the JSON.

Return

the added Member which may be configured further

Parameters

<M>

the map type

<K>

the key type

<V>

the value type

extractor

a function to extract the map