#json #escaping #simd

v_jsonescape

The simd optimized JSON escaping code

12 unstable releases (5 breaking)

0.6.1 Oct 12, 2021
0.5.1 Jun 2, 2021
0.5.0 Feb 23, 2021
0.4.0 Dec 21, 2020
0.2.0 Jul 2, 2020

#163 in Hardware support

Download history 845/week @ 2021-07-04 378/week @ 2021-07-11 573/week @ 2021-07-18 653/week @ 2021-07-25 712/week @ 2021-08-01 933/week @ 2021-08-08 762/week @ 2021-08-15 406/week @ 2021-08-22 388/week @ 2021-08-29 490/week @ 2021-09-05 1022/week @ 2021-09-12 761/week @ 2021-09-19 771/week @ 2021-09-26 673/week @ 2021-10-03 397/week @ 2021-10-10 309/week @ 2021-10-17

2,761 downloads per month
Used in 4 crates (2 directly)

MIT/Apache

89KB
2K SLoC

v_jsonescape Documentation Latest version

The simd optimized json escape code

Quick start

use v_jsonescape::escape;

print!("{}", escape("foo\"\\bar"));

lib.rs:

Quick start

use v_jsonescape::escape;

print!("{}", escape("foo<bar"));

Dependencies

~330–730KB
~19K SLoC