minor code improvements
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user