I'm sure they have first class support for json, and if they don't you can easily use a C library. The code snippet in their home page years ago was how to read a json file for configuration... at compile time!
https://web.archive.org/web/20210301154515/https://ziglang.o...