Where should I place JSON-LD on the page?

Typically in the <head> or anywhere in the HTML as a script tag. Ensure it loads with the page and matches the visible content.