35 releases

Uses old Rust 2015

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

#46 in #json-api

Download history 5/week @ 2023-12-03 4/week @ 2023-12-10 17/week @ 2023-12-17 12/week @ 2023-12-24 11/week @ 2024-01-07 10/week @ 2024-01-14 2/week @ 2024-01-21 2/week @ 2024-01-28 4/week @ 2024-02-04 11/week @ 2024-02-11 10/week @ 2024-02-18 34/week @ 2024-02-25 29/week @ 2024-03-03 25/week @ 2024-03-10 17/week @ 2024-03-17

105 downloads per month
Used in 24 crates (12 directly)

Apache-2.0

29KB
622 lines

holochain_json_derive

Project Chat

Twitter Follow

License: Apache-2.0

Overview

Holochain api to provide json capabilities. Used in conjunction holochain_json_derive to produce json serialization features over arbitrary user defined types.

Usage

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

#[derive(Clone, 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

~7.5MB
~145K SLoC