minor code improvements

This commit is contained in:
2024-04-21 11:40:49 +02:00
parent fd701f3615
commit c0fb1e3904
4 changed files with 9 additions and 10 deletions

View File

@@ -1,11 +1,11 @@
Imports Newtonsoft.Json.Linq
Imports Newtonsoft.Json
Public Class UpdateInfos
Public ReadOnly Property Updates As New List(Of UpdateInfo)
Public Shared Function Parse(content As String) As UpdateInfos
Return JObject.Parse(content).ToObject(Of UpdateInfos)
Return JsonConvert.DeserializeObject(Of UpdateInfos)(content)
End Function
End Class