Flutter Gems is a curated list of 6700+ useful Dart & Flutter packages that are categorized based on functionality.
Top Flutter JSON packages
Last updated: January 26, 2025
Want to work with JSON in Dart & Flutter! JSON (JavaScript Object Notation) is widely used in Flutter app development as it enables seamless data interchange between the app's frontend and backend. There are various packages that make JSON manipulation, editing, viewing and analysis as efficient and user-friendly as possible. Here's a list of features that are provided these packages:
- JSON Parsing: JSON parsing in Flutter involves the extraction and interpretation of data encoded in JSON format, facilitating its integration into the Flutter application's logic and user interface.
- JSON Validation: Validate JSON data for syntax errors and compliance with the JSON specification.
- JSON Editing: Easily add, modify, or remove JSON keys and values.
- JSON View or Visualization: Tree view or hierarchical representation of JSON structure for easy navigation. Collapse/expand sections for complex JSON objects.
- JSON to/from Other Formats: Convert JSON data to other formats like XML, YAML, CSV, etc.
- Pretty Printing: Format JSON data with proper indentation and line breaks.
- Syntax Highlighting and Themes: Customizable syntax highlighting and color themes for JSON. Highlight syntax for easier understanding of the structure.
- Error Handling and Suggestions: Provide error messages and suggestions for fixing invalid JSON.
- JSON Minification: Remove unnecessary whitespace and reduce JSON size.
- Red/Write JSON: Read JSON data from local files, URLs, or clipboard. Write JSON data to files in various formats.
- JSON Templating: Create and save reusable JSON templates for specific data structures.
- JSON Formatting: Format JSON data to improve readability.
Whether it's populating UI components with remote data, managing application settings, or storing user preferences, JSON usage in Flutter empowers developers to efficiently create dynamic and responsive applications that harness the power of structured data exchange. The below list of Dart & Flutter JSON packages can help you add the above mentioned features in your Flutter app.
json2yaml
👍 12 ⬇️ 873.4K
Dart 3 compatibleMaintenance Status: Average
Dart package to render JSON data to YAML with built-in automatic beautifier and support for Dart pubspec.yaml and pubspec.lock conventions
rfc_6901
👍 21 ⬇️ 256.8K
Dart 3 compatibleMaintenance Status: Average
JSON Pointer (RFC 6901). Reads/writes referred values in JSON documents.
xml2json
👍 120 ⬇️ 168.5K
Dart 3 compatibleMaintenance Status: Good
An XML to JSON conversion package. Supports Badgerfish, GData, OpenRally and Parker conversions.
json_path
👍 115 ⬇️ 145.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
👍 148 ⬇️ 104.6K
Dart 3 compatibleMaintenance Status: Good
Simplifies manual JSON parsing with a type-safe API. No dynamic, no manual casting. Flexible inputs types, fixed output types. Useful parsing error messages
json_schema
👍 32 ⬇️ 154.7K
Dart 3 compatibleMaintenance Status: Good
JSON Schema implementation in Dart
![flutter_json_view Card Image](/media-cards/flutter_json_view.png)
flutter_json_view
👍 132 ⬇️ 13K
Dart 3 compatibleMaintenance Status: Good
Displaying json models in a Flutter widget with customization.
yet_another_json_isolate
👍 10 ⬇️ 108.7K
Dart 3 compatibleMaintenance Status: Good
Package to simplify and improve JSON parsing in isolates by keeping one isolate running per instance.
crimson
👍 117 ⬇️ 2.6K
Dart 3 compatibleMaintenance Status: Good
Fast, efficient and easy-to-use JSON parser and serializer for Dart.
json
👍 96 ⬇️ 1.2K
Dart 3 compatibleMaintenance Status: Good
Easy encoding and decoding of JSON maps (maps of type `Map
jsonc
👍 4 ⬇️ 63.3K
Dart 3 compatibleMaintenance Status: Poor
JSON with comments and trailing commas.
![geojson_vi Card Image](/media-cards/geojson_vi.png)
geojson_vi
👍 61 ⬇️ 11.2K
Dart 3 compatibleMaintenance Status: Good
An Open-Source Dart and Flutter Library for Efficiently Handling GeoJSON Data in Compliance with RFC 7946
geojson
👍 62 ⬇️ 1.3K
Dart 3 compatibleMaintenance Status: Poor
Utilities to work with geojson data. Parser with a reactive api, search and geofencing
japx
👍 42 ⬇️ 7.1K
Dart 3 compatibleMaintenance Status: Good
Lightweight parser for the JSON:API (jsonapi.org) structure.
jmespath
👍 10 ⬇️ 30.2K
Dart 3 compatibleMaintenance Status: Poor
jmespath is a dart implementation of JMESPath, which is a query language for JSON.
flutter_json_viewer
👍 22 ⬇️ 10K
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.
json_diff
👍 22 ⬇️ 7.6K
Dart 3 compatibleMaintenance Status: Poor
Utilities for diffing two JSON objects
carp_serializable
👍 1 ⬇️ 24.8K
Dart 3 compatibleMaintenance Status: Good
Polymorphic JSON serialization based on json_serializable annotations.
![json_view Card Image](/media-cards/json_view.png)
json_view
👍 20 ⬇️ 7.4K
Dart 3 compatibleMaintenance Status: Average
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 Card Image](/media-cards/colored_json.jpg)
colored_json
👍 26 ⬇️ 2.1K
Dart 3 compatibleMaintenance Status: Average
A package that converts JSON string into a customizable flutter widget.
json_data_explorer
👍 26 ⬇️ 90
Dart 3 compatibleMaintenance Status: Poor
A highly customizable widget to render and interact with JSON objects.
json_editor
👍 22 ⬇️ 1.8K
Dart 3 compatibleMaintenance Status: Poor
A json editor on flutter.
json_patch
👍 22 ⬇️ 1.5K
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_class
👍 4 ⬇️ 15K
Dart 3 compatibleMaintenance Status: Good
An abstract class to assist with converting to and from JSON with various primitive parsers.
![cr_json_widget Card Image](/media-cards/cr_json_widget.png)
cr_json_widget
👍 21 ⬇️ 676
Dart 3 compatibleMaintenance Status: Average
A widget, that visualises a tree structure, where a node can be any widget.
json5
👍 18 ⬇️ 1.1K
Dart 3 compatibleMaintenance Status: Average
A lightweight library for encoding and decoding JSON5 with comments and trailing commas support.
canonical_json
👍 10 ⬇️ 7.5K
Dart 3 compatibleMaintenance Status: Average
Encoder and decoder for a canonical JSON format, useful when cryptographically hashing or signing JSON objects.
safemap
👍 12 ⬇️ 144
Dart 3 compatibleMaintenance Status: Poor
Safely get value with Type from JSON map. Will return null value when value was wrong.
![json_explorer Card Image](/media-cards/json_explorer.png)
json_explorer
👍 6 ⬇️ 27
Dart 3 compatibleMaintenance Status: Good
A Flutter widget to render, view and interact with JSON. It also includes interactive search/find capabilities.
ovo
👍 4 ⬇️ 21
Dart 3 compatibleMaintenance Status: Average
OvO is a Dart-first schema declaration and validation library.
typed_json
👍 2 ⬇️ 27
Dart 3 compatibleMaintenance Status: Poor
A library intended to bring manual JSON serialization to the Dart projects of all scales.
flutter_json_widget
👍 30 ⬇️ 33
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 ⬇️ 263
Maintenance Status: Poor
Parses and encodes the json generated by GSON (Can parse minecraft's json)