Need to serialize as JSON string using multiple separate keys in POJO using jackson?

后端 未结 0 1802
遥遥无期
遥遥无期 2021-01-26 10:13

I have a java class as mentioned below, In that, I want to create an inner JSON using duration & durationType while serialization using Jackson.

public class          


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