#json #deserialize-json #serialization #declarative-macro

merde_json

JSON serialization and deserialization for merde, via jiter

31 stable releases (6 major)

8.0.0 Nov 4, 2024
6.2.1 Oct 7, 2024
6.0.0 Sep 22, 2024
5.1.0 Sep 20, 2024
1.0.1 Jul 29, 2024

#838 in Encoding

Download history 442/week @ 2024-07-29 6/week @ 2024-08-05 453/week @ 2024-08-12 48/week @ 2024-08-19 7/week @ 2024-08-26 132/week @ 2024-09-02 703/week @ 2024-09-09 1031/week @ 2024-09-16 199/week @ 2024-09-23 573/week @ 2024-09-30 442/week @ 2024-10-07 61/week @ 2024-10-14 4/week @ 2024-10-21 158/week @ 2024-11-04

239 downloads per month
Used in 3 crates

Apache-2.0 OR MIT

210KB
5.5K SLoC

license: MIT/Apache-2.0 crates.io docs.rs

merde_json

The merde logo: a glorious poop floating above a pair of hands

Logo by MisiasArt

Adds JSON serialization/deserialization support for merde.

You would normally add a dependency on merde directly, enabling its json feature.

Implementation

The underlying parser (including aarch64 SIMD support, bignum support, etc.) has been taken wholesale from the jiter crate for now.

An issue has been opened to discuss sharing a core.


lib.rs:

Adapter types from tokio::io::AsyncWrite to JsonSerializerWriter

Dependencies

~2–7.5MB
~64K SLoC