Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today. Learn more →
Top 23 C# Serialization Projects
-
Project mention: Should you use Newtonsoft.Json or System.Text.Json in 2023? | /r/dotnet | 2023-07-12
This bug and many others related to time: https://github.com/JamesNK/Newtonsoft.Json/issues/862 And they will never get fixes, because the project is kind of dead. Edit: and actually, the creator claim to have made it like this on purpose, so I don't trust it anymore.
-
MessagePack for C# (.NET, .NET Core, Unity, Xamarin)
Extremely Fast MessagePack Serializer for C#(.NET, .NET Core, Unity, Xamarin). / msgpack.org[C#]
With Unity/IL2CPP stuff: For general-purpose serialization libraries like JSON, you sometimes need to provide hints to make sure types are included: https://github.com/jilleJr/Newtonsoft.Json-for-Unity/wiki/Fi...
For schema serialization on known types, there are codegen tools (i.e. moc for MessagePack): https://github.com/neuecc/MessagePack-CSharp
MessagePack is migrating to Rosalyn code generators, so basically invisible codegen. Cysharp's newer serialization library, MessagePack, already uses this: https://github.com/Cysharp/MemoryPack
-
Mergify
Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.
-
Project mention: ProtoBuf message serialization in Akka.NET using protobuf-net | dev.to | 2023-02-09
This article requires that reader is familar with core concept of Akka.NET serialization (see https://getakka.net/articles/serialization/serialization.html) and ProtoBuf-Net library (see https://github.com/protobuf-net/protobuf-net).
-
Project mention: Convert complex YAML to .NET types with custom YamlDotNet type converters | dev.to | 2023-09-10
When it comes to YAML serialization and deserialization in .NET, YamlDotNet is a go-to library with over 100 million downloads on NuGet. It is also integrated into various projects by Microsoft and the .NET team, despite the absence of an official Microsoft YAML library for .NET.
-
-
Magicodes.IE
Import and export general library, support Dto import and export, template export, fancy export and dynamic export, support Excel, Csv, Word, Pdf and Html.
-
-
SonarLint
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
-
FileHelpers
The FileHelpers are a free and easy to use .NET library to read/write data from fixed length or delimited records in files, strings or streams
-
Project mention: Bebop introduces JSON-Over-Bebop for fast runtime type validation of raw JSON in JavaScript/TypeScript; faster than Zod and other alternatives | /r/node | 2023-06-27
-
Project mention: Feedback request: a super-lightweight library for transferring data between applications | /r/Python | 2022-12-11
In comparison, msgpack/flatbuffers are much more complex and have their own build dependency. For example, this is what you'll need for msgpack - https://github.com/msgpack/msgpack-cli/tree/master/src/MsgPack
-
-
-
-
Unity-SerializeReferenceExtensions
Provide popup to specify the type of the field serialized by the [SerializeReference] attribute in the inspector.
for serializing interfaces and abstracts, this is phenomenal: https://github.com/mackysoft/Unity-SerializeReferenceExtensions
-
-
-
Project mention: A command line tool that converts GraphQL schemas to Karate API tests | /r/csharp | 2023-04-29
QuikGraph for detecting cycles in GraphQL types
-
ObjectDumper
ObjectDumper is a utility which aims to serialize C# objects to string for debugging and logging purposes.
-
-
-
-
-
-
InfluxDB
Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
C# Serialization related posts
- Convert complex YAML to .NET types with custom YamlDotNet type converters
- Should you use Newtonsoft.Json or System.Text.Json in 2023?
- Bebop introduces JSON-Over-Bebop for fast runtime type validation of raw JSON in JavaScript/TypeScript; faster than Zod and other alternatives
- New Google Bard Update (can run code)
- Removing default values while serializing using Newtonsoft.Json
- Native AOT Overview
- Bebop (Better Protocol Buffers) v2.7.0: watch mode, service streams, improved REPL, and compiler plugins RFC
-
A note from our sponsor - SonarLint
www.sonarlint.org | 28 Sep 2023
Index
What are some of the best open-source Serialization projects in C#? This list will help you:
Project | Stars | |
---|---|---|
1 | Json.NET | 10,230 |
2 | MessagePack for C# (.NET, .NET Core, Unity, Xamarin) | 4,889 |
3 | Protobuf.NET | 4,342 |
4 | YamlDotNet | 2,233 |
5 | Jil | 2,140 |
6 | Magicodes.IE | 1,942 |
7 | LitJSON | 1,257 |
8 | FileHelpers | 1,101 |
9 | bebop | 1,034 |
10 | Msgpack-Cli | 809 |
11 | firely-net-sdk | 747 |
12 | Ceras | 463 |
13 | FlatSharp | 449 |
14 | Unity-SerializeReferenceExtensions | 389 |
15 | Wire | 378 |
16 | JsonSubTypes | 367 |
17 | QuikGraph | 366 |
18 | ObjectDumper | 337 |
19 | home | 309 |
20 | ILPack | 284 |
21 | ProtoBuf | 282 |
22 | NetStack | 276 |
23 | Hyperion | 275 |