Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
-
@ostream
We have weekly meetings with Microsoft Azure Fast-track team, and still this shit happens. The Microsoft guys usually end up going back to their developers and getting a working sample for us. -
@ostream
Yeah, possible if you can produce your own electricity, don't use communications infrastructure and instead use IPoAC or smoke signals, grow your own food, ... the list goes on. Unfortunately we are as dependent on corporations as fish on water... -
@uNrEaL-jAsE What's wrong is, if you want polymorphism to work the way one expects it to work, you have to add an attribute to the "base" class. Not "derived", but base. Why is that exactly?
-
@FuckJava
AFAIK, you could describe the discriminator field as an attribute in either the base class, or the serializer itself.
Again, assuming this works like newtonsoft.json, which is what this implementation seems to be based on.
Related Rants
Upgraded my project from .NET 6 to .NET 7.
Looks like some kid who writes shit in JavaScript and pats themselves on the back has had some input on System.Text.Json
JsonDerivedTypeAttribute
rant
dotnet
json