RehanSaeed / Schema.NET

Schema.org objects turned into strongly typed C# POCO classes for use in .NET. All classes can be serialized into JSON/JSON-LD and XML, typically used to represent structured data in the head section of html page.
MIT License
640 stars 80 forks source link

Add Deserialization Examples #683

Open nsnlookupjn opened 7 months ago

nsnlookupjn commented 7 months ago

Describe the feature

While the source code provides numerous examples of generating Schema.Net objects, little attention is given to the Deserialization of JSON found when reading web page HTML. Can you please add examples of deserializing JSON blocks to extract WebPage, FAQPage and other elements including where appropriate code to identify the nature of the Schema (Typically WebPage or FAQPage) so that the deserialization can occur without confusing the root intent of the "IThings"? I can contribute code examples that show a working (but with issues) solution to crawling web page structured data.

Schema objects

No response