-
I was handcrafting some svd (yaml) and early on ran into a generator issue.
To reproduce run the following in an empty directory:
```sh
cargo init simple_bit_field_failure \
&& cd simple_bit_fi…
-
I'm trying to build serde's internal representation directly, and there doesn't seem to be a way to do that via `serde`, thus far, i've been constructing a proxy for that via using `serde_json` types …
-
When defining a serde default value for a field using a function results in the generated value being set as the default value for the schema.
This is troublesome for fields that contain random dat…
-
I have implemented WebResponseError for serde errors, but I found that the return result is not what I expected. I always feel that ntex serializes JSON data during route parsing, not when using funct…
-
This is another crack at Serde support (linking #17 for historical reference).
The basic API that I'm thinking of would look something like this (borrowing from Serde JSON):
```rust
#[derive(Se…
-
```rust
use json_to_table::json_to_table;
use serde::Serialize;
#[derive(Serialize)]
struct Thing {
f1: String,
f2: String,
f3: String,
}
fn main() {
let t1 = Thing {
…
-
I have a property definition like below with an example hexadecimal string, because the example field is not quoted the swagger UI interprets this as a decimal string instead of the raw hexadecimal st…
-
## Description
`#[serde(rename_all = "camelCase")]` on a Model derived with `DeriveEntityModel` is not working correctly on the `ActiveModel`
## Steps to Reproduce
```rs
use sea_orm::prelude::…
-
I'm trying to deserialize an OCI manifest into some structs that have `&'a str` fields, and `serde_json` is indicating that it can't do that for some specific values. I can fix the issue by using `Cow
-
`serde` requires canonicalisation to happen when domain types are already
erased. This creates several footguns:
* String types may not compare equal after a roundtrip
* Set types do not have a c…