In this Dart/Flutter tutorial, we’re gonna look at ways to convert/parse JSON string into Object, Nested Object, how to parse JSON array, array of JSON objects into List. Finally, you can parse complex JSON into Nested Object (that also contains array as a field).
In this tutorial, we’re gonna look at way to parse JSON into Data Class, Array, Map and do the opposite: convert object, Array, Map to JSON in Kotlin with the help of Gson library.
– Kotlin List & Mutable List tutorial with examples
– Kotlin – Convert Object to JSON and vice versa using Jackson
– Kotlin – Convert object of a Data Class to another Data Class object
– Kotlin Android – Read JSON file from assets using Gson
Support Tool: Json Formatter