<main><divclass="width-limiter"><navclass="sub"><formclass="search-form"><span></span><divid="sidebar-button"tabindex="-1"><ahref="../serde/all.html"title="show sidebar"></a></div><inputclass="search-input"name="search"aria-label="Run search in the documentation"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"><divid="help-button"tabindex="-1"><ahref="../help.html"title="help">?</a></div><divid="settings-menu"tabindex="-1"><ahref="../settings.html"title="settings"><imgwidth="22"height="22"alt="Change settings"src="../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><sectionid="main-content"class="content"><divclass="main-heading"><h1>Crate <aclass="mod"href="#">serde</a><buttonid="copy-path"title="Copy item path to clipboard"><imgsrc="../static.files/clipboard-7571035ce49a181d.svg"width="19"height="18"alt="Copy item path"></button></h1><spanclass="out-of-band"><aclass="src"href="../src/serde/lib.rs.html#1-339">source</a> · <buttonid="toggle-all-docs"title="collapse all docs">[<span>−</span>]</button></span></div><detailsclass="toggle top-doc"open><summaryclass="hideme"><span>Expand description</span></summary><divclass="docblock"><h2id="serde"><aclass="doc-anchor"href="#serde">§</a>Serde</h2>
<p>The following is a partial list of data formats that have been implemented
for Serde by the community.</p>
<ul>
<li><ahref="https://github.com/serde-rs/json">JSON</a>, the ubiquitous JavaScript Object Notation used by many HTTP APIs.</li>
<li><ahref="https://github.com/jamesmunns/postcard">Postcard</a>, a no_std and embedded-systems friendly compact binary format.</li>
<li><ahref="https://github.com/enarx/ciborium">CBOR</a>, a Concise Binary Object Representation designed for small message
size without the need for version negotiation.</li>
<li><ahref="https://github.com/dtolnay/serde-yaml">YAML</a>, a self-proclaimed human-friendly configuration language that ain’t
markup language.</li>
<li><ahref="https://github.com/3Hren/msgpack-rust">MessagePack</a>, an efficient binary format that resembles a compact JSON.</li>
<li><ahref="https://docs.rs/toml">TOML</a>, a minimal configuration format used by <ahref="https://doc.rust-lang.org/cargo/reference/manifest.html">Cargo</a>.</li>
<li><ahref="https://github.com/birkenfeld/serde-pickle">Pickle</a>, a format common in the Python world.</li>
<li><ahref="https://github.com/ron-rs/ron">RON</a>, a Rusty Object Notation.</li>
<li><ahref="https://github.com/mongodb/bson-rust">BSON</a>, the data storage and network transfer format used by MongoDB.</li>
<li><ahref="https://docs.rs/apache-avro">Avro</a>, a binary format used within Apache Hadoop, with support for schema
definition.</li>
<li><ahref="https://github.com/callum-oakley/json5-rs">JSON5</a>, a superset of JSON including some productions from ES5.</li>
<li><ahref="https://docs.rs/serde_qs">URL</a> query strings, in the x-www-form-urlencoded format.</li>
<li><ahref="https://github.com/dtolnay/serde-starlark">Starlark</a>, the format used for describing build targets by the Bazel and
<li><ahref="https://github.com/softprops/envy">Envy</a>, a way to deserialize environment variables into Rust structs.
<em>(deserialization only)</em></li>
<li><ahref="https://github.com/softprops/envy-store">Envy Store</a>, a way to deserialize <ahref="https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-parameter-store.html">AWS Parameter Store</a> parameters into
<li><ahref="https://github.com/google/flatbuffers/tree/master/rust/flexbuffers">FlexBuffers</a>, the schemaless cousin of Google’s FlatBuffers zero-copy
serialization format.</li>
<li><ahref="https://github.com/P3KI/bendy">Bencode</a>, a simple binary format used in the BitTorrent protocol.</li>
<li><ahref="https://github.com/oxidecomputer/serde_tokenstream">Token streams</a>, for processing Rust procedural macro input.
<em>(deserialization only)</em></li>
<li><ahref="https://docs.rs/serde_dynamo">DynamoDB Items</a>, the format used by <ahref="https://docs.rs/rusoto_dynamodb">rusoto_dynamodb</a> to transfer data to
and from DynamoDB.</li>
<li><ahref="https://github.com/Canop/deser-hjson">Hjson</a>, a syntax extension to JSON designed around human reading and
editing. <em>(deserialization only)</em></li>
<li><ahref="https://docs.rs/csv">CSV</a>, Comma-separated values is a tabular text file format.</li>
</div></details><h2id="modules"class="section-header">Modules<ahref="#modules"class="anchor">§</a></h2><ulclass="item-table"><li><divclass="item-name"><aclass="mod"href="de/index.html"title="mod serde::de">de</a></div><divclass="desc docblock-short">Generic data structure deserialization framework.</div></li><li><divclass="item-name"><aclass="mod"href="ser/index.html"title="mod serde::ser">ser</a></div><divclass="desc docblock-short">Generic data structure serialization framework.</div></li></ul><h2id="macros"class="section-header">Macros<ahref="#macros"class="anchor">§</a></h2><ulclass="item-table"><li><divclass="item-name"><aclass="macro"href="macro.forward_to_deserialize_any.html"title="macro serde::forward_to_deserialize_any">forward_to_deserialize_any</a></div><divclass="desc docblock-short">Helper macro when implementing the <code>Deserializer</code> part of a new data format
for Serde.</div></li></ul><h2id="traits"class="section-header">Traits<ahref="#traits"class="anchor">§</a></h2><ulclass="item-table"><li><divclass="item-name"><aclass="trait"href="trait.Deserialize.html"title="trait serde::Deserialize">Deserialize</a></div><divclass="desc docblock-short">A <strong>data structure</strong> that can be deserialized from any data format supported
by Serde.</div></li><li><divclass="item-name"><aclass="trait"href="trait.Deserializer.html"title="trait serde::Deserializer">Deserializer</a></div><divclass="desc docblock-short">A <strong>data format</strong> that can deserialize any data structure supported by
Serde.</div></li><li><divclass="item-name"><aclass="trait"href="trait.Serialize.html"title="trait serde::Serialize">Serialize</a></div><divclass="desc docblock-short">A <strong>data structure</strong> that can be serialized into any data format supported
by Serde.</div></li><li><divclass="item-name"><aclass="trait"href="trait.Serializer.html"title="trait serde::Serializer">Serializer</a></div><divclass="desc docblock-short">A <strong>data format</strong> that can serialize any data structure supported by Serde.</div></li></ul><h2id="derives"class="section-header">Derive Macros<ahref="#derives"class="anchor">§</a></h2><ulclass="item-table"><li><divclass="item-name"><aclass="derive"href="derive.Deserialize.html"title="derive serde::Deserialize">Deserialize</a></div><divclass="desc docblock-short">Derive macro available if serde is built with <code>features = ["derive"]</code>.</div></li><li><divclass="item-name"><aclass="derive"href="derive.Serialize.html"title="derive serde::Serialize">Serialize</a></div><divclass="desc docblock-short">Derive macro available if serde is built with <code>features = ["derive"]</code>.</div></li></ul></section></div></main></body></html>