Skip to content

Commit

Permalink
Minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
simsekgokhan committed Feb 10, 2024
1 parent 6ae44c6 commit 45ac8cc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/serde_json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
// Rust in Action 1st Edition by Tim McNamara - 2021
// Ch 7, pg 215

// Also see:
// https://github.com/serde-rs/json

use bincode::serialize as to_bincode;
use serde_cbor::to_vec as to_cbor;
use serde_json::to_string as to_json;
Expand Down Expand Up @@ -67,6 +70,9 @@ bincode (as UTF-8):

// 2. json to obj

// Also see:
// https://github.com/serde-rs/json

use serde_derive::Deserialize;

#[derive(Debug, Deserialize)]
Expand Down

0 comments on commit 45ac8cc

Please sign in to comment.