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

requireListPath

fun JsonPath<*>.requireListPath(): JsonPath<JsonPath.Component.Index>

Utility method to cast a JsonPath of unknown type, e.g. from a JsonPath.parse to the required type.

i.e. The first component of the returned JsonPath should be applicable to JSON arrays.

Generated by Dokka
(c) Tealium 2026