Skip to content
Articles
Article

Simple JSON with Flutter

by Brian Armstrong flutter.institute

1 min read

Json handling in Flutter is the same as JSON handling in dart. For a more detailed description of some of the possibilities, see Using Dart with JSON Web Services [https://webdev.dartlang.org/articles/get-data/json-web-service]. Imports A single import is required to get the native Dart JSON handling. Simply add this to any file that needs to parse JSON. import 'dart:convert'; (de)serialization The dynamic nature of dart makes deserializing JSON trivial List decodedList = JSON.decode('["Flu

Forum

Questions about this, or something to add?

Discuss on the forum

Report this · Wrote this? Claim it

Supported by