Crate jmap_tools

Crate jmap_tools 

Source
Expand description

§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

  • Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
  • MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

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

Structs§

JsonPointer
Map
Represents a JSON key/value type.
Null
ObjectAsVec
Represents a JSON key/value type.

Enums§

JsonPointerItem
Key
Value
Represents any valid JMAP value.

Traits§

Element
JsonPointerHandler
Property

Type Aliases§

JsonPointerIter