How to make a generic function for Jackson/ObjectMapper in java?

后端 未结 0 778
离开以前
离开以前 2021-01-25 20:18

So I have these methods:

private List toClientRepresentation(String json) {
    try {
        return objectMapper.readValue(json, new          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题