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?

1
  • There's also Jayrock. Commented Aug 11, 2009 at 11:39

3 Answers 3

8

Have you seen the JavaScriptSerializer class?

Sign up to request clarification or add additional context in comments.

4 Comments

Wow. That's inbuilt functionality! but it appears to be only Net Framework 3.5 compatible.. I typically target 2.0.
It's available in .NET 2.0 by adding a reference to System.Web.Extensions assembly and then using System.Web.Script.Serialization namespace.
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, ...
Installing ASP.NET 2.0 AJAX Extensions 1.0 will install the System.Web.Extensions assembly
1

You can use the DataContractSerializer to serialize/deserialize JSON.

Comments

0

I use csjson and it works pretty well.

Though we're not sure if its fully functional since the samples say its "pre-release".

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.