Can Hugo output all content to single JSON file?

I saw that Hugo has the ability to output files to different formats - like JSON. But I’d love to have all the data in a single JSON file, for searching purposes, etc. Is this possible? Any suggestions appreciated.

You’ll want to start with the docs for custom output formats. Also, search these forums for “search” and you will find previous works.

@phlijms - were you able to find a solution? I’ve been trying to do something similar (although only a subset of my content). I too thought custom output formats would help, but I’ve yet to find a complete demo showing start to finish how to do this.