![java - Trying to create an array of objects but it keeps using index 0 to store all of my objects - Stack Overflow java - Trying to create an array of objects but it keeps using index 0 to store all of my objects - Stack Overflow](https://i.stack.imgur.com/Mju5u.png)
java - Trying to create an array of objects but it keeps using index 0 to store all of my objects - 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) }, …(
![java - Trying to create an array of objects but it keeps using index 0 to store all of my objects - Stack Overflow java - Trying to create an array of objects but it keeps using index 0 to store all of my objects - Stack Overflow](https://i.stack.imgur.com/6WlKi.png)
java - Trying to create an array of objects but it keeps using index 0 to store all of my objects - 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/6/4/647e94aad2326be5ab4a09f7e8a6012b23611861.png)