Olof Hagsand
353f2e6038
added merge of json trees
2018-05-15 22:24:44 +02:00
Olof hagsand
4257999df5
Fixed JSON unbalanced braces resultin assert
2018-05-06 21:06:52 +02:00
Olof hagsand
990700b68d
https://github.com/clicon/clixon/issues/16
...
Added restconf/operations get, see RFC8040 Sec 3.3.2:
2018-03-04 21:24:38 +01:00
Olof Hagsand
1e88c38877
translate xml->json \n correctly
2018-02-17 20:51:42 +00:00
Olof hagsand
2bbf0b8a15
xml2json dont put doublequotes on numbers and bool values in json
2018-02-02 16:35:37 +07:00
Olof hagsand
9914847d6a
GET Single element JSON lists use {list:[element]}, not {list:element}.
2018-01-27 13:32:51 +01:00
Olof hagsand
cd33380368
Fixed empty restconf data segv; error restconf quit; etc
2018-01-16 22:25:55 +01:00
Olof hagsand
38f0b446fa
2017->2018
2018-01-01 12:25:33 +01:00
Olof hagsand
174cfc02c6
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.
2017-12-29 18:09:26 +01:00
Olof hagsand
e169485985
Datastore cache introduced; Added yang to XML API
2017-12-02 14:49:49 +01:00
Olof Hagsand
23e40384f7
JSON negative number patch
2017-11-13 17:11:31 +00:00
Olof hagsand
7b719cc6db
Added Floating point support to JSON
2017-10-29 16:15:18 +01:00
Olof hagsand
265ed859de
mem leak
2017-08-01 19:39:19 +02:00
Olof hagsand
bc2b606167
dual license
2016-12-30 16:14:48 +01:00
Olof Hagsand
303f4a35a8
json escape etc
2016-10-06 20:58:41 +02:00
Olof Hagsand
7062a75fd7
more XML to JSON
2016-10-02 12:09:36 +02:00
Olof hagsand
831ab1be30
json list->array
2016-09-30 18:49:14 +02:00
Olof hagsand
a0b7d28bd1
xml2json again
2016-09-30 17:57:00 +02:00
Olof hagsand
1c061aaf26
xml->json translation revisited
2016-09-28 21:12:38 +02:00
Olof Hagsand
3443dbd33f
restconf plugins and figthing with xml->json translation
2016-09-26 21:44:17 +02:00
Olof hagsand
b82a8bae26
better json printing
2016-09-22 16:57:26 +02:00
Olof Hagsand
fe91ba707d
json print revert
2016-09-21 21:24:39 +02:00
Olof hagsand
b744a4ad8a
restconf; xmlput extended with api_path; xmldb_put_tree
2016-09-20 21:51:08 +02:00
Olof Hagsand
ef3c98518a
json and prettyprint
2016-08-17 21:02:53 +02:00
Olof hagsand
887d43428b
json parser
2016-08-15 09:29:22 +02:00