#json

json-trait-rs

Rust interface (aka trait) to deal with objects as they are JSON objects

6 releases (breaking)

✓ Uses Rust 2018 edition

0.5.1 Oct 19, 2019
0.5.0 Sep 29, 2019
0.4.0 Jul 29, 2019
0.3.0 Jun 2, 2019
0.1.0 Apr 25, 2019

#319 in Data structures

Download history 15/week @ 2019-07-02 9/week @ 2019-07-09 4/week @ 2019-07-16 18/week @ 2019-07-23 19/week @ 2019-07-30 20/week @ 2019-08-06 4/week @ 2019-08-13 41/week @ 2019-08-20 12/week @ 2019-08-27 23/week @ 2019-09-03 20/week @ 2019-09-10 52/week @ 2019-09-17 39/week @ 2019-09-24 23/week @ 2019-10-01 2/week @ 2019-10-08

104 downloads per month
Used in 1 crate

MIT license

80KB
2K SLoC

json-trait-rs

Build on TravisCI Coverage Version

Changelog

Rationale

The goal of this repository is to offer rust interfaces (aka traits) to deal with objects as they are JSON objects.

While dealing with JSON objects in rust we tend to use libraries that takes care of the serialisation and desrialisation process as serde-json or json-rust, but depending on the use-case it's possible that we do need only methodologies to traverse the objects that have been created (so [de]serialised) by other libraries.

The main use-case for this type of library, at least at the time of writing, is to offer JSON objects traversing capability to objects that might be initialised by foreign languages (think to other language bindings, ie. via FFI).

Contribution rules

Coming soon

Dependencies

~1–1.9MB
~38K SLoC