logo rip
RIP Tutorial
  • Tags
  • Topics
  • Examples
  • eBooks
Download Rust (PDF)

Rust

  • Getting started with Rust
  • Awesome Book
  • Awesome Community
  • Awesome Course
  • Awesome Tutorial
  • Awesome YouTube
  • Arrays, Vectors and Slices
  • Associated Constants
  • Auto-dereferencing
  • Bare Metal Rust
  • Boxed values
  • Cargo
  • Closures and lambda expressions
  • Command Line Arguments
  • Conversion traits
  • Custom derive: "Macros 1.1"
  • Documentation
  • Error handling
  • File I/O
  • Foreign Function Interface (FFI)
  • Futures and Async IO
  • Generics
  • Globals
  • GUI Applications
  • Inline Assembly
  • Iron Web Framework
  • Iterators
  • Lifetimes
  • Loops
  • Macros
  • Modules
  • Object-oriented Rust
  • Operators and Overloading
  • Option
  • Ownership
  • Panics and Unwinds
  • Parallelism
  • Pattern Matching
  • PhantomData
  • Primitive Data Types
  • Random Number Generation
  • Raw Pointers
  • Regex
  • Rust Style Guide
  • rustup
  • Serde
    • Default value for field
    • Handwritten generic type bounds
    • Implement Deserialize for a custom map type
    • Implement Serialize and Deserialize for a type in a different crate
    • Implement Serialize for a custom map type
    • Process an array of values without buffering them into a Vec
    • Serialize enum as string
    • Serialize fields as camelCase
    • Skip serializing field
    • Struct ↔ JSON
  • Signal handling
  • Strings
  • Structures
  • TCP Networking
  • Tests
  • The Drop Trait - Destructors in Rust
  • Traits
  • Tuples
  • Unsafe Guidelines


Rust

  • Getting started with Rust
  • Awesome Book
  • Awesome Community
  • Awesome Course
  • Awesome Tutorial
  • Awesome YouTube
  • Arrays, Vectors and Slices
  • Associated Constants
  • Auto-dereferencing
  • Bare Metal Rust
  • Boxed values
  • Cargo
  • Closures and lambda expressions
  • Command Line Arguments
  • Conversion traits
  • Custom derive: "Macros 1.1"
  • Documentation
  • Error handling
  • File I/O
  • Foreign Function Interface (FFI)
  • Futures and Async IO
  • Generics
  • Globals
  • GUI Applications
  • Inline Assembly
  • Iron Web Framework
  • Iterators
  • Lifetimes
  • Loops
  • Macros
  • Modules
  • Object-oriented Rust
  • Operators and Overloading
  • Option
  • Ownership
  • Panics and Unwinds
  • Parallelism
  • Pattern Matching
  • PhantomData
  • Primitive Data Types
  • Random Number Generation
  • Raw Pointers
  • Regex
  • Rust Style Guide
  • rustup
  • Serde
    • Default value for field
    • Handwritten generic type bounds
    • Implement Deserialize for a custom map type
    • Implement Serialize and Deserialize for a type in a different crate
    • Implement Serialize for a custom map type
    • Process an array of values without buffering them into a Vec
    • Serialize enum as string
    • Serialize fields as camelCase
    • Skip serializing field
    • Struct ↔ JSON
  • Signal handling
  • Strings
  • Structures
  • TCP Networking
  • Tests
  • The Drop Trait - Destructors in Rust
  • Traits
  • Tuples
  • Unsafe Guidelines

Rust Serde


Introduction

Serde is a popular serialization and deserialization framework for Rust, used to convert serialized data (e.g. JSON and XML) to Rust structures and vice versa. Serde supports many formats, including: JSON, YAML, TOML, BSON, Pickle and XML.

Serde Related Examples

  • Default value for field
  • Handwritten generic type bounds
  • Implement Deserialize for a custom map type
  • Implement Serialize and Deserialize for a type in a different crate
  • Implement Serialize for a custom map type
  • Process an array of values without buffering them into a Vec
  • Serialize enum as string
  • Serialize fields as camelCase
  • Skip serializing field
  • Struct ↔ JSON



pdf PDF - Download Rust for free


Previous Next






This modified text is an extract of the original Stack Overflow Documentation created by following contributors and released under CC BY-SA 3.0
This website is not affiliated with Stack Overflow

logo rip
SUPPORT & PARTNERS
  • Advertise with us
  • Contact us
  • Privacy Policy
STAY CONNECTED

Get monthly updates about new articles, cheatsheets, and tricks.