json 数据定制输出
我要上火星 2013-05-27 06:10:23 <result name="success" type="json">
<param name="excludeNullProperties">true</param>
<param name="includeProperties">studentsmessage.*</param>
</result>
如上述代码,studentsmessage是一个list集合。里面包含一个Student对象。Student对象里面包含有studentid属性,如何写表达式能使json定制输出studentid这个属性,其他属性不必输出。