jsonc

Creator: coderz1093

Last updated:

Add to Cart

Description:

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

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.