transmog-json

Crates.iotransmog-json
lib.rstransmog-json
version0.1.0
sourcesrc
created_at2021-12-31 17:03:47.244166
updated_at2022-02-04 22:54:53.241539
descriptionJson adaptor for Transmog
homepage
repositoryhttps://github.com/khonsulabs/transmog
max_upload_size
id505863
size9,043
Publishers (github:khonsulabs:publishers)

documentation

README

transmog-json

Transmog implementation of the JSON format, powered by the serde_json crate.

transmog-json forbids unsafe code crate version Documentation for main branch

This crate provides a Format trait implementation using the Json type:

use transmog::{Format, OwnedDeserializer};
use transmog_json::Json;

let json = Json::default();
let serialized = json.serialize(&42_u64).unwrap();
let deserialized: u64 = json.deserialize_owned(&serialized).unwrap();
assert_eq!(deserialized, 42);

Open-source Licenses

This project, like all projects from Khonsu Labs, are open-source. This repository is available under the MIT License or the Apache License 2.0.

To learn more about contributing, please see CONTRIBUTING.md.

Commit count: 39

cargo fmt