JSON-LD is the recommended format by Google. JSON-LD keeps your store structured data separated from the page content markup, minimizing the risk of broken data structures.