centos7でipcountメモ
wget http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/p/perl-Net-IP-1.26-4.el7.noarch.rpm
rpm -ivh perl-Net-IP-1.26-4.el7.noarch.rpm
バージョンなどは適宜読み替えてください。
パソコンや開発、Linuxやデータベースのことなど
vb.netでjsonのシリアライズ
Public Function Deserialize(Of T)(json As String) As T
Dim result As T
Dim serializer As New DataContractJsonSerializer(GetType(T))
Using stream As New IO.MemoryStream(System.Text.Encoding.UTF8.GetBytes(json))
result = DirectCast(serializer.ReadObject(stream), T)
End Using
Return result
End Function
Public Function Deserialize(Of T)(json As String) As T
Dim result As T
Dim serializer As New DataContractJsonSerializer(GetType(T))
Using stream As New IO.MemoryStream(System.Text.Encoding.UTF8.GetBytes(json))
result = DirectCast(serializer.ReadObject(stream), T)
End Using
Return result
End Function