Json.NET & VB.NET – Installing Json.NET for VB.NET projects in Visual Studio 2015

Published on April 13, 2016 by Senthil Kumar

Filed under Json.NET

Last modified February 13, 2016

Print this page

rate 1 star rate 2 star rate 3 star rate 4 star rate 5 star
Your rating: none, Average: 4 (3 votes)

This article have been viewed 17348 times

This series of blog posts will cover how to integrate Json.NET library in your  VB.NET projects. In the first blog post , we will explore what is Json.NET and how to install it in Microsoft Visual Studio 2015.

Json.NET is one of the popular high performance and open source JSON framework for the .NET Developers.

It lets the developers to serialize and deserialize .NET objects and is considered to be one of the most popular .NET library. The first version of Json.NET was released sometime in June 2006 and now this library is used is most of the popular .NET open source projects like Mono , RavebDB , ASP.NET SignalR , ASP.NET Web API , Microsoft HTTP service framework etc.

Json.NET is currently supported in most of the project types in Visual Studio 2015 which includes .NET 2, .NET 3.5, .NET 4, .NET 4.5, Silverlight, Windows Phone and Windows 8 Store App,Universal Windows Platform applications etc.

How to Install Json.NET for your VB.NET projects in Visual Studio 2015 ?

Installing Json.NET for your VB.NET project in Visual Studio 2015 is pretty easier.  You can install it from the NuGet package.

To install Json.NET in Visual Studio 2015 for VB.NET projects , follow the below steps .

1. Open your VB.NET project (Eg : Console Application here) in Visual Studio 2015 .

2. In Visual Studio IDE , Navigate to Tools –> NuGet Package Manager –> Package Manager Console.


3. In the Package Manager Console Window , enter the following command and press the enter key.

Install-Package Newtonsoft.Json


With in few minutes , you will see the Newtonsoft.Json library be downloaded and installed in your project and you will be displayed a message in the Package Manager console similar to this .

Successfully installed ‘Newtonsoft.Json 8.0.2’ to ACConsoleVB

You will also be shown the webpage of the Json.NET within Visual Studio 2015 showing the version of Json.NET installed in your project.


4. To confirm if the Json.NET in installed in your project , you can open the solution explorer of your project in Visual Studio and expand the references folder to see the list of dll’s referred in the project. You should see Newtonsoft.Json here.


5. Additionally , open the packages.config file from solution explorer to see the following content.

<?xml version="1.0" encoding="utf-8"?>
  <package id="Newtonsoft.Json" version="8.0.2" targetFramework="net45" />

This indicates the Newtonsoft.Json version that is installed and the target framework.

6. Build the project and start using the Json.NET in your project.

Watch out for the other articles on Json.NET and how you can use it in your VB.NET projects at abundantcode.com

Leave a Comment


You might be Interested in these Posts

Video - Angular Router - Brian Ford

Video - Angular Router - Brian Ford http://www.youtube.com/watch?v=sfV0ApyN5fM ...

Video - An Angular2 Todo App: First look at App Development in Angular2

In this screencast , David East , one of the core contributor of the Angular provides a glimpse of A...

Video - Getting started with Angular 2

In this screencast , Alex Eagle , developer on the Angular team talks about Angular 2 developer prev...