hmpatel / rest-assured

Automatically exported from code.google.com/p/rest-assured
0 stars 0 forks source link

Add support for JsonPath syntax #31

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
Use: RestAssured.setPathSyntax(JSON, GROOVY)

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

GoogleCodeExporter commented 9 years ago
Perhaps it should be called syntaxProvider or pathSyntaxProvider

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