-5

I Am getting this Json Response from server how to deseriallize the json string

{ "results": { "status": "true", "message": "Successfully Get Data", "PdfData": { "Pdf_Result": [{ "Pdf_File_Name": "aft.pdf", "Subject_Name": "Maths", "Subject_Id": "1", "Chapter_ID": "M1111", "Chapter_Name": "Relations and Functions", "Downloaded": "YES" }, { "Pdf_File_Name": "date.pdf", "Subject_Name": "Maths", "Subject_Id": "1", "Chapter_ID": "M1112", "Chapter_Name": "Algebra", "Downloaded": "YES" }] } } }

Logic
  • 2,230
  • 2
  • 24
  • 41
  • Possible duplicate of [How to parse JSON in Android](http://stackoverflow.com/questions/9605913/how-to-parse-json-in-android) – David Sep 28 '16 at 09:58

2 Answers2

1

see jsonschema2pojo.org site and Gson library tutorial

Alex Shutov
  • 3,217
  • 2
  • 13
  • 11
0

https://www.javacodegeeks.com/2011/01/android-json-parsing-gson-tutorial.html

This tutorials will teach you how to parse with Json using Gson

Mohit Trivedi
  • 699
  • 3
  • 13