https://github.com/macisamuele/json-trait-rs
Rust interfaces (aka traits) to deal with objects as they are JSON objects without enforcing additional serialisation/deserialisation
https://github.com/macisamuele/json-trait-rs
json
Last synced: 12 months ago
JSON representation
Rust interfaces (aka traits) to deal with objects as they are JSON objects without enforcing additional serialisation/deserialisation
- Host: GitHub
- URL: https://github.com/macisamuele/json-trait-rs
- Owner: macisamuele
- License: mit
- Created: 2019-04-19T12:06:36.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-11-25T16:07:49.000Z (over 5 years ago)
- Last Synced: 2025-04-21T08:44:52.359Z (about 1 year ago)
- Topics: json
- Language: Rust
- Homepage:
- Size: 144 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# json-trait-rs
[](https://travis-ci.com/macisamuele/json-trait-rs)
[](https://codecov.io/gh/macisamuele/json-trait-rs)
[](https://crates.io/crates/json-trait-rs)
[Changelog](./CHANGELOG.md)
## 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](https://github.com/serde-rs/json) or [json-rust](https://github.com/maciejhirsz/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](https://en.wikipedia.org/wiki/Foreign_function_interface)).
## Contribution rules
Coming soon