Crates.io | holochain_json_derive |
lib.rs | holochain_json_derive |
version | 0.0.51 |
source | src |
created_at | 2019-06-13 20:37:43.233823 |
updated_at | 2021-07-20 18:40:49.653961 |
description | Provides derive macros for holochain persistence. |
homepage | |
repository | https://github.com/holochain/holochain-serialization |
max_upload_size | |
id | 140943 |
size | 5,594 |
Derive macros for json capabilities.
use holochain_json_api::{json::JsonString, error::JsonError};
#[derive(Serialize, Deserialize, PartialEq, Debug, DefaultJson)]
pub struct SomeData(String);
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.
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.