FastJSON Aggregator is a high-performance C++17 web app that aggregates large JSON arrays.
10K+
A high-performance C++17 web application for aggregating large JSON arrays, providing sum, average, min, max, count, and frequency statistics. Features a Crow-based backend and a minimal frontend for easy JSON analysis and visualization.
/aggregate endpoint: Accepts JSON arrays (numbers or objects), returns sum, average, min, max, count, and frequency (if categorical fields).get_deps.bat
cmake -S . -B build
cmake --build build --config Release
build\Release\aggregator.exe # On Windows
# or
./build/aggregator # On Linux/Mac
docker build -t fastjson-aggregator .
docker run -p 18080:18080 fastjson-aggregator
curl -X POST http://localhost:18080/aggregate -H "Content-Type: application/json" -d "[1,2,3,4,5]"
[1, 2, 3, 4, 5][{"score": 10, "grade": "A"}, {"score": 20, "grade": "B"}]main.cpp — Crow server and /aggregate endpoint, static file servingaggregator.h/cpp — Aggregation logicfrontend/ — Minimal HTML/JS frontendDockerfile — ContainerizationContributions are welcome! Please fork the repository, create a feature branch, and submit a pull request.
If you encounter any bugs or have feature requests, please raise an issue in the repository.
Content type
Image
Digest
sha256:8164a7065…
Size
467.7 MB
Last updated
over 1 year ago
docker pull sage17rebirth/fastjson-aggregator