skip to Main Content

Deserialize JSON object (as text) inside JSON bject

I'm looking for a better solution for deserializing nested JSON object like this {"name":"John Doe","age":43,"address":"{"street":"10 Downing Street","city":"London"}"} Using this code I do the job use serde_derive::{Deserialize, Serialize};use serde_json::{Result, Value}; #[derive(Serialize, Deserialize)] struct Person{ name: String, address: Value } #[derive(Debug, Serialize,…

VIEW QUESTION

Cargo: use of unstable library feature 'scoped_threads' – Ubuntu

I have this repo cloned on my Ubuntu 22.04 instance: https://gitlab.conclusive.pl/devices/ubuntu-build and I'm trying to run: git submodule update --init --recursive sudo make image PROFILE=kstr-sama5d27 I receive the following error: error[E0658]: use of unstable library feature 'scoped_threads' --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-deb-1.41.3/src/data.rs:128:5 |…

VIEW QUESTION
Back To Top
Search