Comment 12 for bug 1455207

Revision history for this message
Adrien Marion (adricom) wrote :

Hi,

What is the expected json format for the suggestions ?

I saw that qwant provides something like that :
["fna",["fnac","fnac.com","fnac.fr","fnaim","fnac spectacle"]]

and I tried with some request for lilo but I received that, with no good result :
[ {"id":"0","label":"fnaf 4","value":"fnaf 4"}, {"id":"1","label":"fnaf","value":"fnaf"}, {"id":"2","label":"fnaf 3","value":"fnaf 3"}, {"id":"3","label":"fnaf movie","value":"fnaf movie"}, {"id":"4","label":"fnaf wiki","value":"fnaf wiki"}, {"id":"5","label":"fnaf song","value":"fnaf song"}, {"id":"6","label":"fnaf 4 trailer","value":"fnaf 4 trailer"}, {"id":"7","label":"fnaf 3 song","value":"fnaf 3 song"}, {"id":"8","label":"fnaf 3 trailer","value":"fnaf 3 trailer"}, {"id":"9","label":"fnaf 3 demo","value":"fnaf 3 demo"}, {} ]

Thanks in advance !