-
```rust
for row in rows {
for col in &cols.metadata.col_specs {
let value = match col.clone().col_type.id {
ColType::Varchar | ColType::Ascii => {
…
-
It seems we can convert from RON to JSON but the inverse has unexpected behavior, calling `ron::to_string_pretty()` on a `serde_json::Value` outputs json, not ron.
```rust
use anyhow::Result;
p…
-
There is support at the top-level for:
- avro-serializer
- avro-serde
- json-serializer
But no support for json-serde. We should add this so that it can be easily used with KStreams.
-
In reth's invalid block hooks, we first compare the invalid block's `BundleState` to a re-executed version, then use `serde_json` to serialize `BundleState` and save it as JSON. Because the reverts ar…
-
**Describe the bug**
When I have to deserialize several different json objects, I want to use enum to unify the deserialization. And I also want to use `OwnedLazyValue`, but I found that the `OwnedLa…
-
`Enum`s with "complex" values, for example a `tuple`, can't be deserialized as shown from the example below.
In the example below, it appears it is because the values are deserialized as a` list` but…
-
`EchoRoundMessage` uses it, and various evidences too. Do serializers generally support it? What happens if keys repeat? We need it to be an error. Should we use `Vec` instead to be on the safe side? …
-
## Environment
### Version
\>= v13.0.0-alpha.2
### OS
wsl
## Description
when running `cargo run -- --output json`, it shows:
```
thread 'main' panicked at src/cli.rs:296:30:
Misma…
-
### Describe the bug
I have a fairly simple data structure:
data structure
```rust
use flutter_rust_bridge::frb;
use log::{error, info};
use serde::{Deserialize, Serialize};
#[derive(…
-
`authenticate_presence_channel` is not a method of client. It does exist on `PusherAuth` but not forwarded or exposed, so the example from readme does not work:
```rust
use serde_json::json;
le…