djangid / rest-assured

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

Add path and jsonPath/xmlPath to Response #116

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Allow for this:

get("/somthing").path("some.value[0]"); // Use Xml or Json parsing dependent on 
response content-type

get("/somthing").jsonPath("some.value[0]"); // Force use of JsonPath, returns T

get("/somthing").jsonPath().getInt("some.value[0]"); // jsonPath simply returns 
a JsonPath instance

Original issue reported on code.google.com by johan.ha...@gmail.com on 4 Oct 2011 at 9:46

GoogleCodeExporter commented 8 years ago

Original comment by johan.ha...@gmail.com on 6 Oct 2011 at 5:05