1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-22 15:21:52 +03:00
Commit Graph

5 Commits

Author SHA1 Message Date
9b32f72584 📝 fixed examples for Wandbox
As I learned in https://github.com/melpon/wandbox/issues/209, this
library is already installed at Wandbox, so we need to adjust the
examples to use `#include "json.hpp"` insteas of `#include <json.hpp>`.
2017-04-21 22:07:07 +02:00
fe71e7df1f 📝 overworked documentation
Replacing references to std exceptions with user-defined exceptions.
Also changed some examples to the new exceptions.
2017-03-08 21:03:19 +01:00
9d063d90e3 removed "using namespace" from examples 2016-01-30 20:23:14 +01:00
a04bd4f851 cleanup after #184 2016-01-20 21:14:58 +01:00
bd2783f45c Added get_ref()
Same as get_ptr() but for references.
If the type is incompatible it throws (get_ptr() returns null).
Implemented in terms of get_ptr().
2015-10-16 15:23:57 +02:00