Comments (4)
I think this is a dupe of #44, although that issue mentions adding an annotation to allow skipping unknown fields. I think this issue's request should be the default; that's how most JSON parsers in other languages (and rustc-serialize
) work.
from serde.
+1
from serde.
+1
from serde.
This was implemented in #204, and will be a part of serde 0.7.0 when it comes out, hopefully within the week!
from serde.
Related Issues (20)
- Compile error use of unstable feature on `nightly-2023-08-25` HOT 3
- Allow deserialize() to have a non-Self return type HOT 1
- Trait bounds for deserialization are enforced even if deserialization is skipped. HOT 1
- Support adding prefix/suffix to flattened fields HOT 2
- AsyncDeserializer HOT 6
- Implement Serialize and Deserialize for core::convert::Infaillible HOT 4
- Conditional selection of (De-)Serializer
- Remove serde-yaml from suggested packages HOT 3
- Flattened nested structs throw deserialize error "invalid type: map, expected f64" when inner type contains a float HOT 4
- Make it easier to implement `deny_unknown_fields` for flattened structs
- Support for SerializeMap handling all keys before all values
- Sometimes (de)serialise enum with tag, sometimes untagged.
- `Option<T>` defaults to `None` when missing fields HOT 5
- internally tagged newtype variant containing unit struct fails to deserialize when extra keys exist
- Q: Best way to deserialize a primitive type in containers
- Offline documentation
- serde-parquet
- #[serde(skip_deserializing)] for Option<T> wrongly requires T to implement Default HOT 4
- `IpAddr` and `SocketAddr` are in `core`, but serde implements only for `std`
- Implement Debug trait for serde_derive structs, enums, etc. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serde.