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

Component

sealed class Component

Defines a Component of a JsonPath for navigating through complex JSON objects/arrays

Key is used to select an item from a JSON object, and Index is used to select an item from a JSON array. Multiple Components, as in a JsonPath, can be used to describe a route through a JSON structure to find a child item.

Inheritors

Key
Index

Types

Index
Link copied to clipboard
data class Index(val index: Int) : JsonPath.Component

Component.Index defines an index used for extracting items from a JSON array structure.

Key
Link copied to clipboard
data class Key(val key: String) : JsonPath.Component

Component.Key defines a key key used for extracting items from a JSON object structure.

Generated by Dokka
(c) Tealium 2026