In this Java-Android tutorial, I will show you how to read and parse JSON file from assets using Gson.
In this Kotlin-Android tutorial, I will show you how to read and parse JSON file from assets using Gson.
– Kotlin – Convert object to/from JSON string using Gson
– How to read File in Kotlin
In this tutorial, we’ll show you many Kotlin HashMap methods and functions that also work on Android. You will see many examples to:
- Create, initialize, add item, get value, update, remove entries in a HashMap
- Iterate over a HashMap
- Filter a HashMap
- Convert HashMap to List, transform a HashMap keys or values