#jmap #json #json-api #tool

jmap-tools

JMAP object parser with JSON Pointer querying and patching support

4 releases

Uses new Rust 2024

0.1.3 Oct 11, 2025
0.1.2 Sep 29, 2025
0.1.1 Sep 5, 2025
0.1.0 Aug 18, 2025

#846 in Parser implementations

Download history 102/week @ 2025-08-13 34/week @ 2025-08-20 133/week @ 2025-09-03 17/week @ 2025-09-10 19/week @ 2025-09-17 211/week @ 2025-09-24 301/week @ 2025-10-01 574/week @ 2025-10-08 193/week @ 2025-10-15 275/week @ 2025-10-22 400/week @ 2025-10-29 110/week @ 2025-11-05

1,063 downloads per month
Used in calcard

Apache-2.0 OR MIT

105KB
3K SLoC

jmap-tools

crates.io build docs.rs crates.io

jmap-tools is a Rust library for working with JMAP objects. It provides a straightforward way to parse, inspect, and modify JMAP data structures.

In addition to parsing, the library includes built-in support for JSON Pointer (RFC 6901), which lets you:

  • Query deeply nested elements within arbitrary Rust objects using JSON Pointer paths.
  • Patch object elements in place, replacing or updating values without rewriting the entire structure.

This makes it easy to build servers, clients, or tools that need to manipulate JMAP objects reliably and efficiently.

Usage

...

License

Licensed under either of

at your option.

Funding

Part of the development of this library was funded through the NGI Zero Core, a fund established by NLnet with financial support from the European Commission's programme, under the aegis of DG Communications Networks, Content and Technology under grant agreement No 101092990.

If you find this library useful you can help by becoming a sponsor. Thank you!

Copyright (C) 2020, Stalwart Labs LLC

Dependencies

~0.6–1.8MB
~40K SLoC