final byte[] content = postToFile(target, "idx.json", parts, 30000);
if (content == null || content.length == 0) {
yacyCore.log.logWarning("yacyClient.loadIDXHosts error: empty result");
return null;
}
final JSONObject json = new JSONObject(new JSONTokener(new InputStreamReader(new ByteArrayInputStream(content))));
/* the json has the following form:
{
"version":"#[version]#",
"uptime":"#[uptime]#",
"name":"#[name]#",