charlesProfileCharles Feng
ArticlesTagsAbout me

FastJson 转换 Map

2018-03-21
MapFastJson
Map<SeatInfo, Double> priceMap = JSON.parseObject(jsonStr, new TypeReference<HashMap<SeatInfo, Double>>() {});

参考

  • 使用fastjson将json字符串转换为Map
CharlesFengProfile

希望有帮到您(≧∇≦)

📕 小红书🎧 Apple Music Playlist
GitHubGitHub ActionsGatsby.js