From a88439202868a90745fa56f489ac698bbda73c45 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sun, 15 Sep 2024 11:09:26 +0200 Subject: Added Zig and structs with JSON parsing --- zig-structs/player.zig | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 zig-structs/player.zig (limited to 'zig-structs/player.zig') diff --git a/zig-structs/player.zig b/zig-structs/player.zig new file mode 100644 index 0000000..6cbd354 --- /dev/null +++ b/zig-structs/player.zig @@ -0,0 +1,6 @@ +const std = @import("std"); + +pub const Player = struct { + name: []const u8, + age: u8, +}; -- cgit v1.2.3