Will Google see JSON-LD injected by JavaScript?

Often yes, but timing matters. Ensure schema is present on initial render when possible. Validate using “view rendered HTML” checks.