Tag: 杰森·

在Spring项目中将JSON字符串转换为Data Class实例

在控制器函数中,我通过@RequestBody获取JSON作为data class 。 我想将data class存储为字符串,然后将其重新转换为data class 。 我怎么能做到这一点?