With your JSON-LD code in place, you should check your work with the Structured Data Testing Tool from Google. Learn how to use this tool and fix any errors and warnings identified.
- [Instructor] Now that we've gone ahead … and used the markup tool to get our JSON LD written … the next thing always to do is to test it … and make sure that it's working correctly for Google. … And so if you go on ahead and open up your exercise file … for this chapter … go on ahead and highlight everything, copy, … and we're going to go back again … to the Google Structured Data Testing Tool. … And when you arrive here … it's going to ask you for a URL. … We don't have one 'cause we haven't put it on the web, … but we can put in a code snippet instead. … Go on ahead and paste your HTML here … and then say run test. … And what's going to happen … is that it will go on ahead … and basically give you back the same JSON LD … you already have written. … It will make sure that you've written this correctly. … So why would you go about doing this … even if Google went ahead and wrote most of your code … in the JSON LD? … Well remember we went ahead … and added some additional stuff to this …
- Describing elements with schemas
- Embedding schemas in schemas
- Using the Structured Data Markup Helper
- Making up a document with microdata
- Making up a document with JSON-LD
- Testing your structured markup