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

extractInt

open fun extractInt(jsonPath: JsonPath<TRoot>): Int?

Extracts a nested Int according to the given jsonPath.

If any path component is not found, either missing or unexpected type, then null will be returned.

Return

The required Int if available; else null

Parameters

jsonPath

The JsonPath describing how to access the variable.

Generated by Dokka
(c) Tealium 2026