views:

669

answers:

4

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
+1  A: 

There's also Jayrock.

Vinay Sajip
+3  A: 

Have you seen the JavaScriptSerializer class?

Russ Cam
Wow. That's inbuilt functionality! but it appears to be only Net Framework 3.5 compatible.. I typically target 2.0.
Jenko
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
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
Installing ASP.NET 2.0 AJAX Extensions 1.0 will install the System.Web.Extensions assembly
Russ Cam
+1  A: 

You can use the DataContractSerializer to serialize/deserialize JSON.

tvanfosson