Skip to content

A .NET Json parser in one .cs file, with zero dependencies.

License

Notifications You must be signed in to change notification settings

smourier/ZeroDepJson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZeroDepJson

A .NET JSON serializer/deserializer with zero dependencies.

There are already many JSON serializers available on the .NET platform. So why ZeroDepJson?

  • It's only one .cs file ZeroDepJson.cs so it's super easy to integrate in any .NET project, .NET Framework, .NET core, .NET 5/6/7+, client, server, etc.
  • It supports .NET framework 4.0 to .NET 7+ projects.
  • Since it's one source file, you can change some parts of the code easily if you want to really customize it.
  • As the name implies, it has ZERO dependency on anything except "some .NET with C#" platform.
  • It's quite feature-full, more than some JSON parsers available today, it's not "simple" nor "lightweight".

Note for .NET 8 and higher, dependencies on FormatterConverter and support for ISerializable has been removed to comply with .NET 8 warnings https://learn.microsoft.com/en-us/dotnet/fundamentals/syslib-diagnostics/syslib0050.

Just to make it clear, absolute performance is not a goal. Although its performance is, I hope, decent, if you're after the best performing JSON serializer / deserializer ever, then don't use this.

Releases

No releases published

Packages

No packages published

Languages