Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JSON.NET Tutorial [closed]

Tags:

Can anyone help me in finding some code examples or tutorials to understand how to use JSON.NET features. The documentation seems to be a litle confusing and difficult for me to undersatand. I am new in field of JSON and .NET Thanks Puneet

like image 688
Puneet W Avatar asked Feb 26 '12 17:02

Puneet W


People also ask

Is JSON net deprecated?

Despite being deprecated by Microsoft in . NET Core 3.0, the wildly popular Newtonsoft. Json JSON serializer still rules the roost in the NuGet package manager system for . NET developers.

Is Newtonsoft JSON obsolete?

Obsolete. The value types allowed by the JsonSchema. JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.

How do I get JSON net?

Right click the References node in your Project and click Manage Nuget Packages... In the Nuget Package Manager Dialog box, make sure Online is selected in the left pane. Type Json.Net in the search box in the top right. This will display the Json.Net Nuget Package in the search results pane in the middle.

Is JSON net and Newtonsoft the same?

Newtonsoft is the creator/publisher (the company), and JSON.NET is the product name. It's the same thing.


2 Answers

Check the examples given here:

http://james.newtonking.com/pages/json-net.aspx

If you are still confused then provide detail of what you want to achieve?

like image 164
Yaqub Ahmad Avatar answered Nov 07 '22 09:11

Yaqub Ahmad


Start off with http://www.json.org/

Then check out http://www.drowningintechnicaldebt.com/ShawnWeisfeld/archive/2010/08/22/using-c-4.0-and-dynamic-to-parse-json.aspx

Using Json with .NET is really easy.

like image 24
Four_0h_Three Avatar answered Nov 07 '22 07:11

Four_0h_Three