Skip navigation

Import JSON data files

Import JSON data files: Android Development Essential Training: Local Data Storage
Import JSON data files: Android Development Essential Training: Local Data Storage

The Gson library can be used to read a JSON file into memory, and automatically cast the results as your own strongly typed data classes. JSON strings don't store the types of our data, so you have to tell Gson what type to use when importing. If you're only working with a list of data, it's helpful to create a wrapper class: a data management class that has that strongly typed list as a member.

Resume Transcript Auto-Scroll
Skill Level Intermediate
3h 56m
Duration
190,199
Views
Show More Show Less

Q: This course was updated on 12/15/2017. What changed?

A: New videos were added that cover bundling static data in a resource file, managing SQLite transactions, and managing SQLite databases with Room.

Q: This course was updated on 12/15/2017. What changed?

A: New videos were added that cover bundling static data in a resource file, managing SQLite transactions, and managing SQLite databases with Room.

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start My Free Month

Start your free month on LinkedIn Learning, which now features 100% of Lynda.com courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month

You are now leaving Lynda.com and will be automatically redirected to LinkedIn Learning to start your free trial.