Comments (4)
I've encountered circumstances where even attributes can change the compiler behaviour, and introduce a regression; not common, but I'm an overly defensive developer 😂
Happy to investigate the matter, and start with attributes. If a serialiser is also required, will be adding it test-first.
I'll let you know how things go.
from schema.net.
Hey @SmithPlatts - haven't actually tried XML serialization before. I imagine it may have some trouble with our OneOrMany
and Values
types without some dedicated serializer for the,. If there are just some attributes we need to set on properties, that could be something easy enough for us to apply to the library though.
from schema.net.
Hi @Turnerj, cheers for opening the conversation.
I was actually thinking of giving that a go in my branch, and if it works without impacting the perf of the library, was going to open a PR for your review and comment.
from schema.net.
I don't imagine the existing performance of the library would be impacted - like if we just need extra attributes, that's effectively a no-op in terms of performance. If we need a new XML-based serializer, that's a bit more work and more tests to do it thoroughly. Really hoping we can get away with just some attributes etc to decorate properties!
from schema.net.
Related Issues (20)
- Relative paths are removed from Product HOT 6
- 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
- The JSON property name for 'Schema.NET.IHospital.OpeningHours' collides with another property. HOT 3
- FAQPage odd behaviour HOT 2
- 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
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.