anchor.diff:  ///
   /// Shorthand for `json.decode`. Useful if a local variable shadows the global
   /// [json] constant.
  +///
  +/// Example:
  +/// ```dart
  +/// const jsonString =
  +///     '{"text": "foo", "value": 1, "status": false, "extra": null}';
  +///
  +/// final data = jsonDecode(jsonString);
  +/// print(data['text']); // foo
  +/// print(data['value']); // 1
  +/// print(data['status']); // false
  +/// print(data['extra']); // null
  +///
  +/// const jsonArray = '''
  +///   [{"text": "foo", "value": 1, "status": true},
  +///    {"text": "bar", "value": 2, "status": false}]
  +/// ''';
  +///
  +/// final List<dynamic> dataList = jsonDecode(jsonArray);
  +/// print(dataList[0]); // {text: foo, value: 1, status: true}
  +/// print(dataList[1]); // {text: bar, value: 2, status: false}
  +///
  +/// final item = dataList[0];
  +/// print(item['text']); // foo
  +/// print(item['value']); // 1
  +/// print(item['status']); // false
  +/// ```
   dynamic jsonDecode(String source,
           {Object? reviver(Object? key, Object? value)?}) =>
       json.decode(source, reviver: reviver);
  
positive.code: }
  
  /// This class converts JSON objects to strings.
  class JsonEncoder extends Converter<Object?, String> {
    /// The string used for indention.
    ///
  
negative.code: ///
  /// Shorthand for `json.encode`. Useful if a local variable shadows the global
  /// [json] constant.
  ///
  /// Example:
  /// ```dart
  /// const data = {'text': 'foo', 'value': 2, 'status': false, 'extra': null};
  /// final String jsonString = jsonEncode(data);
  /// print(jsonString); // {"text":"foo","value":2,"status":false,"extra":null}
  /// ```
  ///
  /// Example of converting an otherwise unsupported object to a
  /// custom JSON format:
  ///
  /// ```dart
  /// class CustomClass {
  ///   final String text;
  ///   final int value;
  ///   CustomClass({required this.text, required this.value});
  ///   CustomClass.fromJson(Map<String, dynamic> json)
  ///       : text = json['text'],
  ///         value = json['value'];
  ///
  ///   static Map<String, dynamic> toJson(CustomClass value) =>
  ///       {'text': value.text, 'value': value.value};
  /// }
  ///
  /// void main() {
  ///   final CustomClass cc = CustomClass(text: 'Dart', value: 123);
  ///   final jsonText = jsonEncode({'cc': cc},
  ///       toEncodable: (Object? value) => value is CustomClass
  ///           ? CustomClass.toJson(value)
  ///           : throw UnsupportedError('Cannot convert to JSON: $value'));
  ///   print(jsonText); // {"cc":{"text":"Dart","value":123}}
  /// }
  /// ```
  String jsonEncode(Object? object,
          {Object? toEncodable(Object? nonEncodable)?}) =>
      json.encode(object, toEncodable: toEncodable);
  