Last updated:
0 purchases
jsonc
jsonc.dart #
JSON with comments and trailing commas.
import 'package:jsonc/jsonc.dart';
copied to clipboard
final json = jsonc.decode('''
{
// one-line comment
"foo": "bar",
/*
* multi-line block comment
*/
"baz": "qux",
}
''');
print(json); // {foo: bar, baz: qux}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.