json-ld

JSON-LD articleBody parsing error when testing Structured Data

February 29, 2016 2:21 pm Published by Leave your thoughts

When setting up Structured Data using JSON-LD for the first time you could run into a problem with the articleBody property which mostly consists of a lot of html tags, quotation marks, etc. These can cause all sorts of parsing errors when you run your page through the Google’s Structured Data testing tool, but thankfully you can solve the issue with just one php function. There was an error parsing your JSON-LD As a developer I’m sure you can relate to the pain I felt when I finally got the whole json-ld code implemented on my WordPress blog just to see... View Article