poll on Twitter sought to answer the question, what is the best form of structured data. The other is script that can be dropped in like meta tag or JavaScript.. By far, the popular form of structured data was JSON-LD. you can use PHP code fragments to insert whatever you want into JSON-LD structured template. Despite those advantages, one Twitter user shared that in their opinion JSON-LD is difficult to scale and that they preferred marking up HTML code using Schema microdata.. My challenge with JSON-LD is that it's hard to automate and hard to make sure there's content parity between JSON & the content on the page, and use the semantics of HTML to guide the semantics of the structured data... Another person stated the opposite, that adding markup to HTML is more difficult than adding JSON-LD to page... The learning curve for microdata is easier and it's much more difficult to maintain. While JSON-LD is little more difficult to understand than the microdata, in my opinion it's difficult to learn than HTML. And the benefit of JSON-LD is that it's easier to scale..
Read more