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

fromString

@JvmStatic
fun fromString(string: String): DataList?

Eagerly parses the given string to attempt to return a DataList.

The string should be well formatted as a JSON array; e.g. [ ... ], but should really only be used with the output of calling toString on a given DataList

Parameters

string

The JSON formatted string representation of a DataList

Generated by Dokka
(c) Tealium 2026