Need help in converting json string present inside ["id"] to an object/property class in Vb.net

Json string: { "post":{"key":["key should be atleast 3 numbers"]}

What type of property can I use to store this string in my Model class

1 answer

  • answered 2021-09-24 02:02 Think2826

    I don't know the exact question

    You can easily convert it using the tool. https://json2csharp.com/

    Public Class Post
        Public Property key As List(Of String)
    End Class
    
    Public Class Root
        Public Property post As Post
    End Class
    
    

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum