我正在尝试从带有转义字符的JSON对象中读取元素。
我要读取的对象如下:
{
"ScenarioId":".PT.RAN-2G_OC_8338828",
"ActionStatus":"NEW",
"TicketJourneyTypeId":"2GCDN",
"TicketJourneyId":"TJ0002200000",
"Opco":"PT",
"FirstAlarmDate":"20180705135900000",
"MainAlarmDate":"20180705135900000",
"MainAlarmSeverity":"Major",
"Priority":"PRIO3",
"AlarmList":
[
{
"ocname":".pt.ran-2g_oc",
"identifier":"8572032",
"startdate":"2018-07-04T00:55:44.340+0100",
"vendor":"ERICSSON",
"site":"3275_SANTO ANTONIO CENTRO.PT",
"location":"3275_SANTO ANTONIO CENTRO - CIL:314070035",
"district":"Ilha da Madeira",
"criticalsite":"NO",
"lightlocation":"YES",
"siteresponsible":"victor.rodrigues1",
"managedobject":"MB4159",
"shortat":"CELL LOGICAL MB4159A BCCH SDCCH TCH",
"additionaltext":"CELL LOGICAL MB4159A BCCH SDCCH TCH*** ALARM 144 A1/APT "FUN2BE_G18Q2"U 180704 0051"
},
{
"ocname":".pt.ran-2g_oc",
"identifier":"8572033",
"startdate":"2018-07-04T00:55:44.340+0100",
"vendor":"ERICSSON",
"site":"3275_SANTO ANTONIO CENTRO.PT",
"location":"3275_SANTO ANTONIO CENTRO - CIL:314070035",
"district":"Ilha da Madeira",
"criticalsite":"NO",
"lightlocation":"YES",
"siteresponsible":"victor.rodrigues1",
"managedobject":"MB4159",
"shortat":"CELL LOGICAL MB4159A BCCH SDCCH TCH",
"additionaltext":"CELL LOGICAL MB4159A BCCH SDCCH TCH*** ALARM 144 A1/APT "FUN2BE_G18Q2"U 180704 0052"
},
]
}
对于“ additionaltext”字段,我用双引号引起来,我想知道如何替换或处理那些。
感谢任何帮助。 谢谢。