|
10 | 10 | [](https://www.codacy.com/gh/nlohmann/json/dashboard?utm_source=github.com&utm_medium=referral&utm_content=nlohmann/json&utm_campaign=Badge_Grade)
|
11 | 11 | [](https://lgtm.com/projects/g/nlohmann/json/context:cpp)
|
12 | 12 | [](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:json)
|
13 |
| -[](https://wandbox.org/permlink/7p8sQckddTc0Y81T) |
| 13 | +[](https://wandbox.org/permlink/0LzTlmYG06u8qJN5) |
14 | 14 | [](https://nlohmann.github.io/json/doxygen/index.html)
|
15 | 15 | [](https://raw.githubusercontent.com/nlohmann/json/master/LICENSE.MIT)
|
16 | 16 | [](https://github.com/nlohmann/json/releases)
|
@@ -90,6 +90,7 @@ Thanks everyone!
|
90 | 90 |
|
91 | 91 | :bug: If you found a **bug**, please check the [**FAQ**](https://json.nlohmann.me/home/faq/) if it is a known issue or the result of a design decision. Please also have a look at the [**issue list**](https://github.com/nlohmann/json/issues) before you [**create a new issue**](https://github.com/nlohmann/json/issues/new/choose). Please provide as many information as possible to help us understand and reproduce your issue.
|
92 | 92 |
|
| 93 | +There is also a [**docset**](https://github.com/Kapeli/Dash-User-Contributions/tree/master/docsets/JSON_for_Modern_C%2B%2B) for the documentation browsers [Dash](https://kapeli.com/dash), [Velocity](https://velocity.silverlakesoftware.com), and [Zeal](https://zealdocs.org) that contains the full [documentation](https://json.nlohmann.me) as offline resource. |
93 | 94 |
|
94 | 95 | ## Examples
|
95 | 96 |
|
@@ -1038,7 +1039,7 @@ auto cbor = json::to_msgpack(j); // 0xD5 (fixext2), 0x10, 0xCA, 0xFE
|
1038 | 1039 | Though it's 2021 already, the support for C++11 is still a bit sparse. Currently, the following compilers are known to work:
|
1039 | 1040 |
|
1040 | 1041 | - GCC 4.8 - 11.0 (and possibly later)
|
1041 |
| -- Clang 3.4 - 12.0 (and possibly later) |
| 1042 | +- Clang 3.4 - 13.0 (and possibly later) |
1042 | 1043 | - Apple Clang 9.1 - 12.4 (and possibly later)
|
1043 | 1044 | - Intel C++ Compiler 17.0.2 (and possibly later)
|
1044 | 1045 | - Microsoft Visual C++ 2015 / Build Tools 14.0.25123.0 (and possibly later)
|
@@ -1110,7 +1111,8 @@ The following compilers are currently used in continuous integration at [Travis]
|
1110 | 1111 | | Clang 11.0.0 with GNU-like command-line | Windows-10.0.17763 | GitHub Actions |
|
1111 | 1112 | | Clang 11.0.0 with MSVC-like command-line | Windows-10.0.17763 | GitHub Actions |
|
1112 | 1113 | | Clang 11.0.0 (11.0.0-2~ubuntu20.04.1) | Ubuntu 20.04.2 LTS | GitHub Actions |
|
1113 |
| -| Clang 12.1.0 (12.0.1-++20210423082613+072c90a863aa-1~exp1~20210423063319.76 | Ubuntu 20.04.2 LTS | GitHub Actions | |
| 1114 | +| Clang 12.0.0 (12.0.0-3ubuntu1~20.04.3) | Ubuntu 20.04.2 LTS | GitHub Actions | |
| 1115 | +| Clang 13.0.0 (13.0.0-++20210828094952+9c49fee5e7ac-1exp120210828075752.71 | Ubuntu 20.04.2 LTS | GitHub Actions | |
1114 | 1116 | | Visual Studio 14 2015 MSVC 19.0.24241.7 (Build Engine version 14.0.25420.1) | Windows-6.3.9600 | AppVeyor |
|
1115 | 1117 | | Visual Studio 15 2017 MSVC 19.16.27035.0 (Build Engine version 15.9.21+g9802d43bc3 for .NET Framework) | Windows-10.0.14393 | AppVeyor |
|
1116 | 1118 | | Visual Studio 15 2017 MSVC 19.16.27045.0 (Build Engine version 15.9.21+g9802d43bc3 for .NET Framework) | Windows-10.0.14393 | GitHub Actions |
|
@@ -1262,7 +1264,9 @@ If you are using [NuGet](https://www.nuget.org), you can use the package [nlohma
|
1262 | 1264 |
|
1263 | 1265 | If you are using [conda](https://conda.io/), you can use the package [nlohmann_json](https://github.com/conda-forge/nlohmann_json-feedstock) from [conda-forge](https://conda-forge.org) executing `conda install -c conda-forge nlohmann_json`. Please file issues [here](https://github.com/conda-forge/nlohmann_json-feedstock/issues).
|
1264 | 1266 |
|
1265 |
| -If you are using [MSYS2](https://www.msys2.org/), your can use the [mingw-w64-nlohmann-json](https://packages.msys2.org/base/mingw-w64-nlohmann-json) package, just type `pacman -S mingw-w64-i686-nlohmann-json` or `pacman -S mingw-w64-x86_64-nlohmann-json` for installation. Please file issues [here](https://github.com/msys2/MINGW-packages/issues/new?title=%5Bnlohmann-json%5D) if you experience problems with the packages. |
| 1267 | +If you are using [MSYS2](https://www.msys2.org/), you can use the [mingw-w64-nlohmann-json](https://packages.msys2.org/base/mingw-w64-nlohmann-json) package, just type `pacman -S mingw-w64-i686-nlohmann-json` or `pacman -S mingw-w64-x86_64-nlohmann-json` for installation. Please file issues [here](https://github.com/msys2/MINGW-packages/issues/new?title=%5Bnlohmann-json%5D) if you experience problems with the packages. |
| 1268 | + |
| 1269 | +If you are using [MacPorts](https://ports.macports.org), execute `sudo port install nlohmann-json` to install the [nlohmann-json](https://ports.macports.org/port/nlohmann-json/) package. |
1266 | 1270 |
|
1267 | 1271 | If you are using [`build2`](https://build2.org), you can use the [`nlohmann-json`](https://cppget.org/nlohmann-json) package from the public repository https://cppget.org or directly from the [package's sources repository](https://github.com/build2-packaging/nlohmann-json). In your project's `manifest` file, just add `depends: nlohmann-json` (probably with some [version constraints](https://build2.org/build2-toolchain/doc/build2-toolchain-intro.xhtml#guide-add-remove-deps)). If you are not familiar with using dependencies in `build2`, [please read this introduction](https://build2.org/build2-toolchain/doc/build2-toolchain-intro.xhtml).
|
1268 | 1272 | Please file issues [here](https://github.com/build2-packaging/nlohmann-json) if you experience problems with the packages.
|
@@ -1591,6 +1595,8 @@ I deeply appreciate the help of the following people.
|
1591 | 1595 | - [Amir Masoud Abdol](https://github.com/amirmasoudabdol) updated the Homebrew command as nlohmann/json is now in homebrew-core.
|
1592 | 1596 | - [Hallot](https://github.com/Hallot) fixed some `-Wextra-semi-stmt warnings`.
|
1593 | 1597 | - [Giovanni Cerretani](https://github.com/gcerretani) fixed `-Wunused` warnings on `JSON_DIAGNOSTICS`.
|
| 1598 | +- [Bogdan Popescu](https://github.com/Kapeli) hosts the [docset](https://github.com/Kapeli/Dash-User-Contributions/tree/master/docsets/JSON_for_Modern_C%2B%2B) for offline documentation viewers. |
| 1599 | +- [Carl Smedstad](https://github.com/carlsmedstad) fixed an assertion error when using `JSON_DIAGNOSTICS`. |
1594 | 1600 |
|
1595 | 1601 | Thanks a lot for helping out! Please [let me know ](mailto:[email protected]) if I forgot someone.
|
1596 | 1602 |
|
@@ -1622,7 +1628,7 @@ The library itself consists of a single header file licensed under the MIT licen
|
1622 | 1628 | - [**send_to_wandbox**](https://github.com/nlohmann/json/blob/develop/doc/scripts/send_to_wandbox.py) to send code examples to [Wandbox](https://wandbox.org)
|
1623 | 1629 | - [**Travis**](https://travis-ci.org) for [continuous integration](https://travis-ci.org/nlohmann/json) on Linux and macOS
|
1624 | 1630 | - [**Valgrind**](https://valgrind.org) to check for correct memory management
|
1625 |
| -- [**Wandbox**](https://wandbox.org) for [online examples](https://wandbox.org/permlink/7p8sQckddTc0Y81T) |
| 1631 | +- [**Wandbox**](https://wandbox.org) for [online examples](https://wandbox.org/permlink/0LzTlmYG06u8qJN5) |
1626 | 1632 |
|
1627 | 1633 |
|
1628 | 1634 | ## Projects using JSON for Modern C++
|
|
0 commit comments