-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to assert values of a JSON array? #26
Comments
The JSON API is pretty limited right now, so I don't think you have many options there. |
Are there plans to add support for Jsonpath (https://www.newtonsoft.com/json/help/html/QueryJsonSelectTokenJsonPath.htm) ? |
No. My focus is mostly on the main library. But we're open to PRs 😉 |
This is my 2nd day doing .NET development, so a PR is a bit of a stretch for now :-) But I managed to get what I needed manually like this:
or:
|
I am trying out fluentassertions.json and I wonder how I can assert values in a json array. Suppose I have a controller that returns:
And the following test:
So far, so good. Now I would like to write something like this:
Is there a way to do this?
The text was updated successfully, but these errors were encountered: