lil-json 0.1.7

serialize & deserialize JSON in no_std
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use lil_json::FieldBuffer;

fn main() {
    println!(
        "{}",
        [
            ("some_number", 12345).into(),
            ("some_string", "hello world!").into(),
            ("some_boolean", true).into()
        ].as_json_object()
    );
}

// output: {"some_number":12345,"some_string":"hello world!","some_boolean":true}