Registry / serialization / rustc-ap-rustc-serialize

rustc-ap-rustc-serialize

JSON →
library727.0.0rscratesunverified

Automatically published version of the package rustc_serialize from the rust-lang/rust repository.

# Cargo.toml [dependencies] rustc-ap-rustc_serialize = "727.0.0"
INSTALL
IMPORT
SIG · RUSTC-AP-RUSTC-SER
R
rustc-ap-rustc-serialize
serializationrustv727.0.0
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 JSON using the rustc_serialize crate's JSON implementation.

use rustc_serialize::json::Json; fn main() { let data = Json::from_str("{\"key\": \"value\"}").unwrap(); println!("{}", data); }
Debug
Known issues
gotchaThis crate is an auto-published snapshot of rustc internals and may not be stable for general use.
fix
Consider using serde_json for production JSON handling.
affects: *
Upgrade
Version history
727.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

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