Registry / serialization / rustc-serialize

rustc-serialize

JSON →
library0.3.25rscratesunverified

Generic serialization/deserialization support (deprecated in favor of serde).

# Cargo.toml [dependencies] rustc-serialize = "0.3.25"
INSTALL
IMPORT
SIG · RUSTC-SERIALIZE
R
rustc-serialize
serializationrustv0.3.25
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Json
✓ use rustc_serialize::json::Json;

Parses a JSON string using rustc-serialize.

use rustc_serialize::json::Json; fn main() { let data = Json::from_str("{\"key\": \"value\"}").unwrap(); println!("{}", data); }
Debug
Known issues
breakingThis crate is deprecated; use serde instead.
fix
Replace with serde and serde_json.
affects: >=0.3.0
Upgrade
Version history
0.3.25latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
18
Resources
rustc-serialize — cargo add rustc-serialize · libregistry