I looked on the JSON.org website but I couldn't find any JSON library for Visual Basic .NET, does one exist? Did anyone have any success using Json.NET with VB.NET?
3 Answers
Have you seen the JavaScriptSerializer class?
4 Comments
Robin Rodricks
Wow. That's inbuilt functionality! but it appears to be only Net Framework 3.5 compatible.. I typically target 2.0.
Russ Cam
It's available in .NET 2.0 by adding a reference to System.Web.Extensions assembly and then using System.Web.Script.Serialization namespace.
tvanfosson
Too much good stuff in 3.5 to stay with 2.0. You're seriously missing out on some stuff that will make your life much easier, such as LINQ, anonymous types, better AJAX, better AD support, ...
Russ Cam
Installing ASP.NET 2.0 AJAX Extensions 1.0 will install the System.Web.Extensions assembly
I use csjson and it works pretty well.
Though we're not sure if its fully functional since the samples say its "pre-release".