Fast JSON Parser for Silverlight or .NET
C# ASP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
FridayThe13th
FridayThe13thSL
TestFridayThe13th
TestFridayThe13thSL.Web
TestFridayThe13thSL
.gitignore
FridayThe13th.sln
FridayThe13th.vsmdi
Local.testsettings
README.markdown
TraceAndTestImpact.testsettings

README.markdown

Usage

Let's say that you have this JSON:

{
	"some_number": 108.541,
	"date_time": "2011-04-13T15:34:09Z",
	"serial_number": "SN1234"
	"more_data": {
		"field1": 1.0
		"field2": "hello"
	}
}

You can deserialize it like so: using FridayThe13th;

var jsonText = File.ReadAllText("mydata.json");

var jsp = new JsonParser(){CamelizeProperties = true};
dynamic json = jsp.Parse(jsonText);

Console.WriteLine(json.SomeNumber); //outputs 108.541
Console.WriteLine(json.MoreData.Field2); //outputs hello

License:

It's licensed under the LGPL V2.