| OLD | NEW |
| (Empty) |
| 1 /// This package contains a complete implementation of [JSON](http://json.org/). | |
| 2 /// | |
| 3 /// [JsonParser] creates a nested Dart objects from a given JSON string. For | |
| 4 /// example the following code prints `{a: 1, b: [2, 3.4], c: false}`: | |
| 5 /// | |
| 6 /// var json = new JsonParser(); | |
| 7 /// var result = json.parse('{"a": 1, "b": [2, 3.4], "c": false}'); | |
| 8 /// print(result.value); // {a: 1, b: [2, 3.4], c: false} | |
| 9 /// | |
| 10 /// The grammar definition [JsonGrammar] can be subclassed to construct other | |
| 11 /// objects. | |
| 12 library petitparser.json; | |
| 13 | |
| 14 import 'dart:collection'; | |
| 15 import 'petitparser.dart'; | |
| 16 | |
| 17 part 'src/json/grammar.dart'; | |
| 18 part 'src/json/parser.dart'; | |
| OLD | NEW |