Registry / serialization / value-trait

value-trait

JSON →
library0.12.1rscratesunverified

Provides traits to deal with JSON-like values in Rust, enabling generic value manipulation.

# Cargo.toml [dependencies] value-trait = "0.12.1"
INSTALL
IMPORT
SIG · VALUE-TRAIT
V
value-trait
serializationrustv0.12.1
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.

Value
✓ use value_trait::Value;

Creates a Value::String and checks its content.

use value_trait::Value; let val = Value::String("hello".to_string()); assert_eq!(val.as_str(), Some("hello"));
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.12.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
OpenAI (training)
1
Resources
value-trait — cargo add value-trait · libregistry