Converting Json into a DTO array
问题 I have an interesting JSON parsing problem, at least to me since I am doing this for the first time. I have the following sample JSON and I want to map it to equivalent DTOs: { "modules": [ { "name":"module1", "shortId":23425, "pmns": [ { "name":"pmn1", "position":1, "pmnType":"D3" }, { "name":"pmn3", "position":3, "pmnType":"R2" }, { "name":"pmn7", "position":5, "pmnType":"S1" }, ] }, { "name":"module2", "shortId":1572, "pmns": [ { "name":"pmn1", "position":3, "pmnType":"D3" }, { "name":