Я хочу ввести данные телеметрии, и на выходе получается многослойный вложенный файл JSON. Меня интересуют очень специфические поля, но я не могу разобрать файл JSON, чтобы получить данные.
{"version_str": "1.0.0", "node_id_str": "router-01", "encoding_path":
"sys / intf", "collection_id": 241466, "collection_start_time": 0,
"collection_end_time": 0, "msg_timestamp": 0, "subscription_id": [],
"sensor_group_id": [], "data_source": "DME", "data": {
"interfaceEntity": {"attribute": {"childAction": "", "descr": "",
"dn": "sys / intf", "modTs": "2017-09-19T13: 24: 14.751 + 00: 00",
"monPolDn": "uni / fabric / monfab-default", "persistentOnReload": "true",
"status": ""}, "children": [{"l3LbRtdIf": {"attribute": {
"adminSt": "up", "childAction": "", "descr": "Nothing", "id":
"lo103", "linkLog": "default", "modTs":
«2017-11-06T23: 18: 02.974 + 00: 00», «monPolDn»:
"uni / fabric / monfab-default", "name": "", "persistentOnReload": "true",
"rn": "lb- [lo103]", "status": "", "uid": "0"}, "children": [{
"ethpmLbRtdIf": {"attribute": {"currErrIndex": "4294967295",
"ifIndex": "335544423", "iod": "14", "lastErrors": "0,0,0,0",
"operBitset": "", "operDescr": "Nothing", "operMtu": "1500",
"operSt": "up", "operStQual": "none", "rn": "lbrtdif"}}}, {
"nwRtVrfMbr": {"attribute": {"childAction": "", "l3vmCfgFailedBmp":
"", "l3vmCfgFailedTs": "00: 00: 00: 00.000", "l3vmCfgState": "0",
"modTs": "2017-11-06T23: 18: 02.945 + 00: 00", "monPolDn": "",
"parentSKey": "unspecified", "persistentOnReload": "true", "rn":
"rtvrfMbr", "status": "", "tCl": "l3Inst", "tDn": "sys / inst-default",
"tSKey": ""}}}]}}, {"l3LbRtdIf": {"attribute": {"adminSt":
"up", "childAction": "", "descr": "Nothing", "id": "lo104",
"linkLog": "default", "modTs": "2018-01-25T15: 54: 20.367 + 00: 00",
"monPolDn": "uni / fabric / monfab-default", "name": "",
"persistentOnReload": "true", "rn": "lb- [lo104]", "status": "", "uid":
"0"}, "children": [{"ethpmLbRtdIf": {"attribute": {
"currErrIndex": "4294967295", "ifIndex": "335544424", "iod": "77",
"lastErrors": "0,0,0,0", "operBitset": "", "operDescr":
"Nothing", "operMtu": "1500", "operSt": "up", "operStQual":
"none", "rn": "lbrtdif"}}}, {"nwRtVrfMbr": {"attribute": {
"childAction": "", "l3vmCfgFailedBmp": "", "l3vmCfgFailedTs":
«00: 00: 00: 00.000», «l3vmCfgState»: «0», «modTs»:
"2018-01-25T15: 53: 55.757 + 00: 00", "monPolDn": "", "parentSKey":
"unspecified", "persistentOnReload": "true", "rn": "rtvrfMbr",
"status": "", "tCl": "l3Inst", "tDn": "sys / inst-default", "tSKey": ""
}}}]}}, {"l3LbRtdIf": {"attribute": {"adminSt": "up",
"childAction": "", "descr": "Nothing", "id": "lo101",
"linkLog": "default", "modTs": "2017-11-13T21: 39: 58.910 + 00: 00",
"monPolDn": "uni / fabric / monfab-default", "name": "",
"persistentOnReload": "true", "rn": "lb- [lo101]", "status": "", "uid":
"0"}, "children": [{"ethpmLbRtdIf": {"attribute": {
"currErrIndex": "4294967295", "ifIndex": "335544421", "iod": "12",
"lastErrors": "0,0,0,0", "operBitset": "", "operDescr":
"Nothing", "operMtu": "1500", "operSt": "up", "operStQual":
"none", "rn": "lbrtdif"}}}, {"nwRtVrfMbr": {"attribute": {
"childAction": "", "l3vmCfgFailedBmp": "", "l3vmCfgFailedTs":
«00: 00: 00: 00.000», «l3vmCfgState»: «0», «modTs»:
"2017-11-13T21: 39: 58.880 + 00: 00", "monPolDn": "", "parentSKey":
"unspecified", "persistentOnReload": "true", "rn": "rtvrfMbr",
"status": "", "tCl": "l3Inst", "tDn": "sys / inst-default", "tSKey": ""
}}}]}}, {"l3LbRtdIf": {"attribute": {"adminSt": "up",
"childAction": "", "descr": "\" ^: tier2: if: loopback: mgmt: l3 \ "", "id":
"lo0", "linkLog": "по умолчанию", "modTs": "2017-09-25T20: 29: 54.003 + 00: 00",
"monPolDn": "uni / fabric / monfab-default", "name": "",
"persistentOnReload": "true", "rn": "lb- [lo0]", "status": "", "uid":
"0"}, "children": [{"ethpmLbRtdIf": {"attribute": {"currErrIndex": "4294967295", "ifIndex": "335544320", "iod": "11",
"lastErrors": "0,0,0,0", "operBitset": "", "operDescr":
"\" ^: tier2: if: loopback: mgmt: l3 \ "", "operMtu": "1500", "operSt": "up",
"operStQual": "none", "rn": "lbrtdif"}}}, {"nwRtVrfMbr": ...
Я получаю сообщение об ошибке, когда пытаюсь углубиться, я получаю сообщение об ошибке типа данных: