Rust

Serde

Në shqip përdoret i njëjti emër.

ShpjegimiSQ

Serde-ja është libraria standarde e Rust-it për serializim: me #[derive(Serialize, Deserialize)] struct-et e tua kthehen në JSON, TOML, YAML e shumë formate të tjera dhe anasjelltas.

EnglishEN

Serde is Rust's standard serialisation library: with #[derive(Serialize, Deserialize)] your structs turn into JSON, TOML, YAML and many other formats and back.

Si ta mendosh

Si përkthyesi universal mes Rust-it dhe çdo formati të dhënash.

Lexoje në anglisht

Like a universal translator between Rust and any data format.

Shembull kodirust

#[derive(serde::Serialize, serde::Deserialize)]
struct Termi { id: String, emri: String }
let t: Termi = serde_json::from_str(r#"{"id":"api","emri":"API"}"#)?;

Terma të lidhur