https://github.com/murphsicles/serde_json
JSON serialization/deserialization for Zeta — serde_json::from_str, to_string
https://github.com/murphsicles/serde_json
Last synced: 22 days ago
JSON representation
JSON serialization/deserialization for Zeta — serde_json::from_str, to_string
- Host: GitHub
- URL: https://github.com/murphsicles/serde_json
- Owner: murphsicles
- License: mit
- Created: 2026-05-15T20:55:52.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-05-15T23:28:22.000Z (3 months ago)
- Last Synced: 2026-05-16T01:58:43.940Z (2 months ago)
- Size: 76.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @encoding/serde_json — JSON Serialization for Zeta
Auto-converted from [serde_json](https://crates.io/crates/serde_json) v1.0.149 via [Dark Factory](https://github.com/murphsicles/dark-factory).
## Features
- **to_string / from_str** — serialize/deserialize any `Serialize`/`Deserialize` type to/from JSON
- **Value enum** — dynamic JSON values: Null, Bool, Number, String, Array, Object
- **Streaming** — deserialize from `Read` streams, serialize to `Write` streams
- **Pretty printing** — `to_string_pretty` with configurable indentation
- **Raw values** — `RawValue` for deferred JSON parsing
- **Number handling** — arbitrary precision, `serde_json::Number` type
## Usage
```zeta
use @encoding/serde_json::{self, Value};
let data: Value = serde_json::from_str(r#"{"name":"Zeta","version":1}"#).unwrap();
println!("{}", data["name"]);
```
## Stats: ~7,667 lines, 0 unsupported items
## License: MIT