Features
serializationjsonyamlderive
Pros and Cons
Ventajas
- + Extremely fast (zero-copy)
- + Support for multiple formats
- + Convenient derive API
- + Type-safe with no runtime overhead
- + De facto standard in Rust
Desventajas
- - Increases compilation time
- - Derive errors can be confusing
- - Advanced customization is complex
Use Cases
- REST APIs (JSON)
- Configuration files (YAML, TOML)
- Binary protocols
- Data persistence
- Inter-service communication