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 00000000..4cd58938 --- /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 00000000..a5985158 --- /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 98659054..182a634c 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 5e90f611..02866b22 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 0c332111..b860beee 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 654b9eb6..00000000 --- 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 3811afa2..00000000 --- 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 33e2cc68..00000000 --- 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 e9dfd755..00000000 --- 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 ddd838b4..00000000 --- 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 b928e116..d8cd4d67 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 3226f729..00000000 --- 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 d81a58db..a377fc81 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 ace53a21..e7b7ee87 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 92b05225..fc44d4a5 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 d275f13a..7c4202c9 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 3a31ca24..28c88b8d 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 a43cdf0f..06a98db9 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 c1568d99..c3861b46 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 e83a2ac0..795abc08 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 8e086d20..68ecf602 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 5a339079..45e376d9 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 6812a5e2..b5f84da4 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 3f723c5f..c7a5bf83 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 0a4f3b53..bea4914f 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 24a52d59..4dfada32 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 21a5ce86..2d07e8ab 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 21c8817a..dad83542 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 e2b9b6b8..a01a6349 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 a774c8ff..9b154c4a 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 00000000..31188d45 --- /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 c3e3fa4d..459ecfcc 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 50d3841f..ab2128fa 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 81204989..c621bd2d 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 0d5e7831..22bac001 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 d8cd4d67..a93ee60a 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 9b154c4a..8758bf05 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 3ec0a133..d3cc4777 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 cafca79c..a7e40831 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 7797418f..611ca226 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 8874783b..cff20bea 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 f6042404..eae7da96 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 cd8594e6..43bb6c87 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 28def1dd..17381738 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 cba0fa00..fea3bcd5 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 213d22fd..3f67d378 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 ce3647ac..70dd9151 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 3ef91282..2cb62e2d 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 c8563ec2..2e6a3e70 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 a1d065f2..3b09f65d 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 f421faf4..1ea3b078 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 45f9483c..f4dcced3 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 15b1102b..8d757cde 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 ff564a72..85dbccd0 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 a78f01bb..3ced745b 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 ce07e07b..60043ff3 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 d360496a..c7c09d38 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 28f1fd07..c218a8e5 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 78fcbbe5..e8ac682d 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 9e9c2ecc..b44e5993 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 efcac306..1bff32a7 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 8734dff1..5d77dbbc 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 bcdf6689..4419ca9a 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 e470c95b..ecfdb603 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 9580d02c..7bad9910 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 d0156d53..041a3269 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 f911caa5..143d20a2 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 15f8c0d5..1add4925 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 78305dcf..e699f9ad 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 dfb91d84..fced71c3 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 27e1ddeb..3dc8a407 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 f45fb8b0..262fbbf6 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 2f8fc83c..482c75f0 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 faf5dfae..20cd3b4d 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 e7e744c1..8e999a8d 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 46c17218..c2bb43ae 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 64eac702..da79b631 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 fe45e49b..f4353ef0 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 c298c653..dee6deb2 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 a140fb0b..08914124 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 61a3203d..6dfc2277 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 60016753..055211cf 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 9ad0a14f..91fa1f25 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 b97f71da..b3f10d06 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 0893d922..6167a673 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 4ea71d97..df0868ab 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 1188be1e..49072710 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 079eeea6..20c2f82a 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 4bdfef3a..7c244144 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 a377fc81..982b8f9c 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 459ecfcc..d0bed27a 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 3145d453..8190ae49 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 5cf3e634..3ced4448 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 c3b3c3e3..2af633eb 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 a9366c32..b689c476 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 4e9ec89a..f76e599f 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 4363e4c7..824c95df 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 2edda6dc..a4c71b52 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 12aa9678..c16e0296 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 848623a4..5eeec81d 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 462a463f..4ced3b90 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 5743c327..2ec6204f 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 854a9be5..50571c91 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 9250c3ca..ef3f070c 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 26e0b903..fb7fca42 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 ca0962aa..e035c23b 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 e4c2fba1..8a1579c9 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 7df3d062..68bbab64 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 c63abe52..cd20c392 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 79eed509..cb4a51c7 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 cd3d4fd2..bf003fb1 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 e7b7ee87..b0cf9b6c 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 ab2128fa..b5285f3c 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 fc44d4a5..5d78be8f 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 c621bd2d..15a2bf40 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 7c4202c9..a16c1bdd 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 22bac001..a4818bd7 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 7c5a2ae9..e9f09d0c 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 d69c7f90..e3f57b3d 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 7c15c5aa..613305f9 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 68a46b57..5c0713d5 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 40a96184..3fdd2834 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 95862c67..d58c1789 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 2c319dc4..54288450 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 13ed7d81..2b158c8f 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 a152d347..c07d8488 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 c5bd9c03..1181b7c6 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 967f443e..99879566 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 9b0a1d90..f3f4e4bc 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 258515e6..11460e51 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 f6a6441d..103795f5 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 c0138d2a..fa9e8612 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 eba2b560..13805fbf 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 b5d0001b..8e8a5977 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 3a802b57..30440793 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 4cd58938..3f266b22 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 00000000..f6eb481a --- /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 11a63115..7a5d20bf 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 ccd72750..ad18000c 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 9efcf694..d3a0e178 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 5ebc9acb..bb89c4a0 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 a1d42a7a..f4953bf9 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 d2172392..407667aa 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 0d69c05c..9dd0528c 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 d40569d2..6ead545c 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 fd2a99b1..a0baff32 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 089d7893..7e291e79 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 92bcfa10..a67d9271 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 3fa73533..3f56570a 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 ecac7cd6..b8f772ef 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 474cded4..692d0208 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 ad457591..7cd04a31 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 0849b8e5..930ec498 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 56db66e5..1fe66ec2 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 5bd827c2..5bfaa41a 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 48872ab5..fb863b61 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 6de65c79..aa46ead7 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 2d6ed069..df887007 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 86ef2b45..b4d8cc39 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 ed573e3c..66016083 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 43385c8b..ef6804b7 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 3b23dfb2..333d3963 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 78881dd9..541a97d8 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 4cb053c5..fc7f2557 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 407609b2..5cae597e 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 d2f1b727..27989271 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 5719ccaa..2bca668d 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 28c88b8d..8e4ad3de 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 6a5ad0c1..05b7ef06 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 933aac0f..d5ef8260 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 5b8ba589..3c089b0f 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 d9e63e53..0a435eb1 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 77af700f..4895fe1e 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 9a689f82..84497ae4 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 12bf92ed..e9910f32 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 86707520..910bf449 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 e9dfd755..78067355 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 49c632cf..d7c2fbdc 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 d52acab4..30030502 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 bee3b2b5..1860625c 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 5499771d..f28c8fe0 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 cd398966..e1d5d8b7 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 e476f396..a03af050 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 d4a7b794..53a595a9 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 d50c2207..9d8a489a 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 20654d9e..6d82e894 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 3b71a46d..637846fb 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 499a00d1..1310a8d9 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 49f1529c..fa7acee8 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 ddd838b4..9eba626e 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 014e6343..e65dcd7c 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 21033623..f8be3cbe 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 d281df0d..dfcf0c3b 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 3139efa1..2acdc711 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 06a98db9..bf9d7795 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 fea1503e..caf6025a 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 c3861b46..889bc108 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 45b5f4b1..a77519c2 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 795abc08..2438f991 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 d597ad78..7990937b 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 5ad97355..36aa1db2 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 d34adb46..3b6f2f4a 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 4ccbf270..27d7d9ef 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 aa5f718a..e978214e 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 2ef79478..44264172 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 a5c351e6..3dc0ce3e 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 d7e8faff..63b233d2 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 debbdedb..67b3be46 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 20ac36cb..8f3bc613 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 1bc14234..38d54c6d 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 68ecf602..790cc21d 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 3389916f..76e50355 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 45e376d9..c953fe67 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 57d6dc3a..27f6f961 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 b5f84da4..1d25f705 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 4d2d0a9c..f1552bf6 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 c7a5bf83..1d752052 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 63f58fe6..f48f2fd1 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 bea4914f..b044eb32 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 292046b6..3b44d9dc 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 4dfada32..ad30b78b 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 5d5032b7..93997149 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 5d0877f0..8d1b1c5e 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 d0ca11be..efb1b6bd 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 9fe01ad7..443c3639 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 2b5abaed..bb56fb16 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 b55ee640..fe3318c0 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 04bdbd9b..0fad4a34 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 2ced56d3..c4f632eb 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 79ed80c3..a780148a 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 ece1c551..d746ab4f 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 6e8850f0..9d33126d 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 5949ed63..34186499 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 9b546197..6b27e7b9 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 3c2cc6b7..b58c02c4 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 1dca248c..ed7862c8 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 d3a0bae2..15f061de 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 cdb94e9a..6dd2dc18 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 178a60be..ee033651 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 262d1961..6bb80015 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 af166849..87ee1ed8 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 f3c448d5..5d204f86 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 2d07e8ab..a4fbfbf1 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 3ab655c1..06695fec 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 dad83542..5e0d1884 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 4c7d3a27..904a6540 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 07ec7885..eb764bf2 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 ccb4422b..c4d92739 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 815e92d7..b849c10a 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 39d1f973..8f36e649 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 a01a6349..f17e10ce 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 386f5e11..71d3d55d 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