Registry / serialization / simd-json

simd-json

JSON →
library0.17.0rscratesunverified

High performance JSON parser based on a port of simdjson, leveraging SIMD instructions for speed.

# Cargo.toml [dependencies] simd-json = "0.17.0"
INSTALL
IMPORT
SIG · SIMD-JSON
S
simd-json
serializationrustv0.17.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

to_value
use simd_json::prelude::*;

Parses a JSON string into a borrowed value using SIMD acceleration.

use simd_json::prelude::*; fn main() -> Result<(), simd_json::Error> { let mut data = br#"{"key": "value"}"#.to_vec(); let value: simd_json::BorrowedValue = simd_json::to_borrowed_value(&mut data)?; println!("Parsed: {:?}", value); Ok(()) }
Debug
Known issues
gotchaRequires CPU with SIMD support (e.g., SSE4.2 on x86).
fix
Ensure target CPU supports SIMD or use fallback mode.
affects: >=0.17.0
Upgrade
Version history
0.17.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Amazon
1
Resources
simd-json — cargo add simd-json · libregistry