diff --git a/README.md b/README.md index c1fd0d897..f8f756448 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ - [Supported compilers](#supported-compilers) - [License](#license) - [Thanks](#thanks) +- [Projects using JSON for Modern C++](#projects-using-json-for-modern-c) - [Notes](#notes) - [Execute unit tests](#execute-unit-tests) @@ -826,6 +827,11 @@ I deeply appreciate the help of the following people. Thanks a lot for helping out! Please [let me know](mailto:mail@nlohmann.me) if I forgot someone. +## Projects using JSON for Modern C++ + +The library is currently used in Apple macOS Sierra and iOS 10. I am not sure what they are using the library for, but I am happy that it runs on so many devices. + + ## Notes - The code contains numerous debug **assertions** which can be switched off by defining the preprocessor macro `NDEBUG`, see the [documentation of `assert`](http://en.cppreference.com/w/cpp/error/assert). In particular, note [`operator[]`](https://nlohmann.github.io/json/classnlohmann_1_1basic__json_a2e26bd0b0168abb61f67ad5bcd5b9fa1.html#a2e26bd0b0168abb61f67ad5bcd5b9fa1) implements **unchecked access** for const objects: If the given key is not present, the behavior is undefined (think of a dereferenced null pointer) and yields an [assertion failure](https://github.com/nlohmann/json/issues/289) if assertions are switched on. If you are not sure whether an element in an object exists, use checked access with the [`at()` function](https://nlohmann.github.io/json/classnlohmann_1_1basic__json_a674de1ee73e6bf4843fc5dc1351fb726.html#a674de1ee73e6bf4843fc5dc1351fb726). diff --git a/doc/usages/ios.png b/doc/usages/ios.png new file mode 100755 index 000000000..1d2c1b807 Binary files /dev/null and b/doc/usages/ios.png differ diff --git a/doc/usages/macos.png b/doc/usages/macos.png new file mode 100644 index 000000000..107b5f07f Binary files /dev/null and b/doc/usages/macos.png differ