I am a newbie to Json, I have used some examples online and tried to convert a namevaluecollection to a Json (using json.net nuget package) and I only see The Key not the value in my json string after conversion. What am i missing.
Dim JSONString As String = ""
Dim test As NameValueCollection = New NameValueCollection
test.Add("1", "One")
test.Add("2", "Two")
test.Add("3", "Three")
JSONString = JsonConvert.SerializeObject(test)
The result in my Json string during runtime is shown in the below screenshot.
Please bear with me I am really new to Json and let alone serialising and deserialising json.