Skip to content

Repository files navigation

Argon

Build statusNuGet StatusNuGet StatusNuGet StatusNuGet StatusNuGet StatusNuGet Status

Argon is a JSON framework for .NET. It is a hard fork of Newtonsoft.Json.

See Milestones for release notes.

Sponsors

Entity Framework Extensions

Entity Framework Extensions is a major sponsor and is proud to contribute to the development this project.

Entity Framework Extensions

Developed using JetBrains IDEs

JetBrains logo.

NuGet

Serialize JSON

varproduct=newProduct{Name="Apple",Expiry=new(2008,12,28),Sizes=["Small"]};varjson=JsonConvert.SerializeObject(product);// {// "Name": "Apple",// "Expiry": "2008-12-28T00:00:00",// "Sizes": [// "Small"// ]// }

snippet source | anchor

Deserialize JSON

varjson=""" { 'Name': 'Bad Boys', 'ReleaseDate': '1995-4-7T00:00:00', 'Genres': [ 'Action', 'Comedy' ] } """;varmovie=JsonConvert.DeserializeObject<Movie>(json);varname=movie.Name;// Bad Boys

snippet source | anchor

LINQ to JSON

varjArray=newJArray{"Manual text",newDateTime(2000,5,23)};varjObject=newJObject{["MyArray"]=jArray};varjson=jObject.ToString();// {// "MyArray": [// "Manual text",// "2000-05-23T00:00:00"// ]// }

snippet source | anchor

Icon

Helmet designed by Juan Manuel Corredor from The Noun Project.

About

Argon is a JSON framework for .NET. It is a hard fork of Newtonsoft.Json.

Topics

Resources

Contributing

Stars

13 stars

Watchers

3 watching

Forks

Releases

Used by

Contributors

Languages