X-Git-Url: http://nitlanguage.org diff --git a/tests/sav/test_json_deserialization_alt4.res b/tests/sav/test_json_deserialization_alt4.res index 5527174..ceaeca5 100644 --- a/tests/sav/test_json_deserialization_alt4.res +++ b/tests/sav/test_json_deserialization_alt4.res @@ -11,6 +11,9 @@ "n": null } +# Back in Nit: + + # Nit: 1111 qwer> @@ -26,6 +29,9 @@ "ss": "qwer" } +# Back in Nit: + 1111 qwer> + # Nit: 1111 qwer>> @@ -59,6 +65,9 @@ } } +# Back in Nit: + 1111 qwer>> + Serialization warning: Cycle detected in serialized object, replacing reference with 'null'. # Nit: @@ -77,52 +86,51 @@ Serialization warning: Cycle detected in serialized object, replacing reference "d": null } +# Back in Nit: + +<- false p4ssw0rd> 1111 f" \/> false> + # Nit: # Json: { - "a": [ - "hello", - 1234, - 123.4 - ], - "b": [ - "hella", - 2345, - 234.5 - ] + "a": ["hello", 1234, 123.4], + "b": ["hella", 2345, 234.5] } +# Back in Nit: + + # Nit: - + # Json: { "n": 2222 } +# Back in Nit: + + # Nit: - + # Json: { "n": 33.33 } +# Back in Nit: + + # Nit: # Json: { - "hs": [ - -1, - 0 - ], - "s": [ - "one", - "two" - ], + "hs": [-1, 0], + "s": ["one", "two"], "hm": { "one": 1, "two": 2 @@ -133,3 +141,8 @@ Serialization warning: Cycle detected in serialized object, replacing reference } } +# Back in Nit: + + +Deserialization Error: Doesn't know how to deserialize class "Set[String]" +Deserialization Error: Wrong type on `G::s` expected `Set[String]`, got `null`