Registry / serialization / serde-any

serde-any

JSON →
library0.5.0rscratesunverified

Dynamic serialization and deserialization with the format chosen at runtime.

# Cargo.toml [dependencies] serde_any = "0.5.0"
INSTALL
IMPORT
SIG · SERDE-ANY
S
serde-any
serializationrustv0.5.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.

to_string
use serde_any::to_string;

Serialize a value to a string using the default format.

use serde_any::to_string; let data = serde_json::json!({"key": "value"}); let s = to_string(&data).unwrap(); println!("{}", s);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
serde-any — cargo add serde-any · libregistry