Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/augustt198/json-rs

JSON parser in rust
https://github.com/augustt198/json-rs

Last synced: about 2 months ago
JSON representation

JSON parser in rust

Awesome Lists containing this project

README

        

json-rs
=======

JSON parser made in rust.

## Usage

A `JsonValue` can be retreived with `JsonValue::from_string`:

```rust
let src = "{\"hello\":\"world\"}".to_string();
let json = JsonValue::from_string(src).unwrap();
```

`JsonValue` can be an object, array, boolean, null, string, integer, or float value depending on the input string.