Sparser is an optimized JSON querying framework that minimizes full JSON parsing using cascade filtering. It efficiently processes newline-delimited JSON (NDJSON) records with substring filtering before detailed evaluation.
Original repository: Sparser GitHub
Research paper: VLDB 2018
The project uses vcpkg for dependency management.
Follow the following instructions to install vcpkg:
git clone https://github.com/microsoft/vcpkg.git
cd vcpkg && ./bootstrap-vcpkg.shAdd the following line to your shell configuration file (e.g., ~/.bashrc or ~/.zshrc):
export VCPKG_ROOT=/path/to/vcpkg
export PATH="$VCPKG_ROOT:$PATH"cmake --preset <preset>cmake --build build./build/src/SparserMain <input_file>To run tests:
cmake --build build --target test
ctest --test-dir build --output-on-failure