I'm getting the following JSON response from the server:
[{"id":"1","pid":"0","type":"Individual","code":"i","status":"1"},
{"id":"2","pid":"0","type":"Group","code":"g","status":"1"},
{"id":"15","pid":"0","type":"asdasd","code":"asd","status":"1"},
{"id":"16","pid":"0","type":"asdas","code":"asd","status":"1"},
{"id":"17","pid":"0","type":"my check","code":"mt","status":"1"}]
How can I make jQuery foreach loop and get only values of id and type.