lishunli / nutz

Automatically exported from code.google.com/p/nutz
0 stars 0 forks source link

对于json ,null的处理 #170

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
新来的提意见,如有不当,请见谅
问题产生的条件:
  java对象为空,值被忽略

我不建议这样子做,
我承认这样子有一些好处,
我们可以发现所有的第三方对空值的处理,
他们都不会去忽略,
为什么?
我觉得
1.兼容
2.尽力不要改变用户的值,

您无法知道,这个null用户是否有用,
如果用nutz切换其他Json,用户还要修改自己的代码
OVER.

Original issue reported on code.google.com by hanjk1...@163.com on 28 Apr 2010 at 2:34

GoogleCodeExporter commented 9 years ago
sorry,我没有看到最后面....
提供了compact()
nice,clear(),

Original comment by hanjk1...@163.com on 28 Apr 2010 at 2:44

GoogleCodeExporter commented 9 years ago
sorry,我没有看到最后面....
提供了compact()
nice,clear(),

Original comment by hanjk1...@163.com on 28 Apr 2010 at 2:44

GoogleCodeExporter commented 9 years ago
sorry,我没有看到最后面....
提供了compact()
nice,clear(),

Original comment by hanjk1...@163.com on 28 Apr 2010 at 2:44

GoogleCodeExporter commented 9 years ago

Original comment by wendal1985@gmail.com on 28 Apr 2010 at 5:25

GoogleCodeExporter commented 9 years ago
我们很高兴能得到你的意见.
无论你是否为新来的,你的意见我们都会认真对待的.

Original comment by wendal1985@gmail.com on 28 Apr 2010 at 5:30

GoogleCodeExporter commented 9 years ago
从来没用过code.google.com 发帖子...
居然多提交了这么多次...
google .....这..

Original comment by hanjk1...@163.com on 28 Apr 2010 at 8:08

GoogleCodeExporter commented 9 years ago

Original comment by wendal1985@gmail.com on 13 May 2010 at 11:15