JSON Parser & Benchmark
Compares PetitParser's pure-Dart JSON grammar with the platform-native parser.
Website
Examples
Source
Presets
User Profile
Data Records
All JSON Types
Input JSON
{ "firstName": "John", "lastName": "Smith", "isAlive": true, "age": 27, "address": { "streetAddress": "21 2nd Street", "city": "New York", "state": "NY", "postalCode": "10021-3100" }, "phoneNumbers": [ { "type": "home", "number": "212 555-1234" }, { "type": "office", "number": "646 555-4567" } ], "children": [], "spouse": null }
Run Benchmark & Parse
Benchmark Results & Output
Metric
PetitParser (Pure Dart)
Native (dart:convert)
Average Timing:
Parsed Output: