Age | Commit message (Collapse) | Author | Files | Lines |
|
Add a function to add one json array to another one.
The json array to add can be inserted at any place of the json array
to complete using 'idx' parameter.
Also, correct minor mistake in 'wrap_json_object_add' description.
BUG-AGL: SPEC-2867
Change-Id: I8936f298a4499f265646a75584d7fe6b29700513
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Change-Id: I75558cf086b8b2d74297f9996abaa7f5a0b58cb7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
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>
|
|
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>
|
|
Change-Id: Ic1c815b412d372a418c2faa51fea451c9100693c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I354a1c136a57e1ec8d511041fbd13a19b730c419
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|