jsonml: ^0.1.9 copied to clipboard
Library for converting to and from JsonML. Can display JsonML in the DOM and can convert JsonML to and from HTML representations.
Use this package as a library
1. Depend on it
Add this to your package's pubspec.yaml file:
dependencies: jsonml: ^0.1.9
2. Install it
You can install packages from the command line:
$ dart pub get
$ flutter pub get
Alternatively, your editor might support
dart pub get or
flutter pub get.
Check the docs for your editor to learn more.
3. Import it
Now in your Dart code, you can use:
import 'package:jsonml/html2jsonml.dart'; import 'package:jsonml/html5lib2jsonml.dart'; import 'package:jsonml/jsonml2dom.dart'; import 'package:jsonml/jsonml2html5lib.dart';