blob: e36aaa4c4f43630d82f505feb212fd2cf9190cb8 [file] [log] [blame]
Eric Haszlakiewicz4c7f38e2012-04-28 14:14:26 -05001my_string=
2my_string.to_string()="\t"
3my_string=\
4my_string.to_string()="\\"
5my_string=foo
6my_string.to_string()="foo"
7my_int=9
8my_int.to_string()=9
9my_array=
10 [0]=1
11 [1]=2
12 [2]=3
13 [3]=null
14 [4]=5
15my_array.to_string()=[ 1, 2, 3, null, 5 ]
16my_array=
17 [0]=3
18 [1]=1
19 [2]=2
20 [3]=null
21 [4]=0
22my_array.to_string()=[ 3, 1, 2, null, 0 ]
23my_array=
24 [0]=null
25 [1]=0
26 [2]=1
27 [3]=2
28 [4]=3
29my_array.to_string()=[ null, 0, 1, 2, 3 ]
Eric Haszlakiewiczc3d1d592012-09-16 20:49:22 -050030baz_obj.to_string()="fark"
Eric Haszlakiewicz4c7f38e2012-04-28 14:14:26 -050031my_object=
32 abc: 12
33 foo: "bar"
34 bool0: false
35 bool1: true
36my_object.to_string()={ "abc": 12, "foo": "bar", "bool0": false, "bool1": true }