Big refactoring of the Json handling, I followed what I did from OPDS. It doesn't still feel right but I think it's better.

This commit is contained in:
Sébastien Lucas 2014-01-07 21:22:35 +01:00
parent 3f5dd74361
commit 91aa062860
5 changed files with 219 additions and 216 deletions

View file

@ -8,16 +8,10 @@
*/
require_once ("config.php");
require_once ("base.php");
require_once ("author.php");
require_once ("serie.php");
require_once ("tag.php");
require_once ("language.php");
require_once ("customcolumn.php");
require_once ("book.php");
require_once ("JSON_renderer.php");
header ("Content-Type:application/json;charset=utf-8");
echo json_encode (getJson ());
echo json_encode (JSONRenderer::getJson ());