json_field_editor 1.2.1
json_field_editor: ^1.2.1 copied to clipboard
JSON field editor allows easy editing of JSON text. Unlock the full capabilities of JSON syntax highlighting, validation & formatting.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add json_field_editor
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
json_field_editor: ^1.2.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:json_field_editor/json_field_editor.dart';