Comments (3)
Hi @fewless2019 - I can't recreate the problem you've describe by using the steps you've mentioned. Can you tell me the version of .NET you're using, whether you're pulling in your own version of System.Text.Json (and what version that is), and also have a look over the steps to reproduce that you've provided.
Based on the exception message, I don't think the problem is to do with the Physician
inheritance but the Hospital
inheritance. Specifically CivicStructureAndEmergencyServiceAndMedicalOrganization
has OpeningHours
and so does LocalBusinessAndOrganizationAndPlace
. And even then, the exception refers to the interface IHospital
, not the implementation.
The strange part though is these combined types have several properties that are overridden, not just OpeningHours
and I don't see anything special about OpeningHours
in terms of how it is defined in Schema.NET nor any reference in your steps to reproduce.
from schema.net.
from schema.net.
from schema.net.
Related Issues (20)
- Cannot deserialize json that contains comment HOT 9
- Exception thrown "The converter 'Schema.NET.ValuesJsonConverter' read too much or not enough." HOT 6
- HasValue1 returns false for ItemList of ListItems HOT 2
- List or nested data is missing @context HOT 2
- Missing jobTitle on Person HOT 7
- Support multiple `@type` values. HOT 5
- If a json property starts with a capital letter, it is not included in the deserialized object HOT 2
- Exception thrown "startIndex cannot be larger than length of string. (Parameter 'startIndex')" HOT 4
- Dynamic/Unknown type deserialization
- Support 2 Offers Properties: HOT 2
- Version 12.0.0 has a dependency on .NET 7 in the .NET 6 build HOT 5
- FAQPage odd behaviour HOT 2
- XML Serialisation HOT 4
- WebPageElement is missing cssSelector HOT 1
- Schema.org v16 or later HOT 3
- ListItem won't let me set the Item property HOT 1
- A null or whitespace string passed into Values<T1, T2*> causes HasValueX to return true
- ICreativeWork.Provider doesn't exist in 13.0.0 package HOT 6
- Add Deserialization Examples
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from schema.net.