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

Add support for JsonPath syntax #143

Closed
johanhaleby opened this issue Jul 20, 2015 · 2 comments
Closed

Add support for JsonPath syntax #143

johanhaleby opened this issue Jul 20, 2015 · 2 comments

Comments

@johanhaleby
Copy link
Collaborator

Specify that you can set the pathSyntax:

RestAssured.pathSyntax = JSON_PATH;
RestAssured.pathSyntax = GROOVY;

JSON_PATH requires http://code.google.com/p/json-path/ in CP (optional 
dependency) whereas GROOVY uses the current impl.


Note that this setting should not be affected by the reset() method.

Original issue reported on code.google.com by johan.ha...@gmail.com on 15 Feb 2011 at 7:45

@johanhaleby
Copy link
Collaborator Author

Use: RestAssured.setPathSyntax(JSON, GROOVY)

Original comment by johan.ha...@gmail.com on 15 Feb 2011 at 3:47

@johanhaleby
Copy link
Collaborator Author

Perhaps it should be called syntaxProvider or pathSyntaxProvider

Original comment by johan.ha...@gmail.com on 3 Mar 2011 at 7:25

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

No branches or pull requests

1 participant