-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Blazor Deserialization error #11476
Copy link
Copy link
Closed
Labels
ExternalThis is an issue in a component not contained in this repository. It is open for tracking purposes.This is an issue in a component not contained in this repository. It is open for tracking purposes.area-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Components
Metadata
Metadata
Assignees
Labels
ExternalThis is an issue in a component not contained in this repository. It is open for tracking purposes.This is an issue in a component not contained in this repository. It is open for tracking purposes.area-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Components
Type
Fields
Give feedbackNo fields configured for issues without a type.
With upgrade to .NEt core 3 review 6 I get a deserialization issue with date using HttpClient.GetJsonAsync() in Blazor
Here is the json:
{ "id": 1, "priority": 2, "type": 1, "status": 3, "title": "Ralentissements importants lors de la consultation d'une fiche produit", "creationdate": "2019-06-11T00:00:00", "userId": 13 }If I use this code:
The date is not deserialized correctly an I get a January 1st date
If I use this code:
the date is correctly deserialized.