C# Serialization

Open-source C# projects categorized as Serialization

Top 23 C# Serialization Projects

Serialization
  • Json.NET

    Json.NET is a popular high-performance JSON framework for .NET

    Project mention: Why, after 6 years, I'm over GraphQL | news.ycombinator.com | 2024-05-30

    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.

    InfluxDB logo
  • MessagePack for C# (.NET, .NET Core, Unity, Xamarin)

    Extremely Fast MessagePack Serializer for C#(.NET, .NET Core, Unity, Xamarin). / msgpack.org[C#]

    Project mention: Serialization for C# Games | news.ycombinator.com | 2024-06-19

    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

  • Protobuf.NET

    Protocol Buffers library for idiomatic .NET

    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.

  • YamlDotNet

    YamlDotNet is a .NET library for YAML

  • Jil

    Fast .NET JSON (De)Serializer, Built On Sigil

  • 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.

  • bebop

    🎷No ceremony, just code. Blazing fast, typesafe binary serialization.

    Project mention: FLaNK AI Weekly 18 March 2024 | dev.to | 2024-03-18
  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • LitJSON

    JSON library for the .Net framework

  • 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

  • Msgpack-Cli

    MessagePack implementation for Common Language Infrastructure / msgpack.org[C#]

  • firely-net-sdk

    The official Firely .NET SDK for HL7 FHIR

    Project mention: FHIR crud app using aspnet core 8.0 and sql server | dev.to | 2024-07-13

    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.

  • FlatSharp

    Fast, idiomatic C# implementation of Flatbuffers

  • Ceras

    Universal binary serializer for a wide variety of scenarios https://discord.gg/FGaCX4c

  • QuikGraph

    Generic Graph Data Structures and Algorithms for .NET

  • JsonSubTypes

    Discriminated Json Subtypes Converter implementation for .NET

  • ObjectDumper

    ObjectDumper is a utility which aims to serialize C# objects to string for debugging and logging purposes.

  • Wire

    Binary serializer for POCO objects (by asynkron)

  • home

    A configurable and eXtensible Xml serializer for .NET. (by ExtendedXmlSerializer)

  • ILPack

    Serialize .NET Core assemblies

  • ProtoBuf

    C# code generator for reading and writing the protocol buffers format (by silentorbit)

  • NetStack

    Lightweight toolset for creating concurrent networking systems for multiplayer games

  • Hyperion

    Polymorphic serialization for .NET (by akkadotnet)

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C# Serialization discussion

Log in or Post with

C# Serialization related posts

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

Sponsored
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.
www.influxdata.com

Did you konow that C# is
the 10th most popular programming language
based on number of metions?