![I need to loop through a complex JSON ARRAY of objects to return only two items using LODASH with Typescript - Stack Overflow I need to loop through a complex JSON ARRAY of objects to return only two items using LODASH with Typescript - Stack Overflow](https://i.stack.imgur.com/f0o41.png)
I need to loop through a complex JSON ARRAY of objects to return only two items using LODASH with Typescript - Stack Overflow
![I am trying to validate Datatype of JSON data and I am getting error as "Test data type of the response | AssertionError: expected [ { id: 1, name: 'John', …(3) }, …( I am trying to validate Datatype of JSON data and I am getting error as "Test data type of the response | AssertionError: expected [ { id: 1, name: 'John', …(3) }, …(](https://global.discourse-cdn.com/getpostman/original/3X/5/5/554b239f5e5d461a8bf9e3272678a2571cf8ab49.png)
I am trying to validate Datatype of JSON data and I am getting error as "Test data type of the response | AssertionError: expected [ { id: 1, name: 'John', …(3) }, …(
![Understanding Simple JSON, JSON Arrays, and JSON Objects for API Testing | by Sidharth Shukla | Medium Understanding Simple JSON, JSON Arrays, and JSON Objects for API Testing | by Sidharth Shukla | Medium](https://miro.medium.com/v2/resize:fit:800/1*IRFGQJ-Mbr8kiJuV51_UUg.jpeg)