asyrjasalo / RESTinstance

Robot Framework library for RESTful JSON APIs
https://asyrjasalo.github.io/RESTinstance
GNU Lesser General Public License v3.0
203 stars 84 forks source link

Is it possible to assert the array values using Array keyword. #108

Closed Mario-P closed 3 years ago

Mario-P commented 3 years ago

Lets assume that we have the following response: { "numbers": [1, 2, 3, 4] }

Is it possible to verify the value of numbers array using: Array $.numbers

What shall be put then in the enum field?

What if in the response we will have array of arrays: { "numbers": [[1,2,3], [2], [3], [4]] }

asimell commented 3 years ago

This seems like a duplicate of #67 and #68. Closing the issue, let's continue discussion there.