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

JSON with comments and trailing commas.

example/main.dart

import 'package:jsonc/jsonc.dart';

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

Publisher

unverified uploader

JSON with comments and trailing commas.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on jsonc