blob: 4ac427ef0c4df9b69041f29e909890510acd140f [file] [log] [blame]
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
/// List of correct Json text samples
List<List<Object?>> table = [
[1234, "1234"],
[3.1415926, "3.1415926"],
["String", '"String"'],
[true, "true"],
[false, "false"],
[null, "null"],
[List.filled(0, ""), "[]"],
[[], "[]"],
[[1], "[1]"],
[
[1.1, "str", null, [], {}],
'[1.1,"str",null,[],{}]'
],
[new Map(), "{}"],
[{}, "{}"],
[
{"str": "str", "emptyList": [], "emptyMap": {}, "null": null},
'{"str":"str","emptyList":[],"emptyMap":{},"null":null}'
],
];