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

#2192 in Encoding

Download history 89/week @ 2024-10-19 87/week @ 2024-10-26 74/week @ 2024-11-02 182/week @ 2024-11-09 134/week @ 2024-11-16 243/week @ 2024-11-23 198/week @ 2024-11-30 262/week @ 2024-12-07 236/week @ 2024-12-14 131/week @ 2024-12-21 46/week @ 2024-12-28 99/week @ 2025-01-04 240/week @ 2025-01-11 181/week @ 2025-01-18 100/week @ 2025-01-25 580/week @ 2025-02-01

1,114 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