NuGet package for Niels Lohmann's JSON for Modern C++.
There are two separate packages to choose from. You only need one of them:
nlohmann.json
contans the single-header version (recommended)nlohmann.json.decomposed
contans the version with decomposed headers. Use it when you need finer control over what to include.
Add nlohmann.json
package from official nuget.org source. You can do this via Visual Studio (by right-clicking on your C++ project and choosing Manage NuGet Packages, or you can use package manager command-line (accessible from menu bar TOOLS > NuGet Package Manager > Package Manager Console):
PM> Install-Package nlohmann.json -Version x.x.x