JSON parser which picks up values directly without performing tokenization in Rust
JSON parser which picks up values directly without performing tokenization in Rust
JSON parser which picks up values directly without performing tokenization in Rust
Pikkr is a JSON parser which picks up values directly without performing tokenization in Rust. This JSON parser is implemented based on Y. Li, N. R. Katsipoulakis, B. Chandramouli, J. Goldstein, and D. Kossmann. Mison: a fast JSON parser for data analytics. In VLDB, 2017.
This JSON parser extracts values from a JSON record without using finite state machines (FSMs) and performing tokenization. It parses JSON records in the following procedures:
This JSON parser performs well when there are a limited number of different JSON structural variants in a JSON data stream or JSON collection, and that is a common case in data analytics field.
Please read the paper mentioned in the opening paragraph for the details of the JSON parsing algorithm.
Model Name: MacBook Pro
Processor Name: Intel Core i7
Processor Speed: 3.3 GHz
Number of Processors: 1
Total Number of Cores: 2
L2 Cache (per Core): 256 KB
L3 Cache: 4 MB
Memory: 16 GB$ cargo --version
cargo 0.23.0-nightly (34c0674a2 2017-09-01)
$ rustc --version
rustc 1.22.0-nightly (d93036a04 2017-09-07)…$ cargo --version
cargo 0.23.0-nightly (34c0674a2 2017-09-01) # Make sure that nightly release is being used.
$ RUSTFLAGS="-C target-cpu=native" cargo build --release$ ./target/release/[package name]
"a" 1
"b" 2
"c" 3
"d" 4
None 5
"e" NoneAny kind of contribution (e.g. comment, suggestion, question, bug report and pull request) is welcome.
No open issues yet, or sync has not completed.