aboutsummaryrefslogtreecommitdiffstats
path: root/wrap-json.test.result
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2018-05-29 10:10:27 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-06-07 07:46:59 +0000
commit98c64eae99425fb44d96d6775d6cde3d0058cf6d (patch)
tree6098bcaf30410df7d475e1d5586696fdb05f47db /wrap-json.test.result
parent5ae2a7a90dab46cb862005191f379a24618b7215 (diff)
wrap-json: Add clone facility
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>
Diffstat (limited to 'wrap-json.test.result')
-rw-r--r--wrap-json.test.result6
1 files changed, 6 insertions, 0 deletions
diff --git a/wrap-json.test.result b/wrap-json.test.result
index b7acbb5..0edaf75 100644
--- a/wrap-json.test.result
+++ b/wrap-json.test.result
@@ -394,6 +394,12 @@ unpack("{\"foo\":42}", "{s?isi!}", "baz", &xi[0], "foo", &xi[1])
unpack("\"Pz8_Pz8_P2hlbGxvPj4-Pj4-Pg\"", "y", &xy[0], &xz[0])
SUCCESS y/19:???????hello>>>>>>>
+unpack("\"\"", "y", &xy[0], &xz[0])
+ SUCCESS y/0:
+
+unpack("null", "y", &xy[0], &xz[0])
+ SUCCESS y/0:
+
unpack("{\"foo\":\"Pz8_Pz8_P2hlbGxvPj4-Pj4-Pg\"}", "{s?y}", "foo", &xy[0], &xz[0])
SUCCESS s:foo y/19:???????hello>>>>>>>