5
这里1310只有针对单个字段的设置, 如果类里面字段比较多的话, 就要累死了. 通过application/x-www-form-urlencoded方式提交时, spring mvc有提供org.springframework.beans.propertyeditors.StringTrimmerEditor处理, 通过application/json提交时, 针对jackson也有StdScalarDeserializer能进行全局处理. fastjson能不能也加上这么个功能呢, 这在前端无法控制时, 还是很有用的