JSON with comments and trailing commas.
More...
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}
unverified uploader
Repository (GitHub)View/report issues
API reference
BSD-3-Clause (license)
Packages that depend on jsonc
Back