Open GoogleCodeExporter opened 8 years ago
Perhaps this should be added to JsonPath and XmlPath instead? E.g.
Greeting greeting =
get("/something").jsonPath().map().includeString("greeting.firstName").and().inc
lude("greeting.lastName").to(Greeting.class);
Original comment by johan.ha...@gmail.com
on 7 Oct 2011 at 7:37
Perhaps:
Greeting greeting =
get("/something").jsonPath().map().path("greeting.firstName",
String.class).and().path("greeting.lastName").to(Greeting.class);
Original comment by johan.ha...@gmail.com
on 16 Dec 2011 at 3:24
Greeting greeting =
get("/something").andMap().path("greeting.firstName").and().path("greeting.lastN
ame").to(Greeting.class);
Here we could determine whether to use JsonPath or XmlPath by looking at the
content-type of the response
Original comment by johan.ha...@gmail.com
on 16 Dec 2011 at 3:26
Original issue reported on code.google.com by
johan.ha...@gmail.com
on 6 Oct 2011 at 4:54