Skip to content
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

Matching on play json ast instead of string #29

Open
francisdb opened this issue Sep 26, 2019 · 1 comment
Open

Matching on play json ast instead of string #29

francisdb opened this issue Sep 26, 2019 · 1 comment

Comments

@francisdb
Copy link

I would like to match the play JsValue instead of String but could not find a way to do that

import play.api.libs.json.Json._

arr(obj("name" -> "test")) should matchJson(arr(obj("name2" -> "test")))
@stephennancekivell
Copy link
Owner

Hi, not a bad idea. PR's welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants