提交 fdaa7104 编写于 作者: 杜庆泉's avatar 杜庆泉

调整 IJsonStringify测试示例

上级 03a3982d
...@@ -50,31 +50,31 @@ class A1 implements IJsonStringify{ ...@@ -50,31 +50,31 @@ class A1 implements IJsonStringify{
} }
class A2 implements IJsonStringify{ class A2 implements IJsonStringify{
override toJSON():any|null{ toJSON():any|null{
return 2 return 2
} }
} }
class A3 implements IJsonStringify{ class A3 implements IJsonStringify{
override toJSON():any|null{ toJSON():any|null{
return "json" return "json"
} }
} }
class A4 implements IJsonStringify{ class A4 implements IJsonStringify{
override toJSON():any|null{ toJSON():any|null{
return null return null
} }
} }
class A5 implements IJsonStringify{ class A5 implements IJsonStringify{
override toJSON():any|null{ toJSON():any|null{
return new A1() return new A1()
} }
} }
class A6 implements IJsonStringify{ class A6 implements IJsonStringify{
override toJSON():any|null{ toJSON():any|null{
return new A5() return new A5()
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册