Ideas for making things data-driven

The general gist is what if more of your logic was in json files, and the only code you had to write was the code that parsed those json files and build the proper machinery to run them. It doesn't actually have to be json, it's just I prefer writing general code and putting the specifics in a data structure.