Debian Codegraph @

modules/json-c/tests/test1.expected

raw
1 my_string=
2 my_string.to_string()="\t"
3 my_string=\
4 my_string.to_string()="\\"
5 my_string=/
6 my_string.to_string()="\/"
7 my_string.to_string(NOSLASHESCAPE)="/"
8 my_string=/foo/bar/baz
9 my_string.to_string()="\/foo\/bar\/baz"
10 my_string.to_string(NOSLASHESCAPE)="/foo/bar/baz"
11 my_string=foo
12 my_string.to_string()="foo"
13 my_int=9
14 my_int.to_string()=9
15 my_null.to_string()=null
16 my_array=
17 [0]=1
18 [1]=2
19 [2]=3
20 [3]=null
21 [4]=5
22 my_array.to_string()=[ 1, 2, 3, null, 5 ]
23 my_array=
24 [0]=1
25 [1]=2
26 [2]=3
27 [3]=4
28 [4]=5
29 [5]=null
30 [6]=7
31 my_array.to_string()=[ 1, 2, 3, 4, 5, null, 7 ]
32 after del_idx(0,1)=0, my_array.to_string()=[ 2, 3, 4, 5, null, 7 ]
33 after del_idx(0,1)=0, my_array.to_string()=[ 3, 4, 5, null, 7 ]
34 after del_idx(0,1)=0, my_array.to_string()=[ 4, 5, null, 7 ]
35 after del_idx(0,1)=0, my_array.to_string()=[ 5, null, 7 ]
36 after del_idx(0,1)=0, my_array.to_string()=[ null, 7 ]
37 after del_idx(0,1)=0, my_array.to_string()=[ 7 ]
38 after del_idx(0,1)=0, my_array.to_string()=[ ]
39 after del_idx(0,1)=-1, my_array.to_string()=[ ]
40 after del_idx(0,7)=0, my_array.to_string()=[ ]
41 after del_idx(0,8)=-1, my_array.to_string()=[ 1, 2, 3, 4, 5, null, 7 ]
42 after del_idx(0,6)=0, my_array.to_string()=[ 7 ]
43 after adding more entries, my_array.to_string()=[ 7, "s1", "s2", "s3" ]
44 my_array=
45 [0]=3
46 [1]=1
47 [2]=2
48 [3]=null
49 [4]=0
50 my_array.to_string()=[ 3, 1, 2, null, 0 ]
51 my_array=
52 [0]=null
53 [1]=0
54 [2]=1
55 [3]=2
56 [4]=3
57 my_array.to_string()=[ null, 0, 1, 2, 3 ]
58 baz_obj.to_string()="fark"
59 my_object=
60 abc: 12
61 foo: "bar"
62 bool0: false
63 bool1: true
64 my_object.to_string()={ "abc": 12, "foo": "bar", "bool0": false, "bool1": true }