A library for processing streams of json. Unlike the built-in parser, it can process JSON as tokens are processed, giving better intermediate results, especially for long-running queries or large files.
It can be used both on server- and client-side.
A simple usage example:
import 'package:json_stream_parser/json_stream_parser.dart';
main() {
final file = new File('file.json');
Stream<JsonStreamingEvent> inputStream =
file.openRead()
.expand((t) => t)
.transform(jsonStreamingTransformation);
}
Please file feature requests and bugs at the issue tracker.