10 releases

Uses old Rust 2015

0.5.0 Aug 20, 2024
0.4.0 Jul 28, 2018
0.3.4 May 7, 2016
0.3.3 Nov 22, 2015
0.1.0 Nov 15, 2015

#2256 in Encoding

Download history 107/week @ 2024-11-13 128/week @ 2024-11-20 292/week @ 2024-11-27 217/week @ 2024-12-04 255/week @ 2024-12-11 202/week @ 2024-12-18 26/week @ 2024-12-25 106/week @ 2025-01-01 106/week @ 2025-01-08 292/week @ 2025-01-15 89/week @ 2025-01-22 129/week @ 2025-01-29 1012/week @ 2025-02-05 206/week @ 2025-02-12 135/week @ 2025-02-19 139/week @ 2025-02-26

1,522 downloads per month
Used in 14 crates (5 directly)

CC0 license

5KB

Strason

This project was an early attempt to parse JSON with arbitary-precision numbers before the arbitrary_precision feature of serde_json was added.

It did so by abusing the serde API to sneak pointers through usizes, and later, by disguising pointers of unrelated types as &[u8]s. This involved unjustifiable assumptions about alignment and was likely unsound even when those assumptions were true.

It is now archived and unmaintained.

Do not use this crate. Use serde_json or another JSON parser instead.


lib.rs:

Strason -- Stringly-Typed JSON parser and serializer for Rust

No runtime deps