C# Serialization

Open-source C# projects categorized as Serialization

Top 23 C# Serialization Projects

  • Json.NET

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

    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#]

    Project mention: Native AOT Overview | news.ycombinator.com | 2023-05-26

    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.

  • Protobuf.NET

    Protocol Buffers library for idiomatic .NET

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

  • YamlDotNet

    YamlDotNet is a .NET library for YAML

    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.

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

  • LitJSON

    JSON library for the .Net framework

  • 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: New Google Bard Update (can run code) | /r/Bard | 2023-06-08
  • bebop

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

    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
  • Msgpack-Cli

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

    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

  • firely-net-sdk

    The official Firely .NET SDK for HL7 FHIR

  • Ceras

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

  • FlatSharp

    Fast, idiomatic C# implementation of Flatbuffers

  • Unity-SerializeReferenceExtensions

    Provide popup to specify the type of the field serialized by the [SerializeReference] attribute in the inspector.

    Project mention: What features do you want Unity to focus next? | /r/Unity3D | 2023-06-11

    for serializing interfaces and abstracts, this is phenomenal: https://github.com/mackysoft/Unity-SerializeReferenceExtensions

  • Wire

    Binary serializer for POCO objects (by asynkron)

  • JsonSubTypes

    Discriminated Json Subtypes Converter implementation for .NET

  • QuikGraph

    Generic Graph Data Structures and Algorithms for .NET

    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.

  • home

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

  • ILPack

    Serialize .NET Core assemblies

    Project mention: Writing to .il file using Reflection.Emit | /r/csharp | 2023-04-27
  • 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)

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

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). The latest post mention was on 2023-09-10.

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