[luci] Help wtih JSON-RPC interface?
Steven Barth
steven at midlink.org
Mi Okt 1 01:12:13 CEST 2008
Unfortunately this library generates invalid JSON-Requests.
They look like this:
{id:1,method:"methodname",params:[]}
but the JSON standard (RFC 4627) defines object-keys (as id, method and params
above) as strings which must be surrounded by "
So LuCI replies with a parse error as it cannot correctly parse the JSON
request.
We have not tested the JSON-RPC library with any JavaScript-Clients yet but
only with clients in other programming langauges like Python.
Greetings
Cyrus
More information about the luci
mailing list