json5
Json.NET
Our great sponsors
json5 | Json.NET | |
---|---|---|
94 | 53 | |
6,238 | 10,481 | |
1.0% | - | |
0.0 | 3.1 | |
4 months ago | 13 days ago | |
JavaScript | C# | |
GNU General Public License v3.0 or later | MIT License |
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.
json5
-
Why the fuck are we templating YAML? (2019)
Is the list on their website not good? https://github.com/json5/json5/wiki/In-the-Wild
And it shouldn't take much to modify an existing JSON parser.
-
I pre-released my project "json-responder" written in Rust
JSON5 support
-
topoconfig: enhancing config declarations with graphs
Meanwhile, formats have been evolving (JSON5, YAML), config entry points are constantly changing. These fluctuations, fortunately, were covered by tools like the cosmiconfig.
-
That's a Lot of YAML
I think JSON5 is fairly close to this: https://json5.org
I reckon the only thing it's missing to be truly accessible to non-techies is that string values still need to be quoted, i.e. you can't have:
key: this is my value
(I'm definitely not saying it would be a good idea to allow quotes to be dropped, just that that's the only potential stumbling block I see for non-techies.)
-
XML is better than YAML
I believe that's JSON5.
https://github.com/json5/json5
It's my preferred configuration file format, it fixes all the problems I have with JSON (trailing commas, comments) without turning it into a mess full of gotchas like YAML.
Might be interesting to check out json5.
- Fx – Terminal JSON Viewer
-
What Is Wrong with TOML?
I can relate. But after using JSON for a while (in files that I edit by hand), I realised that I really wanted comments and trailing commas (which leads to https://nigeltao.github.io/blog/2021/json-with-commas-commen...). Next I'd probably want multiline strings (leading to https://github.com/json5/json5).
But if you use those extensions, all your tooling breaks.
I think the real bike-shedding would start when you want to add some syntax for raw string literals (e.g. heredocs); it's one of those features that feels redundant, until the day when you really need it and can't bear the pain of escaping.
Json.NET
- stopDoingJson
-
Should you use Newtonsoft.Json or System.Text.Json in 2023?
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.
-
React developer to NET
Nuget is where you'll get 3rd party libraries (such as Newtonsoft.Json for JSON processing)
-
How easy is Monogame for a beginner coming from game engines?
MonoGame abstracts a lot of the rendering work and is easy to use for 2D games (I haven't tested its 3D support so far). It also provides you with a content pipeline plus audio and input handlers. All that's left for you to do is roll your own Entity Component System, physics, and game logic. If you're not interested in writing your own physics, there are libraries out there already. Additionally, if you don't want to get caught up in the details of data serialization, Json.NET is a great package for serializing data in JSON format. That makes it perfect when paired with a map editor such as Tiled, which can export to JSON.
- An almost religious case for Rust
-
Week 6 - Parts 10 & 11: Save/load and leveling up
Got really mucked up in saving and loading. I ended up using the Json.NET framework from https://www.newtonsoft.com/json. Getting this to interface with Unity itself was a pain, but it seems to work fine in the end.
-
I created a program that prevents you from misclicking the silencer (VAC safe)
https://github.com/JamesNK/Newtonsoft.Json - Json de/serialization.
-
Where are the Software Developers here? eg. SAP, Microsoft, Salesforce, Oracle etc
Json.net, MahApps.Metro, and MapsUI
-
When you stop caring.
Pretty much what’s been going on with the github project for the de facto JSON serializer in .NET for 5 years now https://github.com/JamesNK/Newtonsoft.Json/issues/862
-
Automate Notion Kanban Report to MongoDB
Newtonsoft.Json
What are some alternatives?
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#]
Protobuf.NET - Protocol Buffers library for idiomatic .NET
LitJSON - JSON library for the .Net framework
Jil - Fast .NET JSON (De)Serializer, Built On Sigil
ProtoBuf - C# code generator for reading and writing the protocol buffers format
Bond - Bond is a cross-platform framework for working with schematized data. It supports cross-language de/serialization and powerful generic mechanisms for efficiently manipulating data. Bond is broadly used at Microsoft in high scale services.
ServiceStack.Text - .NET's fastest JSON, JSV and CSV Text Serializers
hjson-js - Hjson for JavaScript
jq - Command-line JSON processor [Moved to: https://github.com/jqlang/jq]
JsonSubTypes - Discriminated Json Subtypes Converter implementation for .NET
ZeroFormatter - Infinitely Fast Deserializer for .NET, .NET Core and Unity.