JSON conversion in Flutter and Dart

5 min readFeb 12, 2019

A quick reference with examples

Article updated July 4, 2023 for Dart 3.

The article Parsing Complex JSON in Flutter is very good, but I was looking for something shorter, a quick reference with examples.

If I have a simple JSON string like this:

"name" : "Mary",
"age" : 30