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

fromJSONObject

@JvmStatic
fun fromJSONObject(jsonObject: JSONObject): DataObject

Converts a JSONObject to the supported DataObject type.

Return

DataObject containing all key value pairs as wrapped by DataItem

Parameters

jsonObject

The JSONObject containing the key value pairs

Generated by Dokka
(c) Tealium 2026