1
0
mirror of https://github.com/nlohmann/json synced 2024-09-19 22:30:07 +00:00
nlohmannjson/doc
Florian Albrechtskirchinger 616caea27a
Re-template json_pointer on string type (#3415)
* Make exception context optional

Change exception context parameter to pointer and replace context with
nullptr where appropriate.

* Support escaping other string types

* Add string concatenation function

Add variadic concat() function for concatenating char *, char, and
string types.

* Replace string concatenations using + with concat()

* Template json_pointer on string type

Change json_pointer from being templated on basic_json to being
templated on string type.

* Add unit test for #3388

Closes #3388.

* Fix regression test for #2958

* Add backwards compatibility with json_pointer<basic_json>

* Update json_pointer docs

* Allow comparing different json_pointers

* Update version numbers
2022-04-12 14:18:16 +02:00
..
docset 🔧 adjust docset generation script 2022-01-04 15:20:50 +01:00
examples 📝 add documentation for JSON Lines (#3247) 2022-01-05 09:51:29 +01:00
mkdocs Re-template json_pointer on string type (#3415) 2022-04-12 14:18:16 +02:00
usages 📝 listing projects using the library 2017-02-08 19:16:38 +01:00
avatars.png 🔖 set version to 3.10.5 2022-01-02 22:35:35 +01:00
index.md 🔖 set version to 3.10.5 2022-01-02 22:35:35 +01:00
json.gif 🔖 set version to 3.10.5 2022-01-02 22:35:35 +01:00
Makefile Consolidate documentation (#3071) 2021-12-29 13:41:01 +01:00
README.md Consolidate documentation (#3071) 2021-12-29 13:41:01 +01:00

Documentation

Generate documentation

Note on documentation: The source files contain links to the online documentation at https://json.nlohmann.me. This URL contains the most recent documentation and should also be applicable to previous versions; documentation for deprecated functions is not removed, but marked deprecated.

If you want to see the documentation for a specific tag or commit hash, you can generate it as follows (here for tag v3.10.2):

git clone https://github.com/nlohmann/json.git
cd json
git checkout v3.10.2
make install_venv serve -C doc/mkdocs

Open URL http://127.0.0.1:8000/ in your browser. Replace from any URL from the source code https://json.nlohmann.me with http://127.0.0.1:8000 to see the documentation for your tag or commit hash.