keon 0.2.0

A human readable object notation that syntactic similar to Rust and fully supports Serde's data model.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use keon::Value;

#[test]
fn deep_object() {
    assert_eq!(
        keon::from_str::<Value>(&"?".repeat(10000)).unwrap_err().kind,
        keon::ErrorKind::ExceededRecursionLimit
    );

    assert_eq!(
        keon::from_str::<Value>(&"%".repeat(10000)).unwrap_err().kind,
        keon::ErrorKind::ExceededRecursionLimit
    );
}