Utf8Json
LitJSON
Our great sponsors
Utf8Json | LitJSON | |
---|---|---|
4 | 1 | |
2,248 | 1,317 | |
- | 1.5% | |
0.0 | 7.0 | |
almost 2 years ago | 5 months ago | |
C# | C# | |
MIT License | GNU General Public License v3.0 or later |
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.
Utf8Json
-
Utf8Json VS Utf8JsonAsyncStreamReader - a user suggested alternative
2 projects | 10 May 2023
-
Branchless Exercise
While I posted a solution that would do this, I'd call this premature optimization. The only time I'd even consider doing this is in a hot path. Here's a good reason to focus on branchless programming: https://github.com/neuecc/Utf8Json.
-
Tried system.text.json instead of Newtonsoft.json for a personal project, resulted in a 10x throughput in improvement
Now try Utf8Json.
-
Runtime communication with C# applicaiton
If my game state was smaller I would go for https://github.com/neuecc/Utf8Json and serde_json combination. Would save me some time with rmp_serde customization.
LitJSON
-
Looking for suggestions on storing the level/brick data in an Arkanoid/Brickz type of game.
I think JSON is used reasonably often under the hood for various things in Unity, I certainly use it in all my games. The builtin JSONUtility can do the job, but there are some edge cases (serializing lists without a base class, for example) where it falls over. LitJSON is a simple but comprehensive option if you need more power.
What are some alternatives?
Json.NET - Json.NET is a popular high-performance JSON framework for .NET
Jil - Fast .NET JSON (De)Serializer, Built On Sigil
Bois - Salar.Bois is a compact, fast and powerful binary serializer for .NET Framework. With Bois you can serialize your existing objects with almost no change.
Protobuf.NET - Protocol Buffers library for idiomatic .NET
ZeroFormatter - Infinitely Fast Deserializer for .NET, .NET Core and Unity.
ServiceStack.Text - .NET's fastest JSON, JSV and CSV Text Serializers
MessagePack for C# (.NET, .NET Core, Unity, Xamarin) - Extremely Fast MessagePack Serializer for C#(.NET, .NET Core, Unity, Xamarin). / msgpack.org[C#]
Protobuf - Protocol Buffers - Google's data interchange format
ProtoBuf - C# code generator for reading and writing the protocol buffers format
Msgpack-Cli - MessagePack implementation for Common Language Infrastructure / msgpack.org[C#]