transmog-json 0.1.0

Json adaptor for Transmog
Documentation

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.