我想通过 JSON 解析,但问题是 json 对象位于<string>
标签内。如何从中获取 JSON 对象?
<string>
{ "SubListList" : {
"SubList" : [
{
"Description" : null,
"Items" : "6",
"Name" : "ANAESTHETICS",
"PPLID" : "4",
"SubListID" : "87",
"poSubListItemList" : "clsSubListItemList"
},
{
"Description" : null,
"Items" : "6",
"Name" : "Berris",
"PPLID" : "4",
"SubListID" : "93",
"poSubListItemList" : "clsSubListItemList"
},
{
"Description" : null,
"Items" : "18",
"Name" : "Dentsply",
"PPLID" : "4",
"SubListID" : "92",
"poSubListItemList" : "clsSubListItemList"
},
{
"Description" : null,
"Items" : "2",
"Name" : "INFECTION CONTROL",
"PPLID" : "4",
"SubListID" : "88",
"poSubListItemList" : "clsSubListItemList"
},
{
"Description" : null,
"Items" : "3",
"Name" : "LABORATORY PRODUCTS",
"PPLID" : "4",
"SubListID" : "89",
"poSubListItemList" : "clsSubListItemList"
},
{
"Description" : null,
"Items" : "1",
"Name" : "SURGICAL SUNDRIES",
"PPLID" : "4",
"SubListID" : "90",
"poSubListItemList" : "clsSubListItemList"
},
{
"Description" : null,
"Items" : "6",
"Name" : "X-RAY PRODUCTS",
"PPLID" : "4",
"SubListID" : "91",
"poSubListItemList" : "clsSubListItemList"
}
] }
}
</string>