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
| Function | Description |
|---|---|
| find_pair | Searches an array of key-value pairs and finds the first pair that matches specified key and value patterns. |
| pair | Creates a dynamic object representing a key-value pair. |
| parse_pair | Parses a pair string into its key and value components. |