Open renjie-rm opened 3 years ago
A object contains A collection of B objects, public class A { private List<B> b; public static class B { private String name; } }
public class A { private List<B> b; public static class B { private String name; } }
Convert to JSON result: { "b": { "name": "demoData" } }
{ "b": { "name": "demoData" } }
A object contains A collection of B objects,
public class A { private List<B> b; public static class B { private String name; } }
Convert to JSON result:
{ "b": { "name": "demoData" } }