[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-5498":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":18,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":28,"readmeContent":29,"aiSummary":30,"trendingCount":16,"starSnapshotCount":16,"syncStatus":31,"lastSyncTime":32,"discoverSource":33},5498,"serde","serde-rs\u002Fserde","serde-rs","Serialization framework for Rust","https:\u002F\u002Fserde.rs\u002F",null,"Rust",10626,917,73,311,0,6,21,63,43.89,"Apache License 2.0",false,"master",[25,26,27,5],"derive","no-std","rust","2026-06-12 02:01:11","# Serde &emsp; [![Build Status]][actions] [![Latest Version]][crates.io] [![serde msrv]][Rust 1.56] [![serde_derive msrv]][Rust 1.71]\n\n[Build Status]: https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002Fserde-rs\u002Fserde\u002Fci.yml?branch=master\n[actions]: https:\u002F\u002Fgithub.com\u002Fserde-rs\u002Fserde\u002Factions?query=branch%3Amaster\n[Latest Version]: https:\u002F\u002Fimg.shields.io\u002Fcrates\u002Fv\u002Fserde.svg\n[crates.io]: https:\u002F\u002Fcrates.io\u002Fcrates\u002Fserde\n[serde msrv]: https:\u002F\u002Fimg.shields.io\u002Fcrates\u002Fmsrv\u002Fserde.svg?label=serde%20msrv&color=lightgray\n[serde_derive msrv]: https:\u002F\u002Fimg.shields.io\u002Fcrates\u002Fmsrv\u002Fserde_derive.svg?label=serde_derive%20msrv&color=lightgray\n[Rust 1.56]: https:\u002F\u002Fblog.rust-lang.org\u002F2021\u002F10\u002F21\u002FRust-1.56.0\u002F\n[Rust 1.71]: https:\u002F\u002Fblog.rust-lang.org\u002F2023\u002F07\u002F13\u002FRust-1.71.0\u002F\n\n**Serde is a framework for *ser*ializing and *de*serializing Rust data structures efficiently and generically.**\n\n---\n\nYou may be looking for:\n\n- [An overview of Serde](https:\u002F\u002Fserde.rs)\n- [Data formats supported by Serde](https:\u002F\u002Fserde.rs\u002F#data-formats)\n- [Setting up `#[derive(Serialize, Deserialize)]`](https:\u002F\u002Fserde.rs\u002Fderive.html)\n- [Examples](https:\u002F\u002Fserde.rs\u002Fexamples.html)\n- [API documentation](https:\u002F\u002Fdocs.rs\u002Fserde)\n- [Release notes](https:\u002F\u002Fgithub.com\u002Fserde-rs\u002Fserde\u002Freleases)\n\n## Serde in action\n\n\u003Cdetails>\n\u003Csummary>\nClick to show Cargo.toml.\n\u003Ca href=\"https:\u002F\u002Fplay.rust-lang.org\u002F?edition=2021&gist=72755f28f99afc95e01d63174b28c1f5\" target=\"_blank\">Run this code in the playground.\u003C\u002Fa>\n\u003C\u002Fsummary>\n\n```toml\n[dependencies]\n\n# The core APIs, including the Serialize and Deserialize traits. Always\n# required when using Serde. The \"derive\" feature is only required when\n# using #[derive(Serialize, Deserialize)] to make Serde work with structs\n# and enums defined in your crate.\nserde = { version = \"1.0\", features = [\"derive\"] }\n\n# Each data format lives in its own crate; the sample code below uses JSON\n# but you may be using a different one.\nserde_json = \"1.0\"\n```\n\n\u003C\u002Fdetails>\n\u003Cp>\u003C\u002Fp>\n\n```rust\nuse serde::{Deserialize, Serialize};\n\n#[derive(Serialize, Deserialize, Debug)]\nstruct Point {\n    x: i32,\n    y: i32,\n}\n\nfn main() {\n    let point = Point { x: 1, y: 2 };\n\n    \u002F\u002F Convert the Point to a JSON string.\n    let serialized = serde_json::to_string(&point).unwrap();\n\n    \u002F\u002F Prints serialized = {\"x\":1,\"y\":2}\n    println!(\"serialized = {}\", serialized);\n\n    \u002F\u002F Convert the JSON string back to a Point.\n    let deserialized: Point = serde_json::from_str(&serialized).unwrap();\n\n    \u002F\u002F Prints deserialized = Point { x: 1, y: 2 }\n    println!(\"deserialized = {:?}\", deserialized);\n}\n```\n\n## Getting help\n\nSerde is one of the most widely used Rust libraries so any place that Rustaceans\ncongregate will be able to help you out. For chat, consider trying the\n[#rust-questions] or [#rust-beginners] channels of the unofficial community\nDiscord (invite: \u003Chttps:\u002F\u002Fdiscord.gg\u002Frust-lang-community>), the [#rust-usage] or\n[#beginners] channels of the official Rust Project Discord (invite:\n\u003Chttps:\u002F\u002Fdiscord.gg\u002Frust-lang>), or the [#general][zulip] stream in Zulip. For\nasynchronous, consider the [\\[rust\\] tag on StackOverflow][stackoverflow], the\n[\u002Fr\u002Frust] subreddit which has a pinned weekly easy questions post, or the Rust\n[Discourse forum][discourse]. It's acceptable to file a support issue in this\nrepo but they tend not to get as many eyes as any of the above and may get\nclosed without a response after some time.\n\n[#rust-questions]: https:\u002F\u002Fdiscord.com\u002Fchannels\u002F273534239310479360\u002F274215136414400513\n[#rust-beginners]: https:\u002F\u002Fdiscord.com\u002Fchannels\u002F273534239310479360\u002F273541522815713281\n[#rust-usage]: https:\u002F\u002Fdiscord.com\u002Fchannels\u002F442252698964721669\u002F443150878111694848\n[#beginners]: https:\u002F\u002Fdiscord.com\u002Fchannels\u002F442252698964721669\u002F448238009733742612\n[zulip]: https:\u002F\u002Frust-lang.zulipchat.com\u002F#narrow\u002Fstream\u002F122651-general\n[stackoverflow]: https:\u002F\u002Fstackoverflow.com\u002Fquestions\u002Ftagged\u002Frust\n[\u002Fr\u002Frust]: https:\u002F\u002Fwww.reddit.com\u002Fr\u002Frust\n[discourse]: https:\u002F\u002Fusers.rust-lang.org\n\n\u003Cbr>\n\n#### License\n\n\u003Csup>\nLicensed under either of \u003Ca href=\"LICENSE-APACHE\">Apache License, Version\n2.0\u003C\u002Fa> or \u003Ca href=\"LICENSE-MIT\">MIT license\u003C\u002Fa> at your option.\n\u003C\u002Fsup>\n\n\u003Cbr>\n\n\u003Csub>\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in Serde by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n\u003C\u002Fsub>\n","Serde 是一个用于 Rust 数据结构序列化和反序列化的高效且通用的框架。其核心功能包括通过 `#[derive(Serialize, Deserialize)]` 宏自动生成序列化与反序列化代码，支持多种数据格式（如 JSON、YAML 等），并能在无标准库环境下运行。Serde 采用零成本抽象设计原则，确保了高性能的同时提供了极大的灵活性。适用于需要将复杂数据结构转换为字节流以便存储或传输的各种场景，特别是在构建网络服务、数据库交互以及配置文件解析等应用中表现尤为出色。",2,"2026-06-11 03:03:39","top_language"]