Flutter Gems is a curated list of 7250+ useful Dart & Flutter packages that are categorized based on functionality.
Top Flutter JSON packages
Last updated: May 18, 2026
JSON (JavaScript Object Notation) is the ubiquitous data interchange format for REST APIs. Parsing and serializing JSON safely is critical to prevent app crashes from malformed backend responses.
Best Practices for JSON
- Type Safety: The standard
jsonDecode()method returnsdynamic. Never passdynamicdata directly to your UI. Always map the raw JSON map strictly into typed Dart objects. - Code Generation: Writing
fromJsonandtoJsonmethods by hand is error-prone and tedious. Usejson_serializableandfreezedto automatically generate highly optimized, type-safe serialization code. - Null Handling: Backends frequently omit fields or send
nullinstead of an empty array. Ensure your models have sensible default values or nullable types (String?) to prevent "null check operator used on a null value" crashes.
The complete list of JSON Parsers, Code Generators, and Serialization utilities for Flutter is provided below.
rfc_6901
👍 30 ⬇️ 522.6K
Dart 3 compatibleMaintenance Status: Good
JSON Pointer (RFC 6901). Reads/writes referred values in JSON documents.
yet_another_json_isolate
👍 15 ⬇️ 463.4K
Dart 3 compatibleMaintenance Status: Average
Package to simplify and improve JSON parsing in isolates by keeping one isolate running per instance.
json_path
👍 126 ⬇️ 233.5K
Dart 3 compatibleMaintenance Status: Good
Implementation of RFC 9535 - JSONPath: Query Expressions for JSON. Reads and writes values in parsed JSON objects using queries like `$.store.book[2].price`.
deep_pick
👍 158 ⬇️ 154.4K
Dart 3 compatibleMaintenance Status: Average
Simplifies manual JSON parsing with a type-safe API. No dynamic, no manual casting. Flexible inputs types, fixed output types. Useful parsing error messages
xml2json
👍 126 ⬇️ 90.3K
Dart 3 compatibleMaintenance Status: Average
An XML to JSON conversion package. Supports Badgerfish, GData, OpenRally and Parker conversions.
json_schema
👍 45 ⬇️ 173.4K
Dart 3 compatibleMaintenance Status: Good
JSON Schema implementation in Dart
flutter_json_view
👍 141 ⬇️ 15.8K
Dart 3 compatibleMaintenance Status: Average
Displaying json models in a Flutter widget with customization.
crimson
👍 127 ⬇️ 51
Dart 3 compatibleMaintenance Status: Average
Fast, efficient and easy-to-use JSON parser and serializer for Dart.
jsonc
👍 4 ⬇️ 124K
Dart 3 compatibleMaintenance Status: Poor
JSON with comments and trailing commas.
geojson_vi
👍 66 ⬇️ 20.7K
Dart 3 compatibleMaintenance Status: Average
An Open-Source Dart and Flutter Library for Efficiently Handling GeoJSON Data in Compliance with RFC 7946
json2yaml
👍 12 ⬇️ 86.1K
Dart 3 compatibleMaintenance Status: Poor
Dart package to render JSON data to YAML with built-in automatic beautifier and support for Dart pubspec.yaml and pubspec.lock conventions
carp_serializable
👍 4 ⬇️ 86K
Dart 3 compatibleMaintenance Status: Average
Polymorphic JSON serialization based on json_serializable annotations.
geojson
👍 63 ⬇️ 5.6K
Dart 3 compatibleMaintenance Status: Poor
Utilities to work with geojson data. Parser with a reactive api, search and geofencing
json_diff
👍 25 ⬇️ 40.6K
Dart 3 compatibleMaintenance Status: Poor
Utilities for diffing two JSON objects
ack
👍 55 ⬇️ 454
Dart 3 compatibleMaintenance Status: Average
A simple validation library for Dart
japx
👍 46 ⬇️ 11.5K
Dart 3 compatibleMaintenance Status: Poor
Lightweight parser for the JSON:API (http://jsonapi.org/) structure.
json_patch
👍 25 ⬇️ 8.7K
Dart 3 compatibleMaintenance Status: Poor
Pure Dart utility package for the JSON Patch standard. Can apply patch operations as well as perform a diff algorithm on JSON-like objects.
json_view
👍 23 ⬇️ 8K
Dart 3 compatibleMaintenance Status: Poor
A json preview package that has a not bad performance. lazy load json tree node that cause less jank. Support display large list json data like chrome dev tool.
colored_json
👍 27 ⬇️ 3K
Dart 3 compatibleMaintenance Status: Poor
A package that converts JSON string into a customizable flutter widget.
canonical_json
👍 11 ⬇️ 21.5K
Dart 3 compatibleMaintenance Status: Good
Encoder and decoder for a canonical JSON format, useful when cryptographically hashing or signing JSON objects.
json_data_explorer
👍 27 ⬇️ 27
Dart 3 compatibleMaintenance Status: Poor
A highly customizable widget to render and interact with JSON objects.
flutter_json_viewer
👍 22 ⬇️ 5.7K
Dart 3 compatibleMaintenance Status: Poor
A Json viewer widget for flutter. Shows json data in an extensible list. Makes data readable on the phone easily.
json5
👍 20 ⬇️ 4.9K
Dart 3 compatibleMaintenance Status: Poor
A lightweight library for encoding and decoding JSON5 with comments and trailing commas support.
json_editor
👍 22 ⬇️ 1.5K
Dart 3 compatibleMaintenance Status: Poor
A json editor on flutter.
cr_json_widget
👍 21 ⬇️ 920
Dart 3 compatibleMaintenance Status: Poor
A widget, that visualises a tree structure, where a node can be any widget.
jmespath
👍 10 ⬇️ 13.4K
Dart 3 compatibleMaintenance Status: Poor
jmespath is a dart implementation of JMESPath, which is a query language for JSON.
json_repair_flutter
👍 12 ⬇️ 160
Dart 3 compatibleMaintenance Status: Good
A Flutter package to repair malformed JSON strings, similar to Python's json_repair
safemap
👍 11 ⬇️ 167
Dart 3 compatibleMaintenance Status: Poor
Safely get value with Type from JSON map. Will return null value when value was wrong.
json_explorer
👍 10 ⬇️ 57
Dart 3 compatibleMaintenance Status: Average
A Flutter widget to render, view and interact with JSON. It also includes interactive search/find capabilities.
json_model_gen
👍 4 ⬇️ 28
Dart 3 compatibleMaintenance Status: Good
A Dart tool to generate model classes from JSON with fromJson, toJson, copyWith, and equality overrides.
ovo
👍 4 ⬇️ 24
Dart 3 compatibleMaintenance Status: Poor
OvO is a Dart-first schema declaration and validation library.
toon_plus
👍 3 ⬇️ 11
Dart 3 compatibleMaintenance Status: Good
A compact, human-readable data serialization format that reduces token usage by 30-50% compared to JSON while maintaining readability. Perfect for LLM applications and API optimization.
typed_json
👍 2 ⬇️ 15
Dart 3 compatibleMaintenance Status: Poor
A library intended to bring manual JSON serialization to the Dart projects of all scales.
flutter_json_widget
👍 30 ⬇️ 23
Maintenance Status: Poor
A Json viewer widget for flutter. Shows json data in an extensible list. Makes data readable on the phone easily.
gson
👍 14 ⬇️ 377
Maintenance Status: Poor
Parses and encodes the json generated by GSON (Can parse minecraft's json)
