Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Top 23 C# Serialization Projects
-
MessagePack for C# (.NET, .NET Core, Unity, Xamarin)
Extremely Fast MessagePack Serializer for C#(.NET, .NET Core, Unity, Xamarin). / msgpack.org[C#]
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
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.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
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
-
Unity-SerializeReferenceExtensions
Provide popup to specify the type of the field serialized by the [SerializeReference] attribute in the inspector.
-
ObjectDumper
ObjectDumper is a utility which aims to serialize C# objects to string for debugging and logging purposes.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
In my opinion, the single biggest issue with Newtonsoft.Json is https://github.com/JamesNK/Newtonsoft.Json/issues/862.
Sure, you can disable it, but the fact that it is opt-out to begin with - i.e. that by default the parser will try to creatively interpret any string it sees in JSON input and convert in a locale-specific manner that also quietly loses data - is, frankly, insane through and through. I've personally run into this issue many times in existing code - it usually happens when people first start using the library and just never run into any inputs that would trigger this behavior while testing. Then once that code is shipped, someone somewhere just happens to have the data that triggers it.
And if you look at the comments to that issue, there are numerous mentions from other GitHub repos due to bugs it caused for them, including some Microsoft projects.
The cherry on that cake was author's response indicating that he doesn't even understand why this design is problematic in the first place: "I like what it does, I have no plans to change it, and I would do it again if given the chance." I wouldn't trust any parser written with this kind of attitude.
Project mention: .NET 9 will be putting BinaryFormatter out to pasture | news.ycombinator.com | 2024-02-11
Project mention: Convert complex YAML to .NET types with custom YamlDotNet type converters | dev.to | 2023-09-10When 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.
for serializing interfaces and abstracts, this is phenomenal: https://github.com/mackysoft/Unity-SerializeReferenceExtensions
C# Serialization related posts
-
Runtime code generation and execution in Go
-
GitHub Actions e a Magia dos Triggers: Automatizando Tarefas com C#
-
Fast, Typesafe Binary Serialization
-
.NET 9 will be putting BinaryFormatter out to pasture
-
stopDoingJson
-
Convert complex YAML to .NET types with custom YamlDotNet type converters
-
Should you use Newtonsoft.Json or System.Text.Json in 2023?
-
A note from our sponsor - InfluxDB
www.influxdata.com | 1 Jun 2024
Index
What are some of the best open-source Serialization projects in C#? This list will help you:
Project | Stars | |
---|---|---|
1 | Json.NET | 10,575 |
2 | MessagePack for C# (.NET, .NET Core, Unity, Xamarin) | 5,361 |
3 | Protobuf.NET | 4,547 |
4 | YamlDotNet | 2,457 |
5 | Jil | 2,142 |
6 | Magicodes.IE | 2,051 |
7 | bebop | 1,850 |
8 | LitJSON | 1,328 |
9 | FileHelpers | 1,122 |
10 | Msgpack-Cli | 821 |
11 | firely-net-sdk | 808 |
12 | Unity-SerializeReferenceExtensions | 607 |
13 | FlatSharp | 486 |
14 | Ceras | 474 |
15 | QuikGraph | 439 |
16 | JsonSubTypes | 398 |
17 | Wire | 378 |
18 | ObjectDumper | 385 |
19 | home | 328 |
20 | ILPack | 303 |
21 | ProtoBuf | 299 |
22 | NetStack | 293 |
23 | Hyperion | 278 |
Sponsored