Registry / serialization / nu-json

nu-json

JSON →
library0.111.0rscratesunverified

Fork of serde-hjson, providing JSON parsing and serialization with human-readable JSON extensions.

# Cargo.toml [dependencies] nu-json = "0.111.0"
INSTALL
IMPORT
SIG · NU-JSON
N
nu-json
serializationrustv0.111.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.

Value
use nu_json::Value;

Parses a JSON string into a nu_json Value and prints it.

use nu_json::Value; let json: Value = nu_json::from_str("{\"key\": \"value\"}").unwrap(); println!("{:?}", json);
Debug
Known issues
gotchaThis is a fork of serde-hjson and may not be fully compatible with standard JSON; some edge cases differ.
fix
Use serde_json for strict JSON compliance; nu_json is intended for Nushell's extended format.
affects: >=0.111.0
Upgrade
Version history
0.111.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
nu-json — cargo add nu-json · libregistry