JsonKnownTypes VS Json.NET

Compare JsonKnownTypes vs Json.NET and see what are their differences.

JsonKnownTypes

Simple way to serialize and deserialize polymorphic types for Json.NET (by dmitry-bym)

Json.NET

Json.NET is a popular high-performance JSON framework for .NET (by JamesNK)
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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
JsonKnownTypes Json.NET
2 54
41 10,554
- -
3.2 3.7
12 days ago 30 days ago
C# C#
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

JsonKnownTypes

Posts with mentions or reviews of JsonKnownTypes. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-05-05.
  • c# deserializing polymorphic json using json.net
    1 project | /r/programming | 6 Feb 2022
  • Json locations
    4 projects | /r/gamedev | 5 May 2021
    I'm using dual serialization for the heavily polymorphic data structures in my game - MessagePack with integer keys and union polymorphism for the wire format and local storage, and Json.NET with string keys and JsonKnownTypes polymorphism for debug output and long term persistence in RethinkDB. Here's what one of my simpler polymorphic data structures looks like. Lots of attributes but that's the price you pay I guess.

Json.NET

Posts with mentions or reviews of Json.NET. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-09.

What are some alternatives?

When comparing JsonKnownTypes and Json.NET you can also consider the following projects:

JsonSubTypes - Discriminated Json Subtypes Converter implementation for .NET

Utf8Json - Definitely Fastest and Zero Allocation JSON Serializer for C#(NET, .NET Core, Unity, Xamarin).

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

ServiceStack.Text - .NET's fastest JSON, JSV and CSV Text Serializers

Protobuf.NET - Protocol Buffers library for idiomatic .NET

ysoserial.net - Deserialization payload generator for a variety of .NET formatters

LitJSON - JSON library for the .Net framework

Zorya - C# implementation of the variant type.

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

ProtoBuf - C# code generator for reading and writing the protocol buffers format

json5 - JSON5 — JSON for Humans