json_editor_flutter
1.4.2, released 2 years ago by makecv.in
A Flutter widget to edit JSON objects via a user-friendly tree or text editor.
WASM-ready
What it does
Provides a customizable widget for editing JSON data in either a tree view or a text editor view. It supports creating, deleting, and modifying keys and values, as well as searching and expanding nested objects.
AI-written summary of version 1.4.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to let users view or edit JSON objects directly inside a Flutter application.
- You want both a structured tree view and a raw text view for editing JSON data.
Skip it when
- You are looking for code generation tools to map JSON to immutable Dart classes.
- You need complex data persistence or database management.
Strengths
- Supports both tree and text editors for JSON.
- Highly customizable with options to enable or disable key/value editing and more options.
- Includes built-in search functionality and configurable expanded objects.
Weaknesses
- Limited to what is supported by the widget properties; highly specialized custom JSON schema validation might not be built-in.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
JsonEditor(
onChanged: (value) {
// Do something
},
json: jsonEncode({
"name": "John Doe",
"age": 24
}),
)Alternatives
Packages that do the same job and could replace json_editor_flutter.
- dough
Provides squishy UI widgets for Flutter
50Compare - mind_map
A library that helps users create mind trees and mind maps.
47Compare - ftoast
Simple, customizable in-app toast notifications for Flutter.
65Compare - flutter_tutorial_overlay
Create interactive tutorials and onboarding flows with widget highlights and tooltips.
66Compare