This is the sample in C#
using System.Web.Script.Serialization;
var jss = new JavaScriptSerializer();
var dict = jss.Deserialize<Dictionary<string,string>>(jsonText);
Console.WriteLine(dict["some_number"]); //outputs 108.541
For I keep getting errors when I try to use an online converter to convert it to vb.net. Does anyone know how to rewrite this in vb.net?
The error I get from http://www.developerfusion.com/tools/convert/csharp-to-vb/ is:
-- line 3 col 1: EOF expected
You have to put in valid C#.
I changed your input code to the following:
Then passed it through developer fusion to get:
Imports System.Web.Script.Serialization