mirror of
https://github.com/nlohmann/json.git
synced 2026-10-06 06:30:31 +00:00
- binary_reader: cast the result of -1 - number back to number_integer_t,
because a number_integer_t narrower than int is promoted to int, which
GCC's -Warith-conversion rejects (ci_test_gcc, ci_test_standards_gcc)
- JSON_DELETE_DEPRECATED_FUNCTIONS: declare the deleted stream operators
as function templates at namespace scope, because GCC < 5 rejects deleted
friend functions ("can't initialize friend function") and Clang 7-9 report
a redefinition when a class template has a deleted friend function
- docs: give the examples of JSON_USE_OBJECTS_FOR_ENUM_KEYED_MAPS "Example:"
titles and add the page to the docset (style_check)
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
docset
The folder contains the required files to create a docset which can be used in documentation browsers like Dash, Velocity, or Zeal.
The docset can be created with
make JSON_for_Modern_C++.docset
The generated folder JSON_for_Modern_C++.docset can then be opened in the documentation browser. make all builds a
JSON_for_Modern_C++.tgz archive instead, and make install_docset_zeal installs the docset for Zeal directly.
A recent version is also part of the Dash user contributions.
Licenses
The JSON logo is public domain.