Added CLICON_XMLDB_PRETTY option. If set to false, XML database files will be more compact.

Added CLICON_XMLDB_FORMAT option. Default is "xml". If set to "json", XML database files uses JSON format.
Escape " in JSON names and strings and values
Optimized search performance for large lists by sorting and binary search.
This commit is contained in:
Olof hagsand 2017-12-29 18:09:26 +01:00
parent 4b92dbdc10
commit 174cfc02c6
15 changed files with 428 additions and 161 deletions

View file

@ -21,8 +21,7 @@ sudo clixon_backend -z -f $cfg
if [ $? -ne 0 ]; then
err
fi
new "start backend"
# start new backend
new "start backend -s init -f $cfg"
sudo clixon_backend -s init -f $cfg
if [ $? -ne 0 ]; then
err