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()=[ 23 1, 24 2, 25 3, 26 null, 27 5 28 ] 29 my_array= 30 [0]=1 31 [1]=2 32 [2]=3 33 [3]=4 34 [4]=5 35 [5]=null 36 [6]=7 37 my_array.to_string()=[1,2,3,4,5,null,7] 38 after del_idx(0,1)=0, my_array.to_string()=[2,3,4,5,null,7] 39 after del_idx(0,1)=0, my_array.to_string()=[3,4,5,null,7] 40 after del_idx(0,1)=0, my_array.to_string()=[4,5,null,7] 41 after del_idx(0,1)=0, my_array.to_string()=[5,null,7] 42 after del_idx(0,1)=0, my_array.to_string()=[null,7] 43 after del_idx(0,1)=0, my_array.to_string()=[7] 44 after del_idx(0,1)=0, my_array.to_string()=[] 45 after del_idx(0,1)=-1, my_array.to_string()=[] 46 after del_idx(0,7)=0, my_array.to_string()=[] 47 after del_idx(0,8)=-1, my_array.to_string()=[1,2,3,4,5,null,7] 48 after del_idx(0,6)=0, my_array.to_string()=[7] 49 after adding more entries, my_array.to_string()=[7,"s1","s2","s3"] 50 my_array= 51 [0]=1 52 [1]=2 53 [2]=3 54 [3]=4 55 [4]=5 56 [5]=null 57 [6]=7 58 my_array.to_string()=[1,2,3,4,5,null,7] 59 put_idx(5,6)=0 60 put_idx(63,0)=0 61 put_idx(129,0)=0 62 put_idx(SIZE_T_MAX,0)=-1 63 my_array= 64 [0]=3 65 [1]=1 66 [2]=2 67 [3]=null 68 [4]=0 69 my_array.to_string()=[ 70 3, 71 1, 72 2, 73 null, 74 0 75 ] 76 my_array= 77 [0]=null 78 [1]=0 79 [2]=1 80 [3]=2 81 [4]=3 82 my_array.to_string()=[ 83 null, 84 0, 85 1, 86 2, 87 3 88 ] 89 find json_object(1) in my_array successfully: 1 90 baz_obj.to_string()="fark" 91 my_object= 92 abc: 12 93 foo: "bar" 94 bool0: false 95 bool1: true 96 my_object.to_string()={ 97 "abc":12, 98 "foo":"bar", 99 "bool0":false, 100 "bool1":true 101 }
This page was automatically generated by LXR 0.3.1. • OpenWrt