json5 0.8.2 copy "json5: ^0.8.2" to clipboard
json5: ^0.8.2 copied to clipboard

A lightweight library for encoding and decoding JSON5 with comments and trailing commas support.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add json5

With Flutter:

 $ flutter 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.8.2

Alternatively, your editor might support dart pub get or flutter 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';
18
likes
150
points
1.8k
downloads

Publisher

unverified uploader

Weekly Downloads

A lightweight library for encoding and decoding JSON5 with comments and trailing commas support.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on json5