nlohmann.json
3.9.0
See the version list below for details.
dotnet add package nlohmann.json --version 3.9.0
NuGet\Install-Package nlohmann.json -Version 3.9.0
<PackageReference Include="nlohmann.json" Version="3.9.0" />
paket add nlohmann.json --version 3.9.0
#r "nuget: nlohmann.json, 3.9.0"
// Install nlohmann.json as a Cake Addin #addin nuget:?package=nlohmann.json&version=3.9.0 // Install nlohmann.json as a Cake Tool #tool nuget:?package=nlohmann.json&version=3.9.0
JSON for Modern C++
Product | Versions Compatible and additional computed target framework versions. |
---|---|
native | native is compatible. |
This package has no dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on nlohmann.json:
Package | Downloads |
---|---|
SiddiqSoft.restcl
Focussed REST Client for modern C++ |
|
SiddiqSoft.CosmosClient
Azure Cosmos REST-API Client for Modern C++ |
|
SiddiqSoft.sip2json
SIP Parser for Modern C++ |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on nlohmann.json:
Repository | Stars |
---|---|
Azure-Samples/cognitive-services-speech-sdk
Sample code for the Microsoft Cognitive Services Speech SDK
|
|
SamsidParty/TopNotify
The Ultimate Notification Customization Tool For Windows
|
Version | Downloads | Last updated |
---|---|---|
3.11.2 | 94,899 | 8/13/2022 |
3.11.1 | 24,425 | 8/3/2022 |
3.11.0 | 454 | 8/3/2022 |
3.10.5 | 53,651 | 5/8/2022 |
3.10.4 | 69,691 | 10/31/2021 |
3.10.3 | 519 | 10/31/2021 |
3.10.2 | 12,337 | 9/7/2021 |
3.10.1 | 3,611 | 8/24/2021 |
3.10.0 | 32,598 | 8/18/2021 |
3.9.1 | 57,366 | 8/11/2020 |
3.9.0 | 3,007 | 7/27/2020 |
3.8.0 | 605 | 7/24/2020 |
3.7.3 | 39,385 | 11/25/2019 |
3.7.2 | 764 | 11/25/2019 |
3.7.1 | 619 | 11/25/2019 |
3.7.0 | 191,622 | 8/7/2019 |
3.6.1 | 12,962 | 3/21/2019 |
3.6.0 | 653 | 3/21/2019 |
3.5.0 | 101,030 | 1/7/2019 |
3.4.0 | 736 | 1/7/2019 |
3.3.0 | 761 | 1/7/2019 |
3.2.0 | 3,002 | 9/28/2018 |
JSON for Modern C++ 3.9.0 is a feature release that adds four long-awaited features, some requested five years ago.
The parser functions have now an option to ignore // and /* */ style comments. Though comments are not officially part of the JSON specification, comment support was a frequently requested feature, and its implementation was much less effort than continuously explaining the lack of comment support.
The second-most requested feature was a way to preserve the insertion order of object keys. Though this was possible via template specialization for a while, we now added a new type nlohmann::ordered_json as drop-in replacement for nlohmann::json for this.
To circumvent unexpected behavior, implicit conversions can now be switched off with a CMake or preprocessor option.
Last, but not least, a mapping between user-defined types and JSON can now be expressed using convenience macros by just listing the names of the member variables to read/write.
All changes are backward-compatible. See below the complete list of changes.
https://github.com/nlohmann/json/releases/tag/v3.8.0
💰 Note you can support this project via [GitHub sponsors](https://github.com/sponsors/nlohmann) or [PayPal](http://paypal.me/nlohmann).