json_derive

Crates.iojson_derive
lib.rsjson_derive
version0.0.1-alpha1
sourcesrc
created_at2019-06-13 19:59:39.735541
updated_at2019-06-13 19:59:39.735541
descriptionProvides derive macros for lib3h/holochain persistence.
homepage
repositoryhttps://github.com/holochain/lib3h
max_upload_size
id140920
size5,664
Carmelo Piccione (struktured)

documentation

https://docs.rs/json_derive

README

json_derive

Project Chat

Twitter Follow

License: Apache-2.0

Overview

Derive macros for json capabilities.

Usage

use persistence_api::{json::JsonString, error::JsonError};

#[derive(Serialize, Deserialize, PartialEq, Debug, DefaultJson)]
pub struct SomeData(String);


Contribute

Holochain is an open source project. We welcome all sorts of participation and are actively working on increasing surface area to accept it. Please see our contributing guidelines for our general practices and protocols on participating in the community.

License

License: Apache-2.0

Copyright (C) 2019, Holochain Foundation

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Commit count: 2587

cargo fmt