Easy to use framework for serializing to and from json. Supports typed DTO objects, dynamic DTO objects and immutable DTO types like F# record types.
C# Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Simple.Json.Tests.FSharp
Simple.Json.Tests
Simple.Json.WebApi
Simple.Json
benchmarks
nuget
.gitignore
README.md
Simple.Json.sln
Simple.Json.sln.DotSettings
minimal.ruleset
test-under-mono.bat

README.md

Simple.Json

Easy to use framework for serializing to and from json. Supports typed dto objects, dynamic dto objects and immutable dto types like F# record types.

Supports Microsoft Web API out of the box (MediaTypeFormatter implementation).

Initial release, version 1.0 (November 30, 2012)

Available through NuGet: http://www.nuget.org/List/Packages/Simple.Mocking

Fast serialization and deserialization

Time needed for serialization/deserialization of sample1.json 1000000 times. (Produced by FrameworkPerformanceTests included in the source code)

  • ServiceStack.Text - deserialize: 15.502s
  • ServiceStack.Text - serialize: 7.819s
  • Json.NET - deserialize: 18.890s
  • Json.NET - serialize: 12.158s
  • Simple.Json - deserialize: 8.016s
  • Simple.Json - serialize: 7.577s

TODO

  • Enum serialization
  • DateTimeOffset serialization
  • Discriminator support
  • Mandatory fields validation (counter not correct)