Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api.data/DataObject/Companion/fromMap

fromMap

@JvmStatic
fun fromMap(map: Map<*, *>): DataObject

Converts a Map to the supported DataObject type.

Keys should be Strings. Unsupported values are replaced with DataItem.NULL

Return

DataObject containing all key value pairs as wrapped by DataItem

Parameters

map

The map of key value pairs

Generated by Dokka
(c) Tealium 2026