Created
July 4, 2014 23:40
-
-
Save hhariri/b374e84491da5a753fea to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val http = EasyHttp() | |
http.get("http://localhost/customers", callback = { | |
assertEquals("joe", asJson("results.customers[10].name")) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Obviously in this case, customers would return:
{
results: [{name:...}]
}
if there's no results, then you don't need to prefix it...