ason 2.1.1

ASON is a data serialization format that evolved from JSON, featuring strong numeric typing and native support for enumeration types.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
    variant_without_value: Option::None
    variant_single_value: Option::Some(123)
    variant_tuple_like_value: Color::RGB(255, 127, 63)
    variant_object_like_value: Shape::Rect{
        width: 200
        height: 100
    }

    // Variants with single compound value
    variant_single_value: Option::Some((11, 13))
    variant_single_value: Option::Some([17, 19, 23, 29])
    variant_single_value: Option::Some({id: 123, name: "foo"})
}