sylvainfilteau/Refer — Issue #1: Normalized JSon
Author: clesquir
Created: 2011-12-19 15:03:56+00:00
State: open

The generated pages.json should return a more conventional json. As for now, it returns something like this:
{
"name":"",
"child_nodes":[{
"name":"Programmation",
"child_nodes":[],
"pages":[{
"id":"normes",
"title":"Normes"
}]
}],
"pages":[{
"id":"index",
"title":"Titre"
},{
"id":"refer",
"title":"refer"
}]
}

It should return something like this:
{
"id":"root",
"child_nodes":[{
"id":"programmation",
"title":"Programmation",
"child_nodes":[{
"id":"normes",
"title":"Normes"
}]
},{
"id":"index",
"title":"Titre"
},{
"id":"refer",
"title":"refer"
}]
}