Make bools correctly display as booleans

dbus.Boolean gets converted to int when translating
to json. If we convert it to python bool first it
gets displayed as a bool.

Tested-by: Navigated to debug server and saw all bools
read as "true" and "false" instead of 1 and 0.

Change-Id: Ic47bacab86ca5a58da435d27290cded98957cb21
Signed-off-by: James Feist <james.feist@linux.intel.com>
1 file changed
tree: ee7d8c9f7feeee5298817c8539f65ab9ad026ff9
  1. resources/
  2. LICENSE
  3. MAINTAINERS
  4. README.md
  5. rest-dbus
  6. setup.cfg
  7. setup.py
README.md

rest-dbus: web interface to a dbus API

Losely based on https://github.com/joshtronic/python-dbus-rest-server.

Includes code from the following projects:

jQuery

jsTree plugin for jQuery

JsRender