Replies: 3 comments 3 replies
-
The reason why it wasn't used initially has to do with the history of the WinUI Gallery, formerly XAML Controls Gallery. This project started out as UWP app, well before the System.Text.JSON namespace was even a thing. Throughout the years the area did not really needed modification and only with the move to WinUI 3 and dropping UWP support, this became a valid option. I don't think there is an argument against switching to this API now though, @karkarl what do you think? |
Beta Was this translation helpful? Give feedback.
-
Hi @chingucoding |
Beta Was this translation helpful? Give feedback.
-
Wooo! Fixed with #1276, thanks @ghost1372! |
Beta Was this translation helpful? Give feedback.
-
I can see in
controlinfodatasource
you are usingjsonobject
for deserializing json file, is there any specific reason for that? Why you are not usingSystem.Text.JsonSerializer.Deserialize
method?Using Deserialize method is clean and we can use Async method and mybe faster than
jsonobject
!I can make a pr for this.
@chingucoding can you answer this question?
Beta Was this translation helpful? Give feedback.
All reactions