A JSON string is text enclosed in double quotes. Quotation marks determine the type: "5", "true", and "null" are strings, not a number, Boolean, or null value. section 24.2.1
{
"interface_name": "GigabitEthernet1/1", #1
"is_up": true, #2
"ip_address": "192.168.1.1", #3
"netmask": "255.255.255.0", #4
"speed": 1000, #5
"description": null #6
}
Use the listing to distinguish JSON strings from Boolean, numeric, and null values in a device-status object. section 24.2.1
Strings in API data
A Catalyst Center token response places the access token inside double quotes, making it a JSON string. Inventory data similarly represents fields such as hostname, MAC address, software version, and serial number as strings. section 23.3.3
