json-escape-simd 3.1.2

Optimized SIMD routines for escaping JSON strings.
Documentation

json-escape-simd

Crates.io Version docs.rs

Optimized SIMD routines for escaping JSON strings. Thin facade over escape-simd with the json feature.

The implementation is from sonic-rs; we only take the string escaping part to avoid the abstraction overhead.

json-escape-simd = "3"
use json_escape_simd::{escape, escape_into};

assert_eq!(escape("hello\n"), r#""hello\n""#);