withMap

open override fun withMap(map: Map<String, KpaElement>): KpaStruct(source)

Builds a new JsonObjectAdapter wrapping a fresh JsonObject constructed from map.

Return

A new JsonObjectAdapter.

Parameters

map

The key-to-value entries the returned struct should expose.