I have recently tried using JSON-LD for my organization website FAQ section. When I use JSON-LD, I need to generate the JSON-LD object manually, either using JQuery or some online tool for this purpose. Once I get the JSON-LD object, I put that as a script in my document.
My question is there a way to dynamically generate the JSON-LD schema? We are using SalesForce and on the front-end side, we are using Bootstrap4, HTML5, and JQuery.