master
 1const std = @import("std");
 2
 3pub const json = struct {
 4    pub const JsonValue = union(enum) {
 5        number: f64,
 6        boolean: bool,
 7        // ...
 8    };
 9};
10
11pub fn main() void {
12    std.debug.print("{s}\n", .{@typeName(json.JsonValue)});
13}
14
15// exe=succeed