You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Read the documentation, maybe we already have the feature
Is your feature request related to a problem? Please describe.
I couldn't find documentation about asserting the content of an array at root. In the end I found that the path to refer to an array at the json root is "", so this works:
Hi, sorry for late response. What is the reason to access the root using path if you can write directly this assertThat("[\"foo\",\"bar\"]", hasSize(2));? I should definitely document it, I just wonder what the use-case is.
Read the documentation, maybe we already have the feature
Is your feature request related to a problem? Please describe.
I couldn't find documentation about asserting the content of an array at root. In the end I found that the path to refer to an array at the json root is "", so this works:
Describe the solution you'd like
Add array assertions at root to documentation
The text was updated successfully, but these errors were encountered: