How to Create JSONArray for a List

后端 未结 7 2012
南旧
南旧 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条回答
  •  旧时难觅i
    2020-12-30 01:40

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

提交回复
热议问题