Registry / serialization / json-str

json-str

JSON →
library0.5.2rscratesunverified

Write JSON literals without ugly strings using a clean macro syntax.

# Cargo.toml [dependencies] json_str = "0.5.2"
INSTALL
IMPORT
SIG · JSON-STR
J
json-str
serializationrustv0.5.2
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_str
use json_str::json_str;

Create JSON strings with a clean macro

use json_str::json_str; fn main() { let json = json_str!({ "name": "Alice", "age": 30 }); println!("{}", json); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
json-str — cargo add json-str · libregistry