Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.07 KB

README.md

File metadata and controls

30 lines (20 loc) · 1.07 KB

json_stream_parser

Build Status Coverage Status

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.

Usage

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);
}

Features and bugs

Please file feature requests and bugs at the issue tracker.