JSON-Threat-Protection Rust High-Performance Crate

JSON-threat-protection.rs is a Rust library designed to protect against malicious JSON payloads by validating them against a set of constraints. The library features the ability to check for the maximum depth of the JSON structure, the maximum length of strings, the maximum number of entries in arrays and objects, and the maximum length of object entry names. It is optimized for performance and efficiency with its own benchmark suite, which allows users to compare the JSON syntax validation speed between this crate and serde_json. The library is also fuzz tested using the cargo-fuzz tool. The project is licensed under the MIT License.

https://github.com/ADD-SP/json-threat-protection.rs

To top