-
It would be nice, in JSON ser/deser to map an optional key in a json objet to an Option field in a struct. "None" would map from/to the absence of the key/value pair in the json object.
As far as I c…
-
I download the zip on windows, and use cmake in minGW to generate .sln, then compile in VS2015, but I got more than 100 errors.
I saw this in readme:
Though it's 2016 already, the support for C++1…
-
## Introduction
This is a proposal to add an `enum` construct to Scala's syntax. The construct is intended to serve at the same time as a native implementation of enumerations as found in other la…
-
This seems like a pretty scary bug, my float fields in a structs being decoded to are being set to `NaN` when they are missing instead of giving the expected `MissingFieldError`.
Here is a minimal ex…
-
I'm not sure whether this is a serde or serde_json issue. Hopefully I'm filing it in the right repo.
The following test case shows that serialization works fine but deserialization of the serializ…
-
Using TOML for config files would match rust's own config, and it is significantly easier to write (IMHO) than YAML/JSON.
https://npf.io/2014/08/intro-to-toml/
[TOML](https://github.com/alexcric…
-
Per https://groups.google.com/d/msg/julia-users/FjGXSTzvfmc/j0ZDG629IwAJ
```
seth@schroeder:~/dev/julia/wip/LightGraphs.jl$ julia -p 4
_
_ _ _(_)_ | A fresh approach to …
-
``` rust
#[derive(Serialize, Deserialize, Debug)]
enum Motion {
Column(i32),
Line(i32),
}
#[derive(Serialize, Deserialize, Debug)]
enum Command {
Move(Motion),
Delete(Motion),
Input(String)…
-
I have worked only with serde_json, to I may be missing something that applies to other (de)serializers.
# Serialization
Serialization of enums seems to always produce objects, even for trivial const…
Yoric updated
7 years ago
-
- [x] Mechanics
- [x] nightly
- [x] stable
- [x] nightly+stable with a feature
- [x] Attributes
- [x] `rename`
- [x] `default`
- [x] `skip_serializing`
- [x] `skip_serializing_if…