javascript - http request and convert to json with comparision of json -
i want make http request url lets http://test1.com/info give me xml i want convert xml 1 json lets json 1 now make rest request url lets http://test2.com/myweb returns json lets json 2 json 1 [ { "id": "123", "testname": "test123", "name": "john doe", "active": true, "type": "test6" } { "id": "456", "testname": "test564", "name": "ship therasus", "active": true, "type": "test7" } .... 100 entries ] , json 2 below [ { "id": "123", "country": "usa", "state": "ka", "age": 24, "group": "g1...