Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api.settings/Mappings/keep

keep

abstract fun keep(key: String): Mappings.VariableOptions

Adds a mapping where the key is both the source and destination of the mapping.

Returns a VariableOptions with which to configure some options if required.

Parameters

key

The key to take the value from and also the destination to place it in the mapped payload


abstract fun keep(path: JsonObjectPath): Mappings.VariableOptions

Adds a mapping where the possibly nested path is both the source and destination of the mapping.

Returns a VariableOptions with which to configure some options if required.

Parameters

path

The path to take the value from and also the destination to place it in the mapped payload

Generated by Dokka
(c) Tealium 2026