How to Create JSONArray for a List

后端 未结 7 2006
南旧
南旧 2020-12-30 00:47

I have a class called

class Student {
   String name;
   String age;
}

I have a method that returns List object like

publi         


        
相关标签:
7条回答
  • 2020-12-30 01:40

    json-lib is likely the library you are looking for. you can find som examples of usage here.

    0 讨论(0)
提交回复
热议问题