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?
A:
I use csjson and it works pretty well.
Though we're not sure if its fully functional since the samples say its "pre-release".
Otávio Décio
2009-08-11 11:38:45
Wow. That's inbuilt functionality! but it appears to be only Net Framework 3.5 compatible.. I typically target 2.0.
Jenko
2009-08-11 11:48:31
It's available in .NET 2.0 by adding a reference to System.Web.Extensions assembly and then using System.Web.Script.Serialization namespace.
Russ Cam
2009-08-11 11:53:40
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, ...
tvanfosson
2009-08-11 11:54:34
Installing ASP.NET 2.0 AJAX Extensions 1.0 will install the System.Web.Extensions assembly
Russ Cam
2009-08-11 11:55:22
+1
A:
You can use the DataContractSerializer to serialize/deserialize JSON.
tvanfosson
2009-08-11 11:50:16