#holochain #json #derive #serde-derive #holo #serde #serde-json

macro holochain_json_derive

Provides derive macros for holochain persistence

41 releases

0.0.51 Jul 20, 2021
0.0.50 Feb 21, 2021
0.0.47 Dec 22, 2020
0.0.45 Sep 18, 2020
0.0.15 Jul 15, 2019

#76 in #serde-derive

Download history 15/week @ 2024-07-22 274/week @ 2024-07-29 19/week @ 2024-08-05 21/week @ 2024-08-12 9/week @ 2024-08-19 17/week @ 2024-08-26 15/week @ 2024-09-02 23/week @ 2024-09-09 20/week @ 2024-09-16 82/week @ 2024-09-23 22/week @ 2024-09-30 25/week @ 2024-10-14 17/week @ 2024-10-21 16/week @ 2024-10-28 35/week @ 2024-11-04

93 downloads per month
Used in 25 crates (11 directly)

Apache-2.0

6KB

json_derive

Project Chat

Twitter Follow

License: Apache-2.0

Overview

Derive macros for json capabilities.

Usage

use holochain_json_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.

Dependencies

~2.5–3.5MB
~70K SLoC