Skip to content


Subversion checkout URL

You can clone with
Download ZIP
A set of C# classes that help you work with JSON from services, strings, or objects in a dynamically typed form.
Branch: master
Fetching latest commit...
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
src Updated DLL to latest version (whoops)
DotJson.cs Added support for Json.Stringify(IDictionary<string, object>, bool) s…
DotJson.dll Updated DLL to latest version (whoops)
LICENSE Figured out a license. Dual MIT / GPLv2+ like jQuery Fixed readme example syntax

.JSON is For Winners

.JSON is a group of classes in one file that help you easily work with JSON as a dynamically typed object (myJson.someProperty[0].name), obtained from web services, strings, or anonymous objects.

It's made up of syntactic sugar, spice, and everything nice.

// In controller
public ActionResult Index() {
    dynamic[] repositories = JsonService.GetFrom("").repositories;

    dynamic topRepo = repositories.OrderBy(r => r.watchers).First();

    return View(topRepo);

// In razor file
@model dynamic


<p><a href="@Model.url">@Model.url</a> (@Model.watchers watching, @Model.forks forks)</p>


View the Wiki to learn more about .JSON and why it's awesome.

Something went wrong with that request. Please try again.