#json

nightly json-trait-rs

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

10 breaking releases

0.11.0 May 10, 2020
0.9.0 Apr 12, 2020
0.8.0 Mar 23, 2020
0.6.0 Dec 19, 2019
0.4.0 Jul 29, 2019

#662 in Data structures

Download history 4/week @ 2022-04-21 87/week @ 2022-04-28 50/week @ 2022-05-05 198/week @ 2022-05-12 52/week @ 2022-05-19 64/week @ 2022-05-26 111/week @ 2022-06-02 5/week @ 2022-06-09 4/week @ 2022-06-16 4/week @ 2022-06-23 3/week @ 2022-06-30 26/week @ 2022-07-07 14/week @ 2022-07-14 40/week @ 2022-07-21 27/week @ 2022-07-28 4/week @ 2022-08-04

98 downloads per month
Used in loader-rs

MIT license

99KB
2.5K 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

~0.3–6MB
~109K SLoC