Dart/Flutter – Convert Object, List to JSON string

In this Dart/Flutter JSON encode tutorial, I will show you ways to convert Object, Nested Object, List, List of JSON objects into JSON string. Finally, you can convert a complex Nested Object (that contains some fields and a List of objects field) into JSON string.

Related Posts:
Dart/Flutter – Convert/Parse JSON string, array into Object, List
Dart/Flutter – Sort list of Objects
Dart/Flutter Constructors tutorial with examples
Dart/Flutter String Methods & Operators tutorial with examples
Dart/Flutter Future Tutorial with Examples
Dart/Flutter List Tutorial with Examples
Dart/Flutter Map Tutorial with Examples

Read More

Kotlin – Convert JSON to Object and vice versa using Jackson

In this tutorial, we’re gonna look at way to convert JSON string, JSON file, JSON url into Object, Array, Map and do the opposite: convert Object to JSON String in Kotlin using Jackson library.

Related Posts:
Kotlin List & Mutable List tutorial with examples
Kotlin – parse JSON to object & convert object to JSON using Gson
Kotlin – Convert object of a Data Class to another Data Class object

Read More