Merge remote-tracking branch 'origin/master' into init_auto
[nit.git] / tests / sav / test_serialization_alt1.res
1 # Nit:
2 <A: true a 0.123 1234 asdf false>
3
4 # Json:
5 {"b": true,"c": "a","f": 0.123,"i": 1234,"s": "asdf","n": null,"array": [88,"hello",null]}
6
7 # Nit:
8 <B: <A: false b 123.123 2345 hjkl true> 1111 qwer>
9
10 # Json:
11 {"b": false,"c": "b","f": 123.123,"i": 2345,"s": "hjkl","n": 12,"array": [88,"hello",null],"ii": 1111,"ss": "qwer"}
12
13 # Nit:
14 <C: <A: true a 0.123 1234 asdf false> <B: <A: false b 123.123 2345 hjkl true> 1111 qwer>>
15
16 # Json:
17 {"a": {"b": true,"c": "a","f": 0.123,"i": 1234,"s": "asdf","n": null,"array": [88,"hello",null]},"b": {"b": false,"c": "b","f": 123.123,"i": 2345,"s": "hjkl","n": 12,"array": [88,"hello",null],"ii": 1111,"ss": "qwer"},"aa": {"b": true,"c": "a","f": 0.123,"i": 1234,"s": "asdf","n": null,"array": [88,"hello",null]}}
18
19 Serialization warning: Cycle detected in serialized object, replacing reference with 'null'.
20 # Nit:
21 <D: <B: <A: false b 123.123 2345 new line ->
22 <- false> 1111  f"\r\/> true>
23
24 # Json:
25 {"b": false,"c": "b","f": 123.123,"i": 2345,"s": "new line ->\n<-","n": null,"array": [88,"hello",null],"ii": 1111,"ss": "\tf\"\r\\/","d": null}
26