aboutsummaryrefslogtreecommitdiff
path: root/testing/sg_tst_json_builder.c
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2022-06-25 04:05:14 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2022-06-25 04:05:14 +0000
commit2e225c87784735360e9619766efe06782179a86a (patch)
tree1df2832c733c55207261b829ec7f0146287afe82 /testing/sg_tst_json_builder.c
parenta3eb530bb4b93949287f19a2b6fb418901f1f699 (diff)
downloadsg3_utils-2e225c87784735360e9619766efe06782179a86a.tar.gz
sg_rem_rest_elem: new utility for removing or restoring elements; bug fixes
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@955 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'testing/sg_tst_json_builder.c')
-rw-r--r--testing/sg_tst_json_builder.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/sg_tst_json_builder.c b/testing/sg_tst_json_builder.c
index 039c10fe..d48e8cfe 100644
--- a/testing/sg_tst_json_builder.c
+++ b/testing/sg_tst_json_builder.c
@@ -68,7 +68,8 @@ main(int argc, char * argv[])
printf("jv2p->type=%d\n", jv2p->type);
else
printf("jv2p is NULL\n");
- ja2p = json_array_push(ja1p, json_string_new("hello world 99"));
+ ja2p = json_array_push(ja1p, json_string_new(
+ "test double quote, etc: \" world \\ 99\t\ttwo tabs"));
if (ja2p)
printf("ja2p->type=%d\n", ja2p->type);
else