我具有两种格式的相同类型的数据,但是我不确定它们是哪种格式。
数据格式1
{
"ArraytionGroup": {
"-xmlns:xsd": "http://www.w3.org/2001/XMLSchema","-xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance","LocationGroup": [
{
"Id": "6","Uuid": "894055b6-971ecc0c7224","Name": {
"-xmlns": "http://www.air-watch.com/servicemodel/resources","#text": "gtg"
},"GroupId": { "-xmlns": "http://www.air-watch.com/servicemodel/resources" },"LocationGroupType": {
"-xmlns": "http://www.air-watch.com/servicemodel/resources","#text": "C"
},"Country": {
"-xmlns": "http://www.air-watch.com/servicemodel/resources","#text": "s"
},"Locale": {
"-xmlns": "http://www.air-watch.com/servicemodel/resources","#text": "kk"
},"ParentLocationGroup": {
"-xmlns": "http://www.air-watch.com/servicemodel/resources","-uuid": "bdce439362","#text": "70"
},"CreatedOn": {
"-xmlns": "http://www.air-watch.com/servicemodel/resources","#text": "2/21/2018 3:08:55 PM"
},}
数据格式2
<?xml version="1.0" encoding="utf-8" ?>
<SarttGroupSe xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.air-watch.com/servicemodel/resources">
<Page>0</Page>
<PageSize>500</PageSize>
<Total>61</Total>
<LocationGroups>
<Id xmlns="">655</Id>
<Name>EDX</Name>
<GroupId>DDDD</GroupId>
<LocationGroupType>Container</LocationGroupType>
<Country/>
<Locale/>
<Users>0</Users>
<Admins>0</Admins>
<Devices>0</Devices>
</LocationGroups>
<LocationGroups>
<Id xmlns="">2</Id>
<Name>EE</Name>
<GroupId>New</GroupId>
<LocationGroupType>C</LocationGroupType>
<Country/>
<Locale/>
<Users>0</Users>
<Admins>0</Admins>
<Devices>0</Devices>
</LocationGroups>
<LocationGroups>
<Id xmlns="">6</Id>
<Name>RAC</Name>
<LocationGroupType>Ciner</LocationGroupType>
<Country/>
<Locale/>
<Users>0</Users>
<Admins>0</Admins>
<Devices>0</Devices>
</LocationGroups>
</SarttGroupSe>
这些数据可以用什么格式帮助我?