#json

nightly json-trait-rs

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

10 breaking releases

✓ Uses Rust 2018 edition

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

#225 in Data structures

Download history 9/week @ 2020-02-05 13/week @ 2020-02-12 58/week @ 2020-02-19 51/week @ 2020-02-26 112/week @ 2020-03-04 15/week @ 2020-03-11 80/week @ 2020-03-18 15/week @ 2020-03-25 7/week @ 2020-04-01 77/week @ 2020-04-08 100/week @ 2020-04-15 67/week @ 2020-04-22 18/week @ 2020-04-29 61/week @ 2020-05-06 6/week @ 2020-05-13 12/week @ 2020-05-20

214 downloads per month
Used in loader-rs

MIT license

98KB
2.5K SLoC

Ruby HTML 2.5K SLoC // 0.0% comments Scons 121 SLoC // 0.1% comments

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
~36K SLoC