定义map时定义为Map<String, Object>确实会将3,转为3.0. 定义为Map<String, String>就可以了。 Map<String, String> resultMap2 = gson.
確定! 回上一頁