I'm using JSoup to authenticate then connect to a website. Some URL have a JSON response (because part of the site is in AJAX). Can JSoup handle JSON response ?
Connection.Response doc = Jsoup.connect("...")
.data(...)
.cookie(...)
.header(...)
.method(Method.POST)
.execute();
String result = doc.body()
In my case body is "".
- Is it because JSoup don't know how to handle JSON ? (offcourse there is no )
- Or because there is an error in my request ?
Is there JSoup like libraries for JSON ?