Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sigmasoldi3r/json-saturnus
https://github.com/sigmasoldi3r/json-saturnus
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/sigmasoldi3r/json-saturnus
- Owner: sigmasoldi3r
- Created: 2023-12-15T22:41:50.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-16T00:06:00.000Z (about 1 year ago)
- Last Synced: 2024-05-20T15:12:05.979Z (8 months ago)
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# JSON Saturnus
A simple library written in Saturnus for parsing and serializing JSON data.
Just add this line to your `[dependencies]` section:
```toml
json = { git = "https://github.com/sigmasoldi3r/json-saturnus" }
```Example:
```rs
use json;let object = { example: "Object", a: [1, 2, 3] };
let str = json.stringify(object, 2);
print(str);let o = json.parse(str);
print("Example:", o.example);
```