This crate provides custom de/serialization helpers to use in combination with serde's with-annotation and with the improved serde_as-annotation.

Features

  • De/Serializing a type using the Display and FromStr traits
  • Support for arrays larger than 32 elements or using const generics
  • Skip serializing all empty Option types
  • Apply a prefix to each field name of a struct
  • Deserialize a comma separated list
  • Documentation available

Project Samples

Project Activity

See All Activity >

Categories

JSON

License

Apache License V2.0

Follow serde_with

serde_with Web Site

Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of serde_with!

Additional Project Details

Programming Language

Rust

Related Categories

Rust JSON Software

Registered

2023-10-26