summaryrefslogtreecommitdiffstats
path: root/wrap-json.h
AgeCommit message (Collapse)AuthorFilesLines
2018-12-13wrap-json: new helper functions for comparisonjobol1-1/+9
The new functions are - wrap_json_clone_depth: clone with defined depth - wrap_json_sort: sort an array accordingly to wrap_json_cmp - wrap_json_keys: compute the array of sorted keys - wrap_json_cmp: compare 2 items - wrap_json_equal: test equallity - wrap_json_contains: test inclusion Change-Id: I9787bff6c262fa2702c27802d771e2d487ce6309 Signed-off-by: jose bollo <jose.bollo@iot.bzh>
2018-12-13wrap-json: Add clone facilityJosé Bollo1-1/+5
This adds 3 new facilities: - wrap_json_clone: clones any json object superficially - wrap_json_clone_deep: clones any json object deeply - wrap_json_add: adds to an object the fields of an other object Change-Id: I3844d972aa6477c9dde6f66ad0b0604284a853a7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-12-13Include afb-utilities from C++ easilyRomain Forlot1-0/+7
Change-Id: Ic1c815b412d372a418c2faa51fea451c9100693c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-12-13Initializing the repoRomain Forlot1-0/+46
Change-Id: I354a1c136a57e1ec8d511041fbd13a19b730c419 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>