Macro jsonbb::json

source ยท
macro_rules! json {
    ($($json:tt)+) => { ... };
}
Expand description

Construct a jsonbb::Value from a JSON literal.

let value = json!({
    "code": 200,
    "success": true,
    "payload": {
        "features": [
            "serde",
            "json"
        ],
        "homepage": null
    }
});