Skip to content

Instantly share code, notes, and snippets.

@netmanchris

netmanchris/JSON

Last active Aug 29, 2015
Embed
What would you like to do?
>>> print (json.dumps(y, indent = 4))
{
"device": {
"id": "116",
"label": "Cisco2811.haw.int",
"ip": "10.101.0.1",
"mask": "255.255.255.0",
"status": "1",
"statusDesc": "Normal",
"sysName": "Cisco2811.haw.int",
"contact": "changed this too",
"location": "changed this too",
"sysOid": "1.3.6.1.4.1.9.1.576",
"sysDescription": null,
"devCategoryImgSrc": "router",
"topoIconName": "iconroute",
"categoryId": "0",
"symbolId": "1147",
"symbolName": "Cisco2811.haw.int",
"symbolType": "3",
"symbolDesc": null,
"symbolLevel": "2",
"parentId": "1",
"typeName": "Cisco 2811",
"mac": "00:1b:d4:47:1e:68",
"link": {
"@op": "GET",
"@rel": "self",
"@href": "http://10.3.10.220:8080/imcrs/plat/res/device/116"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.