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 (1)
Showing the top 1 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
|
Version | Downloads | Last updated |
---|---|---|
3.11.2 | 66,578 | 8/13/2022 |
3.11.1 | 21,654 | 8/3/2022 |
3.11.0 | 435 | 8/3/2022 |
3.10.5 | 46,081 | 5/8/2022 |
3.10.4 | 67,602 | 10/31/2021 |
3.10.3 | 506 | 10/31/2021 |
3.10.2 | 11,143 | 9/7/2021 |
3.10.1 | 3,246 | 8/24/2021 |
3.10.0 | 32,569 | 8/18/2021 |
3.9.1 | 51,059 | 8/11/2020 |
3.9.0 | 2,863 | 7/27/2020 |
3.8.0 | 587 | 7/24/2020 |
3.7.3 | 33,592 | 11/25/2019 |
3.7.2 | 756 | 11/25/2019 |
3.7.1 | 609 | 11/25/2019 |
3.7.0 | 167,330 | 8/7/2019 |
3.6.1 | 11,540 | 3/21/2019 |
3.6.0 | 647 | 3/21/2019 |
3.5.0 | 100,954 | 1/7/2019 |
3.4.0 | 727 | 1/7/2019 |
3.3.0 | 751 | 1/7/2019 |
3.2.0 | 2,902 | 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).