Json parser without crates externalb

⚓ Rust    📅 2026-03-24    👤 surdeus    👁️ 1      

surdeus

Hello everyone,

I need to convert a structure to JSON; the idea is not to use external crates, just what the language provides. What can I use?

fn convert_vector_in_json() {
let format = format!(
"[
id:{id}
]",
id = 10
);
println!("{:?}", format.to_string())
}

Code i use

2 posts - 2 participants

Read full topic

🏷️ Rust_feed