From 97a25de93866fc92a32e44c1856217dd6327f212 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Fri, 7 Apr 2017 18:29:09 +0200 Subject: [PATCH 1/6] :sparkles: proposal for #428 This implementation forwards the iterators to std::map::insert. --- doc/examples/insert__range_object.cpp | 20 +++++++++++ doc/examples/insert__range_object.output | 3 ++ src/json.hpp | 46 ++++++++++++++++++++++++ src/json.hpp.re2c | 46 ++++++++++++++++++++++++ test/src/unit-modifiers.cpp | 36 ++++++++++++++++++- 5 files changed, 150 insertions(+), 1 deletion(-) create mode 100644 doc/examples/insert__range_object.cpp create mode 100644 doc/examples/insert__range_object.output diff --git a/doc/examples/insert__range_object.cpp b/doc/examples/insert__range_object.cpp new file mode 100644 index 000000000..4cd589388 --- /dev/null +++ b/doc/examples/insert__range_object.cpp @@ -0,0 +1,20 @@ +#include + +using json = nlohmann::json; + +int main() +{ + // create two JSON objects + json j1 = {{"one", "eins"}, {"two", "zwei"}}; + json j2 = {{"eleven", "elf"}, {"seventeen", "siebzehn"}}; + + // output objects + std::cout << j1 << '\n'; + std::cout << j2 << '\n'; + + // insert range from j2 to j1 + j1.insert(j2.begin(), j2.end()); + + // output result of insert call + std::cout << j1 << '\n'; +} diff --git a/doc/examples/insert__range_object.output b/doc/examples/insert__range_object.output new file mode 100644 index 000000000..a5985158a --- /dev/null +++ b/doc/examples/insert__range_object.output @@ -0,0 +1,3 @@ +{"one":"eins","two":"zwei"} +{"eleven":"elf","seventeen":"siebzehn"} +{"eleven":"elf","one":"eins","seventeen":"siebzehn","two":"zwei"} diff --git a/src/json.hpp b/src/json.hpp index 98659054e..182a634c5 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -5978,6 +5978,52 @@ class basic_json return result; } + /*! + @brief inserts elements + + Inserts elements from range `[first, last)`. + + @param[in] first begin of the range of elements to insert + @param[in] last end of the range of elements to insert + + @throw type_error.309 if called on JSON values other than objects; example: + `"cannot use insert() with string"` + @throw invalid_iterator.202 if iterator @a first or @a last does does not + point to an object; example: `"iterators first and last must point to + objects"` + @throw invalid_iterator.210 if @a first and @a last do not belong to the + same JSON value; example: `"iterators do not fit"` + + @complexity Logarithmic: `O(N*log(size() + N))`, where `N` is the number + of elements to insert. + + @liveexample{The example shows how `insert()` is used.,insert__range_object} + + @since version 3.0.0 + */ + void insert(const_iterator first, const_iterator last) + { + // insert only works for objects + if (not is_object()) + { + JSON_THROW(type_error::create(309, "cannot use insert() with " + type_name())); + } + + // check if range iterators belong to the same JSON object + if (first.m_object != last.m_object) + { + JSON_THROW(invalid_iterator::create(210, "iterators do not fit")); + } + + // passed iterators must belong to objects + if (not first.m_object->is_object() or not first.m_object->is_object()) + { + JSON_THROW(invalid_iterator::create(202, "iterators first and last must point to objects")); + } + + m_value.object->insert(first.m_it.object_iterator, last.m_it.object_iterator); + } + /*! @brief exchanges the values diff --git a/src/json.hpp.re2c b/src/json.hpp.re2c index 5e90f611c..02866b226 100644 --- a/src/json.hpp.re2c +++ b/src/json.hpp.re2c @@ -5978,6 +5978,52 @@ class basic_json return result; } + /*! + @brief inserts elements + + Inserts elements from range `[first, last)`. + + @param[in] first begin of the range of elements to insert + @param[in] last end of the range of elements to insert + + @throw type_error.309 if called on JSON values other than objects; example: + `"cannot use insert() with string"` + @throw invalid_iterator.202 if iterator @a first or @a last does does not + point to an object; example: `"iterators first and last must point to + objects"` + @throw invalid_iterator.210 if @a first and @a last do not belong to the + same JSON value; example: `"iterators do not fit"` + + @complexity Logarithmic: `O(N*log(size() + N))`, where `N` is the number + of elements to insert. + + @liveexample{The example shows how `insert()` is used.,insert__range_object} + + @since version 3.0.0 + */ + void insert(const_iterator first, const_iterator last) + { + // insert only works for objects + if (not is_object()) + { + JSON_THROW(type_error::create(309, "cannot use insert() with " + type_name())); + } + + // check if range iterators belong to the same JSON object + if (first.m_object != last.m_object) + { + JSON_THROW(invalid_iterator::create(210, "iterators do not fit")); + } + + // passed iterators must belong to objects + if (not first.m_object->is_object() or not first.m_object->is_object()) + { + JSON_THROW(invalid_iterator::create(202, "iterators first and last must point to objects")); + } + + m_value.object->insert(first.m_it.object_iterator, last.m_it.object_iterator); + } + /*! @brief exchanges the values diff --git a/test/src/unit-modifiers.cpp b/test/src/unit-modifiers.cpp index 0c3321110..b860beeee 100644 --- a/test/src/unit-modifiers.cpp +++ b/test/src/unit-modifiers.cpp @@ -594,7 +594,7 @@ TEST_CASE("modifiers") } } - SECTION("range") + SECTION("range for array") { json j_other_array = {"first", "second"}; @@ -631,6 +631,40 @@ TEST_CASE("modifiers") } } + SECTION("range for object") + { + json j_object1 = {{"one", "eins"}, {"two", "zwei"}}; + json j_object2 = {{"eleven", "elf"}, {"seventeen", "siebzehn"}}; + + SECTION("proper usage") + { + j_object1.insert(j_object2.begin(), j_object2.end()); + CHECK(j_object1.size() == 4); + } + + SECTION("empty range") + { + j_object1.insert(j_object2.begin(), j_object2.begin()); + CHECK(j_object1.size() == 2); + } + + SECTION("invalid iterators") + { + json j_other_array2 = {"first", "second"}; + + CHECK_THROWS_AS(j_array.insert(j_object2.begin(), j_object2.end()), json::type_error); + CHECK_THROWS_AS(j_object1.insert(j_object1.begin(), j_object2.end()), json::invalid_iterator); + CHECK_THROWS_AS(j_object1.insert(j_array.begin(), j_array.end()), json::invalid_iterator); + + CHECK_THROWS_WITH(j_array.insert(j_object2.begin(), j_object2.end()), + "[json.exception.type_error.309] cannot use insert() with array"); + CHECK_THROWS_WITH(j_object1.insert(j_object1.begin(), j_object2.end()), + "[json.exception.invalid_iterator.210] iterators do not fit"); + CHECK_THROWS_WITH(j_object1.insert(j_array.begin(), j_array.end()), + "[json.exception.invalid_iterator.202] iterators first and last must point to objects"); + } + } + SECTION("initializer list at position") { SECTION("insert before begin()") From e2f6cf7f46707e03fc634a0a968058f4b73432a0 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Fri, 14 Apr 2017 17:35:31 +0200 Subject: [PATCH 2/6] :fire: removed .test files These files were never meant to be versioned. --- doc/examples/at__object_t_key_type.test | 3 --- doc/examples/get_ref.test | 2 -- doc/examples/json_pointer.test | 3 --- doc/examples/operator__equal.test | 4 ---- doc/examples/operator__notequal.test | 4 ---- 5 files changed, 16 deletions(-) delete mode 100644 doc/examples/at__object_t_key_type.test delete mode 100644 doc/examples/get_ref.test delete mode 100644 doc/examples/json_pointer.test delete mode 100644 doc/examples/operator__equal.test delete mode 100644 doc/examples/operator__notequal.test diff --git a/doc/examples/at__object_t_key_type.test b/doc/examples/at__object_t_key_type.test deleted file mode 100644 index 654b9eb63..000000000 --- a/doc/examples/at__object_t_key_type.test +++ /dev/null @@ -1,3 +0,0 @@ -"il brutto" -{"the bad":"il cattivo","the good":"il buono","the ugly":"il brutto"} -[json.exception.out_of_range.403] key 'the fast' not found diff --git a/doc/examples/get_ref.test b/doc/examples/get_ref.test deleted file mode 100644 index 3811afa2f..000000000 --- a/doc/examples/get_ref.test +++ /dev/null @@ -1,2 +0,0 @@ -17 17 -[json.exception.type_error.303] incompatible ReferenceType for get_ref, actual type is number diff --git a/doc/examples/json_pointer.test b/doc/examples/json_pointer.test deleted file mode 100644 index 33e2cc683..000000000 --- a/doc/examples/json_pointer.test +++ /dev/null @@ -1,3 +0,0 @@ -[json.exception.parse_error.107] parse error at 1: JSON pointer must be empty or begin with '/' - was: 'foo' -[json.exception.parse_error.108] parse error: escape character '~' must be followed with '0' or '1' -[json.exception.parse_error.108] parse error: escape character '~' must be followed with '0' or '1' diff --git a/doc/examples/operator__equal.test b/doc/examples/operator__equal.test deleted file mode 100644 index e9dfd7551..000000000 --- a/doc/examples/operator__equal.test +++ /dev/null @@ -1,4 +0,0 @@ -[1,2,3] == [1,2,4] false -{"A":"a","B":"b"} == {"A":"a","B":"b"} true -17 == 17 true -"foo" == "bar" false diff --git a/doc/examples/operator__notequal.test b/doc/examples/operator__notequal.test deleted file mode 100644 index ddd838b4a..000000000 --- a/doc/examples/operator__notequal.test +++ /dev/null @@ -1,4 +0,0 @@ -[1,2,3] == [1,2,4] true -{"A":"a","B":"b"} == {"A":"a","B":"b"} false -17 == 17 false -"foo" == "bar" true From 951d0920fc0a42476846bc2e6eb3ed7428dc81c1 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Fri, 14 Apr 2017 17:36:45 +0200 Subject: [PATCH 3/6] :bug: fixed README example The example with the size() operator is bad: using operator[] already changes the size of the object. The fix makes it clearer. --- doc/examples/README.cpp | 4 +++- doc/examples/README.output | 27 --------------------------- 2 files changed, 3 insertions(+), 28 deletions(-) delete mode 100644 doc/examples/README.output diff --git a/doc/examples/README.cpp b/doc/examples/README.cpp index b928e1167..d8cd4d670 100644 --- a/doc/examples/README.cpp +++ b/doc/examples/README.cpp @@ -1,4 +1,5 @@ #include +#include // for std::setw using json = nlohmann::json; @@ -29,7 +30,8 @@ int main() j["new"]["key"]["value"] = {"another", "list"}; // count elements - j["size"] = j.size(); + auto s = j.size(); + j["size"] = s; // pretty print with indent of 4 spaces std::cout << std::setw(4) << j << '\n'; diff --git a/doc/examples/README.output b/doc/examples/README.output deleted file mode 100644 index 3226f7290..000000000 --- a/doc/examples/README.output +++ /dev/null @@ -1,27 +0,0 @@ -{ - "answer": { - "everything": 42 - }, - "happy": true, - "list": [ - 1, - 0, - 2 - ], - "name": "Niels", - "new": { - "key": { - "value": [ - "another", - "list" - ] - } - }, - "nothing": null, - "object": { - "currency": "USD", - "value": 42.99 - }, - "pi": 3.141, - "size": 9 -} From 6b6e5540673338839f10ff40cee3661007ab17ec Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Fri, 14 Apr 2017 17:37:28 +0200 Subject: [PATCH 4/6] :bug: added missing header std::setw needs the iomanip header (at least with GCC). --- doc/examples/diff.cpp | 1 + doc/examples/flatten.cpp | 1 + doc/examples/from_cbor.cpp | 1 + doc/examples/from_msgpack.cpp | 1 + doc/examples/meta.cpp | 1 + doc/examples/operator_deserialize.cpp | 1 + doc/examples/operator_serialize.cpp | 1 + doc/examples/operatorarray__key_type.cpp | 1 + doc/examples/parse__array__parser_callback_t.cpp | 1 + doc/examples/parse__contiguouscontainer__parser_callback_t.cpp | 1 + doc/examples/parse__istream__parser_callback_t.cpp | 1 + doc/examples/parse__iteratortype__parser_callback_t.cpp | 1 + doc/examples/parse__string__parser_callback_t.cpp | 1 + doc/examples/patch.cpp | 1 + doc/examples/to_cbor.cpp | 1 + doc/examples/to_msgpack.cpp | 1 + doc/examples/unflatten.cpp | 1 + 17 files changed, 17 insertions(+) diff --git a/doc/examples/diff.cpp b/doc/examples/diff.cpp index d81a58dbd..a377fc813 100644 --- a/doc/examples/diff.cpp +++ b/doc/examples/diff.cpp @@ -1,4 +1,5 @@ #include +#include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/flatten.cpp b/doc/examples/flatten.cpp index ace53a21b..e7b7ee879 100644 --- a/doc/examples/flatten.cpp +++ b/doc/examples/flatten.cpp @@ -1,4 +1,5 @@ #include +#include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/from_cbor.cpp b/doc/examples/from_cbor.cpp index 92b052256..fc44d4a5b 100644 --- a/doc/examples/from_cbor.cpp +++ b/doc/examples/from_cbor.cpp @@ -1,4 +1,5 @@ #include +#include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/from_msgpack.cpp b/doc/examples/from_msgpack.cpp index d275f13ac..7c4202c9e 100644 --- a/doc/examples/from_msgpack.cpp +++ b/doc/examples/from_msgpack.cpp @@ -1,4 +1,5 @@ #include +#include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/meta.cpp b/doc/examples/meta.cpp index 3a31ca24b..28c88b8d1 100644 --- a/doc/examples/meta.cpp +++ b/doc/examples/meta.cpp @@ -1,4 +1,5 @@ #include +#include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/operator_deserialize.cpp b/doc/examples/operator_deserialize.cpp index a43cdf0fb..06a98db96 100644 --- a/doc/examples/operator_deserialize.cpp +++ b/doc/examples/operator_deserialize.cpp @@ -1,4 +1,5 @@ #include +#include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/operator_serialize.cpp b/doc/examples/operator_serialize.cpp index c1568d99d..c3861b466 100644 --- a/doc/examples/operator_serialize.cpp +++ b/doc/examples/operator_serialize.cpp @@ -1,4 +1,5 @@ #include +#include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/operatorarray__key_type.cpp b/doc/examples/operatorarray__key_type.cpp index e83a2ac00..795abc089 100644 --- a/doc/examples/operatorarray__key_type.cpp +++ b/doc/examples/operatorarray__key_type.cpp @@ -1,4 +1,5 @@ #include +#include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/parse__array__parser_callback_t.cpp b/doc/examples/parse__array__parser_callback_t.cpp index 8e086d200..68ecf602e 100644 --- a/doc/examples/parse__array__parser_callback_t.cpp +++ b/doc/examples/parse__array__parser_callback_t.cpp @@ -1,4 +1,5 @@ #include +#include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/parse__contiguouscontainer__parser_callback_t.cpp b/doc/examples/parse__contiguouscontainer__parser_callback_t.cpp index 5a339079f..45e376d9a 100644 --- a/doc/examples/parse__contiguouscontainer__parser_callback_t.cpp +++ b/doc/examples/parse__contiguouscontainer__parser_callback_t.cpp @@ -1,4 +1,5 @@ #include +#include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/parse__istream__parser_callback_t.cpp b/doc/examples/parse__istream__parser_callback_t.cpp index 6812a5e2e..b5f84da45 100644 --- a/doc/examples/parse__istream__parser_callback_t.cpp +++ b/doc/examples/parse__istream__parser_callback_t.cpp @@ -1,4 +1,5 @@ #include +#include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/parse__iteratortype__parser_callback_t.cpp b/doc/examples/parse__iteratortype__parser_callback_t.cpp index 3f723c5fa..c7a5bf838 100644 --- a/doc/examples/parse__iteratortype__parser_callback_t.cpp +++ b/doc/examples/parse__iteratortype__parser_callback_t.cpp @@ -1,4 +1,5 @@ #include +#include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/parse__string__parser_callback_t.cpp b/doc/examples/parse__string__parser_callback_t.cpp index 0a4f3b539..bea4914f9 100644 --- a/doc/examples/parse__string__parser_callback_t.cpp +++ b/doc/examples/parse__string__parser_callback_t.cpp @@ -1,4 +1,5 @@ #include +#include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/patch.cpp b/doc/examples/patch.cpp index 24a52d596..4dfada32b 100644 --- a/doc/examples/patch.cpp +++ b/doc/examples/patch.cpp @@ -1,4 +1,5 @@ #include +#include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/to_cbor.cpp b/doc/examples/to_cbor.cpp index 21a5ce866..2d07e8abd 100644 --- a/doc/examples/to_cbor.cpp +++ b/doc/examples/to_cbor.cpp @@ -1,4 +1,5 @@ #include +#include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/to_msgpack.cpp b/doc/examples/to_msgpack.cpp index 21c8817a4..dad835429 100644 --- a/doc/examples/to_msgpack.cpp +++ b/doc/examples/to_msgpack.cpp @@ -1,4 +1,5 @@ #include +#include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/unflatten.cpp b/doc/examples/unflatten.cpp index e2b9b6b86..a01a63499 100644 --- a/doc/examples/unflatten.cpp +++ b/doc/examples/unflatten.cpp @@ -1,4 +1,5 @@ #include +#include // for std::setw using json = nlohmann::json; From aea47422a2ba99813ad0c623067fe62f59e1ad51 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Fri, 14 Apr 2017 18:13:01 +0200 Subject: [PATCH 5/6] :memo: updated links and output --- doc/examples/README.link | 2 +- doc/examples/README.output | 27 +++++++++++++++++++++++++++ doc/examples/diff.link | 2 +- doc/examples/flatten.link | 2 +- doc/examples/from_cbor.link | 2 +- doc/examples/from_msgpack.link | 2 +- 6 files changed, 32 insertions(+), 5 deletions(-) create mode 100644 doc/examples/README.output diff --git a/doc/examples/README.link b/doc/examples/README.link index a774c8ffc..9b154c4ac 100644 --- a/doc/examples/README.link +++ b/doc/examples/README.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/README.output b/doc/examples/README.output new file mode 100644 index 000000000..31188d45e --- /dev/null +++ b/doc/examples/README.output @@ -0,0 +1,27 @@ +{ + "answer": { + "everything": 42 + }, + "happy": true, + "list": [ + 1, + 0, + 2 + ], + "name": "Niels", + "new": { + "key": { + "value": [ + "another", + "list" + ] + } + }, + "nothing": null, + "object": { + "currency": "USD", + "value": 42.99 + }, + "pi": 3.141, + "size": 8 +} diff --git a/doc/examples/diff.link b/doc/examples/diff.link index c3e3fa4d7..459ecfcc6 100644 --- a/doc/examples/diff.link +++ b/doc/examples/diff.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/flatten.link b/doc/examples/flatten.link index 50d3841f3..ab2128fa2 100644 --- a/doc/examples/flatten.link +++ b/doc/examples/flatten.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/from_cbor.link b/doc/examples/from_cbor.link index 81204989c..c621bd2de 100644 --- a/doc/examples/from_cbor.link +++ b/doc/examples/from_cbor.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/from_msgpack.link b/doc/examples/from_msgpack.link index 0d5e7831a..22bac001e 100644 --- a/doc/examples/from_msgpack.link +++ b/doc/examples/from_msgpack.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file From 9b32f7258421cf747d0984ed28d273530e6f8587 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Fri, 21 Apr 2017 22:07:07 +0200 Subject: [PATCH 6/6] :memo: 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 `. --- doc/examples/README.cpp | 2 +- doc/examples/README.link | 2 +- doc/examples/array.cpp | 2 +- doc/examples/array.link | 2 +- doc/examples/at__object_t_key_type.cpp | 2 +- doc/examples/at__object_t_key_type.link | 2 +- doc/examples/at__object_t_key_type_const.cpp | 2 +- doc/examples/at__object_t_key_type_const.link | 2 +- doc/examples/at__size_type.cpp | 2 +- doc/examples/at__size_type.link | 2 +- doc/examples/at__size_type_const.cpp | 2 +- doc/examples/at__size_type_const.link | 2 +- doc/examples/at_json_pointer.cpp | 2 +- doc/examples/at_json_pointer.link | 2 +- doc/examples/at_json_pointer_const.cpp | 2 +- doc/examples/at_json_pointer_const.link | 2 +- doc/examples/back.cpp | 2 +- doc/examples/back.link | 2 +- doc/examples/basic_json__CompatibleType.cpp | 2 +- doc/examples/basic_json__CompatibleType.link | 2 +- doc/examples/basic_json__InputIt_InputIt.cpp | 2 +- doc/examples/basic_json__InputIt_InputIt.link | 2 +- doc/examples/basic_json__basic_json.cpp | 2 +- doc/examples/basic_json__basic_json.link | 2 +- doc/examples/basic_json__copyassignment.cpp | 2 +- doc/examples/basic_json__copyassignment.link | 2 +- doc/examples/basic_json__list_init_t.cpp | 2 +- doc/examples/basic_json__list_init_t.link | 2 +- doc/examples/basic_json__moveconstructor.cpp | 2 +- doc/examples/basic_json__moveconstructor.link | 2 +- doc/examples/basic_json__nullptr_t.cpp | 2 +- doc/examples/basic_json__nullptr_t.link | 2 +- doc/examples/basic_json__size_type_basic_json.cpp | 2 +- doc/examples/basic_json__size_type_basic_json.link | 2 +- doc/examples/basic_json__value.cpp | 2 +- doc/examples/basic_json__value.link | 2 +- doc/examples/basic_json__value_ptr.cpp | 2 +- doc/examples/basic_json__value_ptr.link | 2 +- doc/examples/basic_json__value_t.cpp | 2 +- doc/examples/basic_json__value_t.link | 2 +- doc/examples/begin.cpp | 2 +- doc/examples/begin.link | 2 +- doc/examples/cbegin.cpp | 2 +- doc/examples/cbegin.link | 2 +- doc/examples/cend.cpp | 2 +- doc/examples/cend.link | 2 +- doc/examples/clear.cpp | 2 +- doc/examples/clear.link | 2 +- doc/examples/count.cpp | 2 +- doc/examples/count.link | 2 +- doc/examples/crbegin.cpp | 2 +- doc/examples/crbegin.link | 2 +- doc/examples/crend.cpp | 2 +- doc/examples/crend.link | 2 +- doc/examples/diff.cpp | 2 +- doc/examples/diff.link | 2 +- doc/examples/dump.cpp | 2 +- doc/examples/dump.link | 2 +- doc/examples/emplace.cpp | 2 +- doc/examples/emplace.link | 2 +- doc/examples/emplace_back.cpp | 2 +- doc/examples/emplace_back.link | 2 +- doc/examples/empty.cpp | 2 +- doc/examples/empty.link | 2 +- doc/examples/end.cpp | 2 +- doc/examples/end.link | 2 +- doc/examples/erase__IteratorType.cpp | 2 +- doc/examples/erase__IteratorType.link | 2 +- doc/examples/erase__IteratorType_IteratorType.cpp | 2 +- doc/examples/erase__IteratorType_IteratorType.link | 2 +- doc/examples/erase__key_type.cpp | 2 +- doc/examples/erase__key_type.link | 2 +- doc/examples/erase__size_type.cpp | 2 +- doc/examples/erase__size_type.link | 2 +- doc/examples/find__key_type.cpp | 2 +- doc/examples/find__key_type.link | 2 +- doc/examples/flatten.cpp | 2 +- doc/examples/flatten.link | 2 +- doc/examples/from_cbor.cpp | 2 +- doc/examples/from_cbor.link | 2 +- doc/examples/from_msgpack.cpp | 2 +- doc/examples/from_msgpack.link | 2 +- doc/examples/front.cpp | 2 +- doc/examples/front.link | 2 +- doc/examples/get__PointerType.cpp | 2 +- doc/examples/get__PointerType.link | 2 +- doc/examples/get__ValueType_const.cpp | 2 +- doc/examples/get__ValueType_const.link | 2 +- doc/examples/get_ptr.cpp | 2 +- doc/examples/get_ptr.link | 2 +- doc/examples/get_ref.cpp | 2 +- doc/examples/get_ref.link | 2 +- doc/examples/insert.cpp | 2 +- doc/examples/insert.link | 2 +- doc/examples/insert__count.cpp | 2 +- doc/examples/insert__count.link | 2 +- doc/examples/insert__ilist.cpp | 2 +- doc/examples/insert__ilist.link | 2 +- doc/examples/insert__range.cpp | 2 +- doc/examples/insert__range.link | 2 +- doc/examples/insert__range_object.cpp | 2 +- doc/examples/insert__range_object.link | 1 + doc/examples/is_array.cpp | 2 +- doc/examples/is_array.link | 2 +- doc/examples/is_boolean.cpp | 2 +- doc/examples/is_boolean.link | 2 +- doc/examples/is_discarded.cpp | 2 +- doc/examples/is_discarded.link | 2 +- doc/examples/is_null.cpp | 2 +- doc/examples/is_null.link | 2 +- doc/examples/is_number.cpp | 2 +- doc/examples/is_number.link | 2 +- doc/examples/is_number_float.cpp | 2 +- doc/examples/is_number_float.link | 2 +- doc/examples/is_number_integer.cpp | 2 +- doc/examples/is_number_integer.link | 2 +- doc/examples/is_number_unsigned.cpp | 2 +- doc/examples/is_number_unsigned.link | 2 +- doc/examples/is_object.cpp | 2 +- doc/examples/is_object.link | 2 +- doc/examples/is_primitive.cpp | 2 +- doc/examples/is_primitive.link | 2 +- doc/examples/is_string.cpp | 2 +- doc/examples/is_string.link | 2 +- doc/examples/is_structured.cpp | 2 +- doc/examples/is_structured.link | 2 +- doc/examples/json_pointer.cpp | 2 +- doc/examples/json_pointer.link | 2 +- doc/examples/json_pointer__to_string.cpp | 2 +- doc/examples/json_pointer__to_string.link | 2 +- doc/examples/max_size.cpp | 2 +- doc/examples/max_size.link | 2 +- doc/examples/meta.cpp | 2 +- doc/examples/meta.link | 2 +- doc/examples/meta.output | 2 +- doc/examples/object.cpp | 2 +- doc/examples/object.link | 2 +- doc/examples/operator__ValueType.cpp | 2 +- doc/examples/operator__ValueType.link | 2 +- doc/examples/operator__equal.cpp | 2 +- doc/examples/operator__equal.link | 2 +- doc/examples/operator__equal.output | 2 +- doc/examples/operator__equal__nullptr_t.cpp | 2 +- doc/examples/operator__equal__nullptr_t.link | 2 +- doc/examples/operator__greater.cpp | 2 +- doc/examples/operator__greater.link | 2 +- doc/examples/operator__greaterequal.cpp | 2 +- doc/examples/operator__greaterequal.link | 2 +- doc/examples/operator__less.cpp | 2 +- doc/examples/operator__less.link | 2 +- doc/examples/operator__lessequal.cpp | 2 +- doc/examples/operator__lessequal.link | 2 +- doc/examples/operator__notequal.cpp | 2 +- doc/examples/operator__notequal.link | 2 +- doc/examples/operator__notequal.output | 2 +- doc/examples/operator__notequal__nullptr_t.cpp | 2 +- doc/examples/operator__notequal__nullptr_t.link | 2 +- doc/examples/operator__value_t.cpp | 2 +- doc/examples/operator__value_t.link | 2 +- doc/examples/operator_deserialize.cpp | 2 +- doc/examples/operator_deserialize.link | 2 +- doc/examples/operator_serialize.cpp | 2 +- doc/examples/operator_serialize.link | 2 +- doc/examples/operatorarray__key_type.cpp | 2 +- doc/examples/operatorarray__key_type.link | 2 +- doc/examples/operatorarray__key_type_const.cpp | 2 +- doc/examples/operatorarray__key_type_const.link | 2 +- doc/examples/operatorarray__size_type.cpp | 2 +- doc/examples/operatorarray__size_type.link | 2 +- doc/examples/operatorarray__size_type_const.cpp | 2 +- doc/examples/operatorarray__size_type_const.link | 2 +- doc/examples/operatorjson_pointer.cpp | 2 +- doc/examples/operatorjson_pointer.link | 2 +- doc/examples/operatorjson_pointer_const.cpp | 2 +- doc/examples/operatorjson_pointer_const.link | 2 +- doc/examples/parse__array__parser_callback_t.cpp | 2 +- doc/examples/parse__array__parser_callback_t.link | 2 +- doc/examples/parse__contiguouscontainer__parser_callback_t.cpp | 2 +- doc/examples/parse__contiguouscontainer__parser_callback_t.link | 2 +- doc/examples/parse__istream__parser_callback_t.cpp | 2 +- doc/examples/parse__istream__parser_callback_t.link | 2 +- doc/examples/parse__iteratortype__parser_callback_t.cpp | 2 +- doc/examples/parse__iteratortype__parser_callback_t.link | 2 +- doc/examples/parse__string__parser_callback_t.cpp | 2 +- doc/examples/parse__string__parser_callback_t.link | 2 +- doc/examples/patch.cpp | 2 +- doc/examples/patch.link | 2 +- doc/examples/push_back.cpp | 2 +- doc/examples/push_back.link | 2 +- doc/examples/push_back__initializer_list.cpp | 2 +- doc/examples/push_back__initializer_list.link | 2 +- doc/examples/push_back__object_t__value.cpp | 2 +- doc/examples/push_back__object_t__value.link | 2 +- doc/examples/rbegin.cpp | 2 +- doc/examples/rbegin.link | 2 +- doc/examples/rend.cpp | 2 +- doc/examples/rend.link | 2 +- doc/examples/size.cpp | 2 +- doc/examples/size.link | 2 +- doc/examples/swap__array_t.cpp | 2 +- doc/examples/swap__array_t.link | 2 +- doc/examples/swap__object_t.cpp | 2 +- doc/examples/swap__object_t.link | 2 +- doc/examples/swap__reference.cpp | 2 +- doc/examples/swap__reference.link | 2 +- doc/examples/swap__string_t.cpp | 2 +- doc/examples/swap__string_t.link | 2 +- doc/examples/to_cbor.cpp | 2 +- doc/examples/to_cbor.link | 2 +- doc/examples/to_msgpack.cpp | 2 +- doc/examples/to_msgpack.link | 2 +- doc/examples/type.cpp | 2 +- doc/examples/type.link | 2 +- doc/examples/type_name.cpp | 2 +- doc/examples/type_name.link | 2 +- doc/examples/unflatten.cpp | 2 +- doc/examples/unflatten.link | 2 +- 217 files changed, 217 insertions(+), 216 deletions(-) create mode 100644 doc/examples/insert__range_object.link diff --git a/doc/examples/README.cpp b/doc/examples/README.cpp index d8cd4d670..a93ee60a9 100644 --- a/doc/examples/README.cpp +++ b/doc/examples/README.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" #include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/README.link b/doc/examples/README.link index 9b154c4ac..8758bf05e 100644 --- a/doc/examples/README.link +++ b/doc/examples/README.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/array.cpp b/doc/examples/array.cpp index 3ec0a133b..d3cc47774 100644 --- a/doc/examples/array.cpp +++ b/doc/examples/array.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/array.link b/doc/examples/array.link index cafca79cf..a7e408310 100644 --- a/doc/examples/array.link +++ b/doc/examples/array.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/at__object_t_key_type.cpp b/doc/examples/at__object_t_key_type.cpp index 7797418f4..611ca2267 100644 --- a/doc/examples/at__object_t_key_type.cpp +++ b/doc/examples/at__object_t_key_type.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/at__object_t_key_type.link b/doc/examples/at__object_t_key_type.link index 8874783bd..cff20beab 100644 --- a/doc/examples/at__object_t_key_type.link +++ b/doc/examples/at__object_t_key_type.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/at__object_t_key_type_const.cpp b/doc/examples/at__object_t_key_type_const.cpp index f60424041..eae7da969 100644 --- a/doc/examples/at__object_t_key_type_const.cpp +++ b/doc/examples/at__object_t_key_type_const.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/at__object_t_key_type_const.link b/doc/examples/at__object_t_key_type_const.link index cd8594e66..43bb6c875 100644 --- a/doc/examples/at__object_t_key_type_const.link +++ b/doc/examples/at__object_t_key_type_const.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/at__size_type.cpp b/doc/examples/at__size_type.cpp index 28def1dd2..17381738a 100644 --- a/doc/examples/at__size_type.cpp +++ b/doc/examples/at__size_type.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/at__size_type.link b/doc/examples/at__size_type.link index cba0fa00f..fea3bcd54 100644 --- a/doc/examples/at__size_type.link +++ b/doc/examples/at__size_type.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/at__size_type_const.cpp b/doc/examples/at__size_type_const.cpp index 213d22fd6..3f67d3782 100644 --- a/doc/examples/at__size_type_const.cpp +++ b/doc/examples/at__size_type_const.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/at__size_type_const.link b/doc/examples/at__size_type_const.link index ce3647aca..70dd91517 100644 --- a/doc/examples/at__size_type_const.link +++ b/doc/examples/at__size_type_const.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/at_json_pointer.cpp b/doc/examples/at_json_pointer.cpp index 3ef91282a..2cb62e2d8 100644 --- a/doc/examples/at_json_pointer.cpp +++ b/doc/examples/at_json_pointer.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/at_json_pointer.link b/doc/examples/at_json_pointer.link index c8563ec20..2e6a3e706 100644 --- a/doc/examples/at_json_pointer.link +++ b/doc/examples/at_json_pointer.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/at_json_pointer_const.cpp b/doc/examples/at_json_pointer_const.cpp index a1d065f23..3b09f65da 100644 --- a/doc/examples/at_json_pointer_const.cpp +++ b/doc/examples/at_json_pointer_const.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/at_json_pointer_const.link b/doc/examples/at_json_pointer_const.link index f421faf45..1ea3b078e 100644 --- a/doc/examples/at_json_pointer_const.link +++ b/doc/examples/at_json_pointer_const.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/back.cpp b/doc/examples/back.cpp index 45f9483c7..f4dcced3c 100644 --- a/doc/examples/back.cpp +++ b/doc/examples/back.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/back.link b/doc/examples/back.link index 15b1102ba..8d757cde2 100644 --- a/doc/examples/back.link +++ b/doc/examples/back.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/basic_json__CompatibleType.cpp b/doc/examples/basic_json__CompatibleType.cpp index ff564a72f..85dbccd08 100644 --- a/doc/examples/basic_json__CompatibleType.cpp +++ b/doc/examples/basic_json__CompatibleType.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" #include #include #include diff --git a/doc/examples/basic_json__CompatibleType.link b/doc/examples/basic_json__CompatibleType.link index a78f01bb8..3ced745bb 100644 --- a/doc/examples/basic_json__CompatibleType.link +++ b/doc/examples/basic_json__CompatibleType.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/basic_json__InputIt_InputIt.cpp b/doc/examples/basic_json__InputIt_InputIt.cpp index ce07e07bb..60043ff3f 100644 --- a/doc/examples/basic_json__InputIt_InputIt.cpp +++ b/doc/examples/basic_json__InputIt_InputIt.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/basic_json__InputIt_InputIt.link b/doc/examples/basic_json__InputIt_InputIt.link index d360496a5..c7c09d380 100644 --- a/doc/examples/basic_json__InputIt_InputIt.link +++ b/doc/examples/basic_json__InputIt_InputIt.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/basic_json__basic_json.cpp b/doc/examples/basic_json__basic_json.cpp index 28f1fd072..c218a8e5d 100644 --- a/doc/examples/basic_json__basic_json.cpp +++ b/doc/examples/basic_json__basic_json.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/basic_json__basic_json.link b/doc/examples/basic_json__basic_json.link index 78fcbbe54..e8ac682d3 100644 --- a/doc/examples/basic_json__basic_json.link +++ b/doc/examples/basic_json__basic_json.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/basic_json__copyassignment.cpp b/doc/examples/basic_json__copyassignment.cpp index 9e9c2eccf..b44e59930 100644 --- a/doc/examples/basic_json__copyassignment.cpp +++ b/doc/examples/basic_json__copyassignment.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/basic_json__copyassignment.link b/doc/examples/basic_json__copyassignment.link index efcac3062..1bff32a73 100644 --- a/doc/examples/basic_json__copyassignment.link +++ b/doc/examples/basic_json__copyassignment.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/basic_json__list_init_t.cpp b/doc/examples/basic_json__list_init_t.cpp index 8734dff15..5d77dbbc7 100644 --- a/doc/examples/basic_json__list_init_t.cpp +++ b/doc/examples/basic_json__list_init_t.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/basic_json__list_init_t.link b/doc/examples/basic_json__list_init_t.link index bcdf66890..4419ca9a4 100644 --- a/doc/examples/basic_json__list_init_t.link +++ b/doc/examples/basic_json__list_init_t.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/basic_json__moveconstructor.cpp b/doc/examples/basic_json__moveconstructor.cpp index e470c95b1..ecfdb6039 100644 --- a/doc/examples/basic_json__moveconstructor.cpp +++ b/doc/examples/basic_json__moveconstructor.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/basic_json__moveconstructor.link b/doc/examples/basic_json__moveconstructor.link index 9580d02c0..7bad99106 100644 --- a/doc/examples/basic_json__moveconstructor.link +++ b/doc/examples/basic_json__moveconstructor.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/basic_json__nullptr_t.cpp b/doc/examples/basic_json__nullptr_t.cpp index d0156d537..041a3269e 100644 --- a/doc/examples/basic_json__nullptr_t.cpp +++ b/doc/examples/basic_json__nullptr_t.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/basic_json__nullptr_t.link b/doc/examples/basic_json__nullptr_t.link index f911caa5c..143d20a25 100644 --- a/doc/examples/basic_json__nullptr_t.link +++ b/doc/examples/basic_json__nullptr_t.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/basic_json__size_type_basic_json.cpp b/doc/examples/basic_json__size_type_basic_json.cpp index 15f8c0d5c..1add49252 100644 --- a/doc/examples/basic_json__size_type_basic_json.cpp +++ b/doc/examples/basic_json__size_type_basic_json.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/basic_json__size_type_basic_json.link b/doc/examples/basic_json__size_type_basic_json.link index 78305dcf6..e699f9adb 100644 --- a/doc/examples/basic_json__size_type_basic_json.link +++ b/doc/examples/basic_json__size_type_basic_json.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/basic_json__value.cpp b/doc/examples/basic_json__value.cpp index dfb91d840..fced71c31 100644 --- a/doc/examples/basic_json__value.cpp +++ b/doc/examples/basic_json__value.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/basic_json__value.link b/doc/examples/basic_json__value.link index 27e1ddebd..3dc8a4076 100644 --- a/doc/examples/basic_json__value.link +++ b/doc/examples/basic_json__value.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/basic_json__value_ptr.cpp b/doc/examples/basic_json__value_ptr.cpp index f45fb8b0f..262fbbf63 100644 --- a/doc/examples/basic_json__value_ptr.cpp +++ b/doc/examples/basic_json__value_ptr.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/basic_json__value_ptr.link b/doc/examples/basic_json__value_ptr.link index 2f8fc83ca..482c75f0d 100644 --- a/doc/examples/basic_json__value_ptr.link +++ b/doc/examples/basic_json__value_ptr.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/basic_json__value_t.cpp b/doc/examples/basic_json__value_t.cpp index faf5dfaec..20cd3b4db 100644 --- a/doc/examples/basic_json__value_t.cpp +++ b/doc/examples/basic_json__value_t.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/basic_json__value_t.link b/doc/examples/basic_json__value_t.link index e7e744c11..8e999a8dd 100644 --- a/doc/examples/basic_json__value_t.link +++ b/doc/examples/basic_json__value_t.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/begin.cpp b/doc/examples/begin.cpp index 46c17218d..c2bb43ae4 100644 --- a/doc/examples/begin.cpp +++ b/doc/examples/begin.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/begin.link b/doc/examples/begin.link index 64eac7026..da79b6310 100644 --- a/doc/examples/begin.link +++ b/doc/examples/begin.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/cbegin.cpp b/doc/examples/cbegin.cpp index fe45e49b0..f4353ef08 100644 --- a/doc/examples/cbegin.cpp +++ b/doc/examples/cbegin.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/cbegin.link b/doc/examples/cbegin.link index c298c6530..dee6deb20 100644 --- a/doc/examples/cbegin.link +++ b/doc/examples/cbegin.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/cend.cpp b/doc/examples/cend.cpp index a140fb0b5..089141249 100644 --- a/doc/examples/cend.cpp +++ b/doc/examples/cend.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/cend.link b/doc/examples/cend.link index 61a3203d5..6dfc22775 100644 --- a/doc/examples/cend.link +++ b/doc/examples/cend.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/clear.cpp b/doc/examples/clear.cpp index 60016753b..055211cf6 100644 --- a/doc/examples/clear.cpp +++ b/doc/examples/clear.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/clear.link b/doc/examples/clear.link index 9ad0a14f0..91fa1f25b 100644 --- a/doc/examples/clear.link +++ b/doc/examples/clear.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/count.cpp b/doc/examples/count.cpp index b97f71dab..b3f10d063 100644 --- a/doc/examples/count.cpp +++ b/doc/examples/count.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/count.link b/doc/examples/count.link index 0893d9223..6167a6730 100644 --- a/doc/examples/count.link +++ b/doc/examples/count.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/crbegin.cpp b/doc/examples/crbegin.cpp index 4ea71d973..df0868aba 100644 --- a/doc/examples/crbegin.cpp +++ b/doc/examples/crbegin.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/crbegin.link b/doc/examples/crbegin.link index 1188be1ea..49072710b 100644 --- a/doc/examples/crbegin.link +++ b/doc/examples/crbegin.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/crend.cpp b/doc/examples/crend.cpp index 079eeea6c..20c2f82a2 100644 --- a/doc/examples/crend.cpp +++ b/doc/examples/crend.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/crend.link b/doc/examples/crend.link index 4bdfef3ac..7c244144e 100644 --- a/doc/examples/crend.link +++ b/doc/examples/crend.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/diff.cpp b/doc/examples/diff.cpp index a377fc813..982b8f9c7 100644 --- a/doc/examples/diff.cpp +++ b/doc/examples/diff.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" #include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/diff.link b/doc/examples/diff.link index 459ecfcc6..d0bed27ad 100644 --- a/doc/examples/diff.link +++ b/doc/examples/diff.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/dump.cpp b/doc/examples/dump.cpp index 3145d4539..8190ae49d 100644 --- a/doc/examples/dump.cpp +++ b/doc/examples/dump.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/dump.link b/doc/examples/dump.link index 5cf3e634b..3ced44481 100644 --- a/doc/examples/dump.link +++ b/doc/examples/dump.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/emplace.cpp b/doc/examples/emplace.cpp index c3b3c3e35..2af633ebc 100644 --- a/doc/examples/emplace.cpp +++ b/doc/examples/emplace.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/emplace.link b/doc/examples/emplace.link index a9366c326..b689c4762 100644 --- a/doc/examples/emplace.link +++ b/doc/examples/emplace.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/emplace_back.cpp b/doc/examples/emplace_back.cpp index 4e9ec89a0..f76e599fc 100644 --- a/doc/examples/emplace_back.cpp +++ b/doc/examples/emplace_back.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/emplace_back.link b/doc/examples/emplace_back.link index 4363e4c79..824c95df2 100644 --- a/doc/examples/emplace_back.link +++ b/doc/examples/emplace_back.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/empty.cpp b/doc/examples/empty.cpp index 2edda6dc9..a4c71b529 100644 --- a/doc/examples/empty.cpp +++ b/doc/examples/empty.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/empty.link b/doc/examples/empty.link index 12aa96782..c16e02962 100644 --- a/doc/examples/empty.link +++ b/doc/examples/empty.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/end.cpp b/doc/examples/end.cpp index 848623a4d..5eeec81dc 100644 --- a/doc/examples/end.cpp +++ b/doc/examples/end.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/end.link b/doc/examples/end.link index 462a463f1..4ced3b90c 100644 --- a/doc/examples/end.link +++ b/doc/examples/end.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/erase__IteratorType.cpp b/doc/examples/erase__IteratorType.cpp index 5743c3274..2ec6204fe 100644 --- a/doc/examples/erase__IteratorType.cpp +++ b/doc/examples/erase__IteratorType.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/erase__IteratorType.link b/doc/examples/erase__IteratorType.link index 854a9be5f..50571c91b 100644 --- a/doc/examples/erase__IteratorType.link +++ b/doc/examples/erase__IteratorType.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/erase__IteratorType_IteratorType.cpp b/doc/examples/erase__IteratorType_IteratorType.cpp index 9250c3ca0..ef3f070c2 100644 --- a/doc/examples/erase__IteratorType_IteratorType.cpp +++ b/doc/examples/erase__IteratorType_IteratorType.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/erase__IteratorType_IteratorType.link b/doc/examples/erase__IteratorType_IteratorType.link index 26e0b9034..fb7fca42b 100644 --- a/doc/examples/erase__IteratorType_IteratorType.link +++ b/doc/examples/erase__IteratorType_IteratorType.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/erase__key_type.cpp b/doc/examples/erase__key_type.cpp index ca0962aaa..e035c23bc 100644 --- a/doc/examples/erase__key_type.cpp +++ b/doc/examples/erase__key_type.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/erase__key_type.link b/doc/examples/erase__key_type.link index e4c2fba1d..8a1579c9f 100644 --- a/doc/examples/erase__key_type.link +++ b/doc/examples/erase__key_type.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/erase__size_type.cpp b/doc/examples/erase__size_type.cpp index 7df3d0625..68bbab641 100644 --- a/doc/examples/erase__size_type.cpp +++ b/doc/examples/erase__size_type.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/erase__size_type.link b/doc/examples/erase__size_type.link index c63abe525..cd20c392f 100644 --- a/doc/examples/erase__size_type.link +++ b/doc/examples/erase__size_type.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/find__key_type.cpp b/doc/examples/find__key_type.cpp index 79eed509a..cb4a51c70 100644 --- a/doc/examples/find__key_type.cpp +++ b/doc/examples/find__key_type.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/find__key_type.link b/doc/examples/find__key_type.link index cd3d4fd25..bf003fb1a 100644 --- a/doc/examples/find__key_type.link +++ b/doc/examples/find__key_type.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/flatten.cpp b/doc/examples/flatten.cpp index e7b7ee879..b0cf9b6c0 100644 --- a/doc/examples/flatten.cpp +++ b/doc/examples/flatten.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" #include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/flatten.link b/doc/examples/flatten.link index ab2128fa2..b5285f3c0 100644 --- a/doc/examples/flatten.link +++ b/doc/examples/flatten.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/from_cbor.cpp b/doc/examples/from_cbor.cpp index fc44d4a5b..5d78be8fa 100644 --- a/doc/examples/from_cbor.cpp +++ b/doc/examples/from_cbor.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" #include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/from_cbor.link b/doc/examples/from_cbor.link index c621bd2de..15a2bf404 100644 --- a/doc/examples/from_cbor.link +++ b/doc/examples/from_cbor.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/from_msgpack.cpp b/doc/examples/from_msgpack.cpp index 7c4202c9e..a16c1bdd5 100644 --- a/doc/examples/from_msgpack.cpp +++ b/doc/examples/from_msgpack.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" #include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/from_msgpack.link b/doc/examples/from_msgpack.link index 22bac001e..a4818bd77 100644 --- a/doc/examples/from_msgpack.link +++ b/doc/examples/from_msgpack.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/front.cpp b/doc/examples/front.cpp index 7c5a2ae99..e9f09d0c1 100644 --- a/doc/examples/front.cpp +++ b/doc/examples/front.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/front.link b/doc/examples/front.link index d69c7f90c..e3f57b3dc 100644 --- a/doc/examples/front.link +++ b/doc/examples/front.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/get__PointerType.cpp b/doc/examples/get__PointerType.cpp index 7c15c5aa3..613305f99 100644 --- a/doc/examples/get__PointerType.cpp +++ b/doc/examples/get__PointerType.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/get__PointerType.link b/doc/examples/get__PointerType.link index 68a46b571..5c0713d5a 100644 --- a/doc/examples/get__PointerType.link +++ b/doc/examples/get__PointerType.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/get__ValueType_const.cpp b/doc/examples/get__ValueType_const.cpp index 40a96184b..3fdd28347 100644 --- a/doc/examples/get__ValueType_const.cpp +++ b/doc/examples/get__ValueType_const.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" #include using json = nlohmann::json; diff --git a/doc/examples/get__ValueType_const.link b/doc/examples/get__ValueType_const.link index 95862c671..d58c17891 100644 --- a/doc/examples/get__ValueType_const.link +++ b/doc/examples/get__ValueType_const.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/get_ptr.cpp b/doc/examples/get_ptr.cpp index 2c319dc40..54288450a 100644 --- a/doc/examples/get_ptr.cpp +++ b/doc/examples/get_ptr.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/get_ptr.link b/doc/examples/get_ptr.link index 13ed7d818..2b158c8f2 100644 --- a/doc/examples/get_ptr.link +++ b/doc/examples/get_ptr.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/get_ref.cpp b/doc/examples/get_ref.cpp index a152d3471..c07d84882 100644 --- a/doc/examples/get_ref.cpp +++ b/doc/examples/get_ref.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/get_ref.link b/doc/examples/get_ref.link index c5bd9c03b..1181b7c63 100644 --- a/doc/examples/get_ref.link +++ b/doc/examples/get_ref.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/insert.cpp b/doc/examples/insert.cpp index 967f443ef..998795665 100644 --- a/doc/examples/insert.cpp +++ b/doc/examples/insert.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/insert.link b/doc/examples/insert.link index 9b0a1d90a..f3f4e4bc3 100644 --- a/doc/examples/insert.link +++ b/doc/examples/insert.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/insert__count.cpp b/doc/examples/insert__count.cpp index 258515e68..11460e510 100644 --- a/doc/examples/insert__count.cpp +++ b/doc/examples/insert__count.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/insert__count.link b/doc/examples/insert__count.link index f6a6441d7..103795f52 100644 --- a/doc/examples/insert__count.link +++ b/doc/examples/insert__count.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/insert__ilist.cpp b/doc/examples/insert__ilist.cpp index c0138d2a0..fa9e86125 100644 --- a/doc/examples/insert__ilist.cpp +++ b/doc/examples/insert__ilist.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/insert__ilist.link b/doc/examples/insert__ilist.link index eba2b5607..13805fbff 100644 --- a/doc/examples/insert__ilist.link +++ b/doc/examples/insert__ilist.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/insert__range.cpp b/doc/examples/insert__range.cpp index b5d0001ba..8e8a5977f 100644 --- a/doc/examples/insert__range.cpp +++ b/doc/examples/insert__range.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/insert__range.link b/doc/examples/insert__range.link index 3a802b572..304407932 100644 --- a/doc/examples/insert__range.link +++ b/doc/examples/insert__range.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/insert__range_object.cpp b/doc/examples/insert__range_object.cpp index 4cd589388..3f266b220 100644 --- a/doc/examples/insert__range_object.cpp +++ b/doc/examples/insert__range_object.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/insert__range_object.link b/doc/examples/insert__range_object.link new file mode 100644 index 000000000..f6eb481aa --- /dev/null +++ b/doc/examples/insert__range_object.link @@ -0,0 +1 @@ +online \ No newline at end of file diff --git a/doc/examples/is_array.cpp b/doc/examples/is_array.cpp index 11a631150..7a5d20bf2 100644 --- a/doc/examples/is_array.cpp +++ b/doc/examples/is_array.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/is_array.link b/doc/examples/is_array.link index ccd727507..ad18000c0 100644 --- a/doc/examples/is_array.link +++ b/doc/examples/is_array.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/is_boolean.cpp b/doc/examples/is_boolean.cpp index 9efcf6943..d3a0e178b 100644 --- a/doc/examples/is_boolean.cpp +++ b/doc/examples/is_boolean.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/is_boolean.link b/doc/examples/is_boolean.link index 5ebc9acb3..bb89c4a04 100644 --- a/doc/examples/is_boolean.link +++ b/doc/examples/is_boolean.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/is_discarded.cpp b/doc/examples/is_discarded.cpp index a1d42a7a8..f4953bf93 100644 --- a/doc/examples/is_discarded.cpp +++ b/doc/examples/is_discarded.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/is_discarded.link b/doc/examples/is_discarded.link index d2172392c..407667aa3 100644 --- a/doc/examples/is_discarded.link +++ b/doc/examples/is_discarded.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/is_null.cpp b/doc/examples/is_null.cpp index 0d69c05c2..9dd0528c4 100644 --- a/doc/examples/is_null.cpp +++ b/doc/examples/is_null.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/is_null.link b/doc/examples/is_null.link index d40569d23..6ead545c3 100644 --- a/doc/examples/is_null.link +++ b/doc/examples/is_null.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/is_number.cpp b/doc/examples/is_number.cpp index fd2a99b11..a0baff326 100644 --- a/doc/examples/is_number.cpp +++ b/doc/examples/is_number.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/is_number.link b/doc/examples/is_number.link index 089d7893d..7e291e79d 100644 --- a/doc/examples/is_number.link +++ b/doc/examples/is_number.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/is_number_float.cpp b/doc/examples/is_number_float.cpp index 92bcfa108..a67d92717 100644 --- a/doc/examples/is_number_float.cpp +++ b/doc/examples/is_number_float.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/is_number_float.link b/doc/examples/is_number_float.link index 3fa73533c..3f56570a9 100644 --- a/doc/examples/is_number_float.link +++ b/doc/examples/is_number_float.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/is_number_integer.cpp b/doc/examples/is_number_integer.cpp index ecac7cd64..b8f772ef6 100644 --- a/doc/examples/is_number_integer.cpp +++ b/doc/examples/is_number_integer.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/is_number_integer.link b/doc/examples/is_number_integer.link index 474cded4b..692d0208d 100644 --- a/doc/examples/is_number_integer.link +++ b/doc/examples/is_number_integer.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/is_number_unsigned.cpp b/doc/examples/is_number_unsigned.cpp index ad457591c..7cd04a31b 100644 --- a/doc/examples/is_number_unsigned.cpp +++ b/doc/examples/is_number_unsigned.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/is_number_unsigned.link b/doc/examples/is_number_unsigned.link index 0849b8e56..930ec4983 100644 --- a/doc/examples/is_number_unsigned.link +++ b/doc/examples/is_number_unsigned.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/is_object.cpp b/doc/examples/is_object.cpp index 56db66e56..1fe66ec22 100644 --- a/doc/examples/is_object.cpp +++ b/doc/examples/is_object.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/is_object.link b/doc/examples/is_object.link index 5bd827c21..5bfaa41ad 100644 --- a/doc/examples/is_object.link +++ b/doc/examples/is_object.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/is_primitive.cpp b/doc/examples/is_primitive.cpp index 48872ab5a..fb863b61f 100644 --- a/doc/examples/is_primitive.cpp +++ b/doc/examples/is_primitive.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/is_primitive.link b/doc/examples/is_primitive.link index 6de65c795..aa46ead75 100644 --- a/doc/examples/is_primitive.link +++ b/doc/examples/is_primitive.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/is_string.cpp b/doc/examples/is_string.cpp index 2d6ed0698..df887007d 100644 --- a/doc/examples/is_string.cpp +++ b/doc/examples/is_string.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/is_string.link b/doc/examples/is_string.link index 86ef2b45c..b4d8cc39d 100644 --- a/doc/examples/is_string.link +++ b/doc/examples/is_string.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/is_structured.cpp b/doc/examples/is_structured.cpp index ed573e3cc..66016083e 100644 --- a/doc/examples/is_structured.cpp +++ b/doc/examples/is_structured.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/is_structured.link b/doc/examples/is_structured.link index 43385c8b7..ef6804b75 100644 --- a/doc/examples/is_structured.link +++ b/doc/examples/is_structured.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/json_pointer.cpp b/doc/examples/json_pointer.cpp index 3b23dfb2f..333d3963d 100644 --- a/doc/examples/json_pointer.cpp +++ b/doc/examples/json_pointer.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/json_pointer.link b/doc/examples/json_pointer.link index 78881dd96..541a97d8f 100644 --- a/doc/examples/json_pointer.link +++ b/doc/examples/json_pointer.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/json_pointer__to_string.cpp b/doc/examples/json_pointer__to_string.cpp index 4cb053c53..fc7f2557c 100644 --- a/doc/examples/json_pointer__to_string.cpp +++ b/doc/examples/json_pointer__to_string.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/json_pointer__to_string.link b/doc/examples/json_pointer__to_string.link index 407609b20..5cae597ed 100644 --- a/doc/examples/json_pointer__to_string.link +++ b/doc/examples/json_pointer__to_string.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/max_size.cpp b/doc/examples/max_size.cpp index d2f1b727d..27989271f 100644 --- a/doc/examples/max_size.cpp +++ b/doc/examples/max_size.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/max_size.link b/doc/examples/max_size.link index 5719ccaac..2bca668d9 100644 --- a/doc/examples/max_size.link +++ b/doc/examples/max_size.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/meta.cpp b/doc/examples/meta.cpp index 28c88b8d1..8e4ad3de3 100644 --- a/doc/examples/meta.cpp +++ b/doc/examples/meta.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" #include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/meta.link b/doc/examples/meta.link index 6a5ad0c19..05b7ef06f 100644 --- a/doc/examples/meta.link +++ b/doc/examples/meta.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/meta.output b/doc/examples/meta.output index 933aac0ff..d5ef8260f 100644 --- a/doc/examples/meta.output +++ b/doc/examples/meta.output @@ -2,7 +2,7 @@ "compiler": { "c++": "201103", "family": "clang", - "version": "8.0.0 (clang-800.0.42.1)" + "version": "8.1.0 (clang-802.0.42)" }, "copyright": "(C) 2013-2017 Niels Lohmann", "name": "JSON for Modern C++", diff --git a/doc/examples/object.cpp b/doc/examples/object.cpp index 5b8ba5898..3c089b0f9 100644 --- a/doc/examples/object.cpp +++ b/doc/examples/object.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/object.link b/doc/examples/object.link index d9e63e536..0a435eb19 100644 --- a/doc/examples/object.link +++ b/doc/examples/object.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/operator__ValueType.cpp b/doc/examples/operator__ValueType.cpp index 77af700fb..4895fe1e1 100644 --- a/doc/examples/operator__ValueType.cpp +++ b/doc/examples/operator__ValueType.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" #include using json = nlohmann::json; diff --git a/doc/examples/operator__ValueType.link b/doc/examples/operator__ValueType.link index 9a689f828..84497ae4a 100644 --- a/doc/examples/operator__ValueType.link +++ b/doc/examples/operator__ValueType.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/operator__equal.cpp b/doc/examples/operator__equal.cpp index 12bf92ed5..e9910f32f 100644 --- a/doc/examples/operator__equal.cpp +++ b/doc/examples/operator__equal.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/operator__equal.link b/doc/examples/operator__equal.link index 867075204..910bf4496 100644 --- a/doc/examples/operator__equal.link +++ b/doc/examples/operator__equal.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/operator__equal.output b/doc/examples/operator__equal.output index e9dfd7551..780673556 100644 --- a/doc/examples/operator__equal.output +++ b/doc/examples/operator__equal.output @@ -1,4 +1,4 @@ [1,2,3] == [1,2,4] false {"A":"a","B":"b"} == {"A":"a","B":"b"} true -17 == 17 true +17 == 17.0 true "foo" == "bar" false diff --git a/doc/examples/operator__equal__nullptr_t.cpp b/doc/examples/operator__equal__nullptr_t.cpp index 49c632cfd..d7c2fbdc6 100644 --- a/doc/examples/operator__equal__nullptr_t.cpp +++ b/doc/examples/operator__equal__nullptr_t.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/operator__equal__nullptr_t.link b/doc/examples/operator__equal__nullptr_t.link index d52acab41..300305025 100644 --- a/doc/examples/operator__equal__nullptr_t.link +++ b/doc/examples/operator__equal__nullptr_t.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/operator__greater.cpp b/doc/examples/operator__greater.cpp index bee3b2b5a..1860625cf 100644 --- a/doc/examples/operator__greater.cpp +++ b/doc/examples/operator__greater.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/operator__greater.link b/doc/examples/operator__greater.link index 5499771d8..f28c8fe07 100644 --- a/doc/examples/operator__greater.link +++ b/doc/examples/operator__greater.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/operator__greaterequal.cpp b/doc/examples/operator__greaterequal.cpp index cd3989669..e1d5d8b77 100644 --- a/doc/examples/operator__greaterequal.cpp +++ b/doc/examples/operator__greaterequal.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/operator__greaterequal.link b/doc/examples/operator__greaterequal.link index e476f3964..a03af050c 100644 --- a/doc/examples/operator__greaterequal.link +++ b/doc/examples/operator__greaterequal.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/operator__less.cpp b/doc/examples/operator__less.cpp index d4a7b7941..53a595a91 100644 --- a/doc/examples/operator__less.cpp +++ b/doc/examples/operator__less.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/operator__less.link b/doc/examples/operator__less.link index d50c2207c..9d8a489a3 100644 --- a/doc/examples/operator__less.link +++ b/doc/examples/operator__less.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/operator__lessequal.cpp b/doc/examples/operator__lessequal.cpp index 20654d9e8..6d82e894d 100644 --- a/doc/examples/operator__lessequal.cpp +++ b/doc/examples/operator__lessequal.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/operator__lessequal.link b/doc/examples/operator__lessequal.link index 3b71a46d0..637846fbf 100644 --- a/doc/examples/operator__lessequal.link +++ b/doc/examples/operator__lessequal.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/operator__notequal.cpp b/doc/examples/operator__notequal.cpp index 499a00d17..1310a8d9d 100644 --- a/doc/examples/operator__notequal.cpp +++ b/doc/examples/operator__notequal.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/operator__notequal.link b/doc/examples/operator__notequal.link index 49f1529ce..fa7acee88 100644 --- a/doc/examples/operator__notequal.link +++ b/doc/examples/operator__notequal.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/operator__notequal.output b/doc/examples/operator__notequal.output index ddd838b4a..9eba626e3 100644 --- a/doc/examples/operator__notequal.output +++ b/doc/examples/operator__notequal.output @@ -1,4 +1,4 @@ [1,2,3] == [1,2,4] true {"A":"a","B":"b"} == {"A":"a","B":"b"} false -17 == 17 false +17 == 17.0 false "foo" == "bar" true diff --git a/doc/examples/operator__notequal__nullptr_t.cpp b/doc/examples/operator__notequal__nullptr_t.cpp index 014e6343a..e65dcd7c1 100644 --- a/doc/examples/operator__notequal__nullptr_t.cpp +++ b/doc/examples/operator__notequal__nullptr_t.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/operator__notequal__nullptr_t.link b/doc/examples/operator__notequal__nullptr_t.link index 210336234..f8be3cbea 100644 --- a/doc/examples/operator__notequal__nullptr_t.link +++ b/doc/examples/operator__notequal__nullptr_t.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/operator__value_t.cpp b/doc/examples/operator__value_t.cpp index d281df0d8..dfcf0c3b6 100644 --- a/doc/examples/operator__value_t.cpp +++ b/doc/examples/operator__value_t.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/operator__value_t.link b/doc/examples/operator__value_t.link index 3139efa11..2acdc711e 100644 --- a/doc/examples/operator__value_t.link +++ b/doc/examples/operator__value_t.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/operator_deserialize.cpp b/doc/examples/operator_deserialize.cpp index 06a98db96..bf9d77959 100644 --- a/doc/examples/operator_deserialize.cpp +++ b/doc/examples/operator_deserialize.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" #include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/operator_deserialize.link b/doc/examples/operator_deserialize.link index fea1503eb..caf6025a5 100644 --- a/doc/examples/operator_deserialize.link +++ b/doc/examples/operator_deserialize.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/operator_serialize.cpp b/doc/examples/operator_serialize.cpp index c3861b466..889bc108e 100644 --- a/doc/examples/operator_serialize.cpp +++ b/doc/examples/operator_serialize.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" #include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/operator_serialize.link b/doc/examples/operator_serialize.link index 45b5f4b16..a77519c27 100644 --- a/doc/examples/operator_serialize.link +++ b/doc/examples/operator_serialize.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/operatorarray__key_type.cpp b/doc/examples/operatorarray__key_type.cpp index 795abc089..2438f991e 100644 --- a/doc/examples/operatorarray__key_type.cpp +++ b/doc/examples/operatorarray__key_type.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" #include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/operatorarray__key_type.link b/doc/examples/operatorarray__key_type.link index d597ad787..7990937bb 100644 --- a/doc/examples/operatorarray__key_type.link +++ b/doc/examples/operatorarray__key_type.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/operatorarray__key_type_const.cpp b/doc/examples/operatorarray__key_type_const.cpp index 5ad97355e..36aa1db22 100644 --- a/doc/examples/operatorarray__key_type_const.cpp +++ b/doc/examples/operatorarray__key_type_const.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/operatorarray__key_type_const.link b/doc/examples/operatorarray__key_type_const.link index d34adb46c..3b6f2f4aa 100644 --- a/doc/examples/operatorarray__key_type_const.link +++ b/doc/examples/operatorarray__key_type_const.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/operatorarray__size_type.cpp b/doc/examples/operatorarray__size_type.cpp index 4ccbf2704..27d7d9efd 100644 --- a/doc/examples/operatorarray__size_type.cpp +++ b/doc/examples/operatorarray__size_type.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/operatorarray__size_type.link b/doc/examples/operatorarray__size_type.link index aa5f718a9..e978214ea 100644 --- a/doc/examples/operatorarray__size_type.link +++ b/doc/examples/operatorarray__size_type.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/operatorarray__size_type_const.cpp b/doc/examples/operatorarray__size_type_const.cpp index 2ef794781..44264172a 100644 --- a/doc/examples/operatorarray__size_type_const.cpp +++ b/doc/examples/operatorarray__size_type_const.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/operatorarray__size_type_const.link b/doc/examples/operatorarray__size_type_const.link index a5c351e62..3dc0ce3e5 100644 --- a/doc/examples/operatorarray__size_type_const.link +++ b/doc/examples/operatorarray__size_type_const.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/operatorjson_pointer.cpp b/doc/examples/operatorjson_pointer.cpp index d7e8faff1..63b233d2f 100644 --- a/doc/examples/operatorjson_pointer.cpp +++ b/doc/examples/operatorjson_pointer.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/operatorjson_pointer.link b/doc/examples/operatorjson_pointer.link index debbdedb4..67b3be466 100644 --- a/doc/examples/operatorjson_pointer.link +++ b/doc/examples/operatorjson_pointer.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/operatorjson_pointer_const.cpp b/doc/examples/operatorjson_pointer_const.cpp index 20ac36cb2..8f3bc6134 100644 --- a/doc/examples/operatorjson_pointer_const.cpp +++ b/doc/examples/operatorjson_pointer_const.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/operatorjson_pointer_const.link b/doc/examples/operatorjson_pointer_const.link index 1bc14234d..38d54c6d7 100644 --- a/doc/examples/operatorjson_pointer_const.link +++ b/doc/examples/operatorjson_pointer_const.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/parse__array__parser_callback_t.cpp b/doc/examples/parse__array__parser_callback_t.cpp index 68ecf602e..790cc21df 100644 --- a/doc/examples/parse__array__parser_callback_t.cpp +++ b/doc/examples/parse__array__parser_callback_t.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" #include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/parse__array__parser_callback_t.link b/doc/examples/parse__array__parser_callback_t.link index 3389916f5..76e50355b 100644 --- a/doc/examples/parse__array__parser_callback_t.link +++ b/doc/examples/parse__array__parser_callback_t.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/parse__contiguouscontainer__parser_callback_t.cpp b/doc/examples/parse__contiguouscontainer__parser_callback_t.cpp index 45e376d9a..c953fe672 100644 --- a/doc/examples/parse__contiguouscontainer__parser_callback_t.cpp +++ b/doc/examples/parse__contiguouscontainer__parser_callback_t.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" #include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/parse__contiguouscontainer__parser_callback_t.link b/doc/examples/parse__contiguouscontainer__parser_callback_t.link index 57d6dc3a9..27f6f961b 100644 --- a/doc/examples/parse__contiguouscontainer__parser_callback_t.link +++ b/doc/examples/parse__contiguouscontainer__parser_callback_t.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/parse__istream__parser_callback_t.cpp b/doc/examples/parse__istream__parser_callback_t.cpp index b5f84da45..1d25f7051 100644 --- a/doc/examples/parse__istream__parser_callback_t.cpp +++ b/doc/examples/parse__istream__parser_callback_t.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" #include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/parse__istream__parser_callback_t.link b/doc/examples/parse__istream__parser_callback_t.link index 4d2d0a9cd..f1552bf62 100644 --- a/doc/examples/parse__istream__parser_callback_t.link +++ b/doc/examples/parse__istream__parser_callback_t.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/parse__iteratortype__parser_callback_t.cpp b/doc/examples/parse__iteratortype__parser_callback_t.cpp index c7a5bf838..1d7520526 100644 --- a/doc/examples/parse__iteratortype__parser_callback_t.cpp +++ b/doc/examples/parse__iteratortype__parser_callback_t.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" #include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/parse__iteratortype__parser_callback_t.link b/doc/examples/parse__iteratortype__parser_callback_t.link index 63f58fe64..f48f2fd1f 100644 --- a/doc/examples/parse__iteratortype__parser_callback_t.link +++ b/doc/examples/parse__iteratortype__parser_callback_t.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/parse__string__parser_callback_t.cpp b/doc/examples/parse__string__parser_callback_t.cpp index bea4914f9..b044eb321 100644 --- a/doc/examples/parse__string__parser_callback_t.cpp +++ b/doc/examples/parse__string__parser_callback_t.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" #include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/parse__string__parser_callback_t.link b/doc/examples/parse__string__parser_callback_t.link index 292046b6b..3b44d9dc7 100644 --- a/doc/examples/parse__string__parser_callback_t.link +++ b/doc/examples/parse__string__parser_callback_t.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/patch.cpp b/doc/examples/patch.cpp index 4dfada32b..ad30b78ba 100644 --- a/doc/examples/patch.cpp +++ b/doc/examples/patch.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" #include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/patch.link b/doc/examples/patch.link index 5d5032b7b..939971495 100644 --- a/doc/examples/patch.link +++ b/doc/examples/patch.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/push_back.cpp b/doc/examples/push_back.cpp index 5d0877f0a..8d1b1c5e0 100644 --- a/doc/examples/push_back.cpp +++ b/doc/examples/push_back.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/push_back.link b/doc/examples/push_back.link index d0ca11be9..efb1b6bdc 100644 --- a/doc/examples/push_back.link +++ b/doc/examples/push_back.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/push_back__initializer_list.cpp b/doc/examples/push_back__initializer_list.cpp index 9fe01ad79..443c36393 100644 --- a/doc/examples/push_back__initializer_list.cpp +++ b/doc/examples/push_back__initializer_list.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/push_back__initializer_list.link b/doc/examples/push_back__initializer_list.link index 2b5abaeda..bb56fb16b 100644 --- a/doc/examples/push_back__initializer_list.link +++ b/doc/examples/push_back__initializer_list.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/push_back__object_t__value.cpp b/doc/examples/push_back__object_t__value.cpp index b55ee6402..fe3318c0a 100644 --- a/doc/examples/push_back__object_t__value.cpp +++ b/doc/examples/push_back__object_t__value.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/push_back__object_t__value.link b/doc/examples/push_back__object_t__value.link index 04bdbd9b8..0fad4a347 100644 --- a/doc/examples/push_back__object_t__value.link +++ b/doc/examples/push_back__object_t__value.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/rbegin.cpp b/doc/examples/rbegin.cpp index 2ced56d3c..c4f632ebf 100644 --- a/doc/examples/rbegin.cpp +++ b/doc/examples/rbegin.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/rbegin.link b/doc/examples/rbegin.link index 79ed80c38..a780148a8 100644 --- a/doc/examples/rbegin.link +++ b/doc/examples/rbegin.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/rend.cpp b/doc/examples/rend.cpp index ece1c5517..d746ab4f7 100644 --- a/doc/examples/rend.cpp +++ b/doc/examples/rend.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/rend.link b/doc/examples/rend.link index 6e8850f06..9d33126d9 100644 --- a/doc/examples/rend.link +++ b/doc/examples/rend.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/size.cpp b/doc/examples/size.cpp index 5949ed63f..341864995 100644 --- a/doc/examples/size.cpp +++ b/doc/examples/size.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/size.link b/doc/examples/size.link index 9b546197a..6b27e7b9e 100644 --- a/doc/examples/size.link +++ b/doc/examples/size.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/swap__array_t.cpp b/doc/examples/swap__array_t.cpp index 3c2cc6b76..b58c02c4d 100644 --- a/doc/examples/swap__array_t.cpp +++ b/doc/examples/swap__array_t.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/swap__array_t.link b/doc/examples/swap__array_t.link index 1dca248ca..ed7862c86 100644 --- a/doc/examples/swap__array_t.link +++ b/doc/examples/swap__array_t.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/swap__object_t.cpp b/doc/examples/swap__object_t.cpp index d3a0bae25..15f061de9 100644 --- a/doc/examples/swap__object_t.cpp +++ b/doc/examples/swap__object_t.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/swap__object_t.link b/doc/examples/swap__object_t.link index cdb94e9a6..6dd2dc186 100644 --- a/doc/examples/swap__object_t.link +++ b/doc/examples/swap__object_t.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/swap__reference.cpp b/doc/examples/swap__reference.cpp index 178a60bec..ee0336514 100644 --- a/doc/examples/swap__reference.cpp +++ b/doc/examples/swap__reference.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/swap__reference.link b/doc/examples/swap__reference.link index 262d1961c..6bb80015d 100644 --- a/doc/examples/swap__reference.link +++ b/doc/examples/swap__reference.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/swap__string_t.cpp b/doc/examples/swap__string_t.cpp index af166849f..87ee1ed8c 100644 --- a/doc/examples/swap__string_t.cpp +++ b/doc/examples/swap__string_t.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/swap__string_t.link b/doc/examples/swap__string_t.link index f3c448d50..5d204f86e 100644 --- a/doc/examples/swap__string_t.link +++ b/doc/examples/swap__string_t.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/to_cbor.cpp b/doc/examples/to_cbor.cpp index 2d07e8abd..a4fbfbf1c 100644 --- a/doc/examples/to_cbor.cpp +++ b/doc/examples/to_cbor.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" #include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/to_cbor.link b/doc/examples/to_cbor.link index 3ab655c1b..06695fec4 100644 --- a/doc/examples/to_cbor.link +++ b/doc/examples/to_cbor.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/to_msgpack.cpp b/doc/examples/to_msgpack.cpp index dad835429..5e0d18842 100644 --- a/doc/examples/to_msgpack.cpp +++ b/doc/examples/to_msgpack.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" #include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/to_msgpack.link b/doc/examples/to_msgpack.link index 4c7d3a274..904a65401 100644 --- a/doc/examples/to_msgpack.link +++ b/doc/examples/to_msgpack.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/type.cpp b/doc/examples/type.cpp index 07ec78856..eb764bf29 100644 --- a/doc/examples/type.cpp +++ b/doc/examples/type.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/type.link b/doc/examples/type.link index ccb4422b0..c4d92739d 100644 --- a/doc/examples/type.link +++ b/doc/examples/type.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/type_name.cpp b/doc/examples/type_name.cpp index 815e92d7e..b849c10a0 100644 --- a/doc/examples/type_name.cpp +++ b/doc/examples/type_name.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" using json = nlohmann::json; diff --git a/doc/examples/type_name.link b/doc/examples/type_name.link index 39d1f973e..8f36e649e 100644 --- a/doc/examples/type_name.link +++ b/doc/examples/type_name.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/unflatten.cpp b/doc/examples/unflatten.cpp index a01a63499..f17e10ce2 100644 --- a/doc/examples/unflatten.cpp +++ b/doc/examples/unflatten.cpp @@ -1,4 +1,4 @@ -#include +#include "json.hpp" #include // for std::setw using json = nlohmann::json; diff --git a/doc/examples/unflatten.link b/doc/examples/unflatten.link index 386f5e11f..71d3d55d4 100644 --- a/doc/examples/unflatten.link +++ b/doc/examples/unflatten.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file