summaryrefslogtreecommitdiffstats
path: root/third_party/rust/ron/examples/example.ron
blob: 011ac5782da28a1ddd76d287b2d8fcfae230bff7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
(
    boolean: true,
    float: 8.2,
    map: {
        1: '1',
        2: '4',
        3: '9',
        4: '1',
        5: '2',
        6: '3',
    },
    nested: Nested(
        a: "Decode me!",
        b: 'z',
    ),
    tuple: (3, 7),
    vec: [
        (a: "Nested 1", b: 'x'),
        (a: "Nested 2", b: 'y'),
        (a: "Nested 3", b: 'z'),
    ],
)