jsonc 0.0.2 copy "jsonc: ^0.0.2" to clipboard
jsonc: ^0.0.2 copied to clipboard

JSON with comments and trailing commas.

jsonc.dart #

pub license: BSD CI codecov

JSON with comments and trailing commas.

import 'package:jsonc/jsonc.dart';
final json = jsonc.decode('''
{
  // one-line comment
  "foo": "bar",
  /*
   * multi-line block comment
   */
  "baz": "qux",
}
''');
print(json); // {foo: bar, baz: qux}
4
likes
150
pub points
99%
popularity

Publisher

unverified uploader

JSON with comments and trailing commas.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

More

Packages that depend on jsonc