fastjson处理下划线和驼峰问题的方法
/*Feature.DisableFieldSmartMatch用于关闭下划线、大小写user-name userName UserName等价*/JSONObject.parseObject(strJson, class, Feature.DisableFieldSmartMatch);
·
/*Feature.DisableFieldSmartMatch用于关闭下划线、大小写 user-name userName UserName等价*/
JSONObject.parseObject(strJson, class, Feature.DisableFieldSmartMatch);
更多推荐
所有评论(0)