They were written by hand. Json is human-readable text, so they can be created and read with any text editor. To use them for your game, you need Json parser library which shouldn't be hard to find for most languages.