JSON with comments and trailing commas
BSD-3-CLAUSE License
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}