json5 0.6.0 json5: ^0.6.0 copied to clipboard
JSON for dart and flutter (a port version of json5 in javascript)
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add json5
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
json5: ^0.6.0
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:json5/json5.dart';