InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards. Learn more →
Top 23 C# Serialization Projects
-
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.
-
InfluxDB
Purpose built for real-time analytics at any scale. InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
-
MessagePack for C# (.NET, .NET Core, Unity, Xamarin)
Extremely Fast MessagePack Serializer for C#(.NET, .NET Core, Unity, Xamarin). / msgpack.org[C#]
There's a very good MessagePack serialization library for C#. I've used it in many of the games I worked on.
https://github.com/MessagePack-CSharp/MessagePack-CSharp
-
Project mention: Why should we use Protobuf in Web API as data transfer protocol. | dev.to | 2024-08-28
To get started, download the Protobuf-net NuGet package from NuGet.
-
-
-
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
-
-
is required for Serialization of data, otherwise this will throw error The collection type 'Hl7.Fhir.Model.Patient' is abstract, an interface, or is read only, and could not be instantiated and populated. Also, we need to initialize a new converter as IList convertersToAdd = new List(fhirConverters); else we will end up in modifying the original list which is not of course we want. Also, this line opt.JsonSerializerOptions.Encoder = System.Text.Encodings.Web.JavaScriptEncoder.UnsafeRelaxedJsonEscaping; allows characters that are particularly escaped like &, <, > to remain unescaped, which is useful for interoperability and readability of json output but it should be cautiously used. In summary this converter is used for serialization and deserialization of fhir model data which is of complex type and is challenging to perform deserialization for saving data on database and ** serializing** while returning response to client using native converters like NewtonSoft. Ref here - https://github.com/FirelyTeam/firely-net-sdk/issues/2583
-
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
C# Serialization discussion
C# Serialization related posts
-
FHIR crud app using aspnet core 8.0 and sql server
-
Serialization for C# Games
-
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
-
A note from our sponsor - InfluxDB
www.influxdata.com | 11 Sep 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,718 |
2 | MessagePack for C# (.NET, .NET Core, Unity, Xamarin) | 5,575 |
3 | Protobuf.NET | 4,627 |
4 | YamlDotNet | 2,532 |
5 | Jil | 2,146 |
6 | Magicodes.IE | 2,088 |
7 | bebop | 1,877 |
8 | LitJSON | 1,353 |
9 | FileHelpers | 1,132 |
10 | Msgpack-Cli | 829 |
11 | firely-net-sdk | 821 |
12 | Unity-SerializeReferenceExtensions | 706 |
13 | FlatSharp | 496 |
14 | Ceras | 481 |
15 | QuikGraph | 466 |
16 | JsonSubTypes | 408 |
17 | ObjectDumper | 391 |
18 | Wire | 377 |
19 | home | 333 |
20 | ILPack | 306 |
21 | ProtoBuf | 303 |
22 | NetStack | 305 |
23 | Hyperion | 277 |