Mingun

Results 662 comments of Mingun

Adding `#[serde(deny_unknown_fields)]` to `AThing` solves this problem: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=4088008fef23f3d7b4eca16aebca5e15

To guarantee roundtrips it is also required, that derive macros does not break them. The common problem is `#[serde(flatten)]` which convert `visit_struct` to `visit_map` which looses `name` and `fields`. While...

You are on Linux? I have the same throubles, it seems the windows decorations just missing. If check the checkbox to use native LAF, then window decorations is appeared, but...

I'm open for a PR which will add an option to `Writer` to do that. It should be documented and tested (doctest will be enough). Because currently `Writer` does not...

Yes, normalization of input does not performed at all. Related issues is #371, #670 and #749

You could introduce intermediate type to accept text and ignore it. Something like ```rust fn deserialize_values, { #[derive(Deserialize)] enum Workaround { #[serde(rename = "value")] Value(Value), #[serde(rename = "$text")] Text, }...

This is a bug. It should skip texts when deserialize sequences of elements with fixed name. The fix is coming

@frederik-uni, the goal to is write tests to cover all possible code paths in your new code. So you need to figure out what conditions is needed for that and...

> @Mingun the untagged feature has no existing tests No, it has: https://github.com/serde-rs/serde/blob/b9dbfcb4ac3b7a663d9efc6eb1387c62302a6fb4/test_suite/tests/test_enum_untagged.rs Most tests define some serializable struct and by using serde_test (de)serializer asserts that: - struct is serialized...