-
### Problem
```rust
use chrono::{DateTime, Utc};
use serde::{Deserialize, Serialize};
#[derive(Deserialize, Serialize, Debug, Clone)]
pub struct Task {
pub created_at: DateTime,
}
``…
-
## Feature Request
### Motivation
I'd like to allow my subscriber to record arbitrarily nested objects from users' macros.
### Proposal
I'd like some way to create a `Value` from the `eras…
anp updated
11 months ago
-
# Problem
Say a user has instantiated a ModelingCmd struct field-by-field (i.e. not using a constructor function, but rather, providing each field), like
```rust
let x = Export {
entity_ids…
-
The `KafkaCompanion` does not properly configure a registered `Serde`, `Serializer` and/or `Deserialiser` which causes issues with certain implementations.
E.g. When using Confluents `io.confluent.…
-
I should start using `serde` for the automatic serialization component of this crate.
I don't think this means removing support for `rustc-serialize` just yet though.
-
### Code
```Rust
use serde_json;
let idsmap: HashMap = serde_json::from_reader(fs::File::open("id_keys.json").expect("error 3"))
.expect("error 4");
println!({},idsmap.get("1stSpellCost"));
…
-
Try to use serde for aws-alexa-httpserver.
see: https://github.com/micronaut-projects/micronaut-aws/blob/master/aws-alexa-httpserver/src/main/java/io/micronaut/aws/alexa/httpserver/controllers/Ski…
-
This code
```rust
use serde::Deserialize;
use serde_json; // 1.0.39
use serde_json::value::RawValue;
#[derive(Deserialize, Debug)]
struct Struct,
},
}
fn main() {
let message =…
hweom updated
1 month ago
-
There is probably a law that states that any open source Rust project will eventually be asked for serde support.
Anyway, to have this would be great (maybe behind a feature flag, as is tradition).…
-
implement serde crate compatibility thx