formData.addParameter(Constants.PARAM_MAX_ITEMS, maxItems);
formData.addParameter(Constants.PARAM_SKIP_COUNT, skipCount);
// Important: No succinct flag here!!!
// send and parse
Response resp = post(url, formData.getContentType(), new Output() {
public void write(OutputStream out) throws Exception {
formData.write(out);
}
});
TypeCache typeCache = new ClientTypeCacheImpl(repositoryId, this);
Map<String, Object> json = parseObject(resp.getStream(), resp.getCharset());
return JSONConverter.convertObjectList(json, typeCache, true);
}