🗂️ KeyValueList is a list of KeyValue messages.

Used to represent object-like structures in telemetry attributes. This allows for nested object representations while maintaining type safety.

const turtleInfo: KeyValueList = {
values: [
{ key: "id", value: { intValue: 42 } },
{ key: "fuel", value: { intValue: 1000 } },
{ key: "position", value: {
kvlistValue: {
values: [
{ key: "x", value: { intValue: 100 } },
{ key: "y", value: { intValue: 64 } },
{ key: "z", value: { intValue: 200 } }
]
}
}}
]
};
interface KeyValueList {
    values: KeyValue[];
}

Properties

Properties

values: KeyValue[]

Array of key-value pairs