Skip to content

Discontinued as of 2019 as non-core .NET is "as good as dead" and .NET core 3.0 will ship with a high performance JSON library

Notifications You must be signed in to change notification settings

mikaelwaltersson/Simple.Json

Repository files navigation

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)

About

Discontinued as of 2019 as non-core .NET is "as good as dead" and .NET core 3.0 will ship with a high performance JSON library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages