This crate currently uses simdjson 3.2.3
. You can have a try and give feedback.
If you
Please submit an issue.
Add this to your Cargo.toml
```toml
[dependencies]
sectionsimdjson-rust = {git = "https://github.com/SunDoge/simdjson-rust"} ```
Then, get started.
```rust use simdjson_rust::{ondemand::Parser, prelude::*};
fn main() -> simdjsonrust::Result<()> { let mut parser = Parser::default(); let ps = makepaddedstring("[0,1,2,3]"); let mut doc = parser.iterate(&ps)?; let mut array = doc.getarray()?; for (index, value) in array.iter()?.enumerate() { asserteq!(index as u64, value?.getuint64()?); } Ok(()) } ```