sj_dev
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2020
05:30 AM
What is the best approach to parse the json object and pass it to the UI ?
Hey
New to the Roku Development. We have common UI, we want to feed the UI with the response coming from the server. What is the best approach to do the same?
Also the json which is received from the server is different for different scenario.
eg Response 1 {"movieName": "Spiderman", "releaseYear" : "2017"}
Response 2 {"showName": "GOT", "airingDate": "2011"}
Response 3 {"personName": "Brad Pitt", "dob": "1976"}
Please let me know the best practice to do the same.