Or you can use JSON.parse with a string literal on the client side. Which is, surprisingly, more performant than parsing at compile time.
https://www.youtube.com/watch?v=ff4fgQxPaO0