Skip to main content
Use pair functions to create, parse, and search key-value pair strings. These functions are useful for working with tags, labels, metadata, and any data stored in key-value format.

List of functions

FunctionDescription
find_pairSearches an array of key-value pairs and finds the first pair that matches specified key and value patterns.
pairCreates a dynamic object representing a key-value pair.
parse_pairParses a pair string into its key and value components.