From 0c2ea6232854323386ae8f3ad51290d0628e305a Mon Sep 17 00:00:00 2001 From: Niels Date: Tue, 15 Dec 2015 19:44:57 +0100 Subject: [PATCH] Update --- Nodes.xml | 4 +- Tokens.xml | 4 +- annotated.html | 2 +- classes.html | 2 +- classnlohmann_1_1basic__json-members.html | 4 +- classnlohmann_1_1basic__json.html | 14 +- ...asic__json_1_1const__iterator-members.html | 2 +- ...ann_1_1basic__json_1_1const__iterator.html | 2 +- ...tor_a019087161350d393f3e4ac841cdd3dbd.html | 2 +- ...tor_a17e5f5d3598e6901f3c1c1f7dc60589f.html | 2 +- ...tor_a1cba94e5a67ee52bc66b898a4e08359d.html | 2 +- ...tor_a211523a57024a43965862b497b89ab91.html | 2 +- ...tor_a301749e9779adafd395369ac36df93df.html | 2 +- ...tor_a36086a699b95e06976c11367b7d6ba53.html | 2 +- ...tor_a4632d8307fc315f21e2ecc9ba5aa6346.html | 2 +- ...tor_a4f7ac43b0ab34c387b1ae1a8e9c08467.html | 2 +- ...tor_a5aff013c03c1bdc248346c249bec7b67.html | 2 +- ...tor_a62cad59e006eb7fa594c2c5b65a76610.html | 2 +- ...tor_a67848d4b7bfa576434ad9807147b5870.html | 2 +- ...tor_a6b3e43d2f45fa611825dbdf4e88fffe2.html | 2 +- ...tor_a83454954e4e16be3d5316f9322e91a34.html | 2 +- ...tor_a86a1771e6658d0b14868df6c197d2353.html | 2 +- ...tor_a8d024cbc99db0d8106899f9fd9973735.html | 2 +- ...tor_ab74b39747a9dad60650a57133fca85b3.html | 2 +- ...tor_ab7dacd8e3ee9b3756bfcdb87dd55a515.html | 2 +- ...tor_ab9d31bf0d0b4d7310c858a04ce84a52f.html | 2 +- ...tor_abb1921cbf0ad4036c83bc6303e22171f.html | 2 +- ...tor_abbacd95955c602efc9a58ed1ffdb46c4.html | 2 +- ...tor_ac36b9187de43721a4bf1b052578bb80b.html | 2 +- ...tor_ac634a659837f5aebc97125e031de23b5.html | 2 +- ...tor_acea5b75d1087e2a92833946d9dc547ff.html | 2 +- ...tor_ada3100cdb8700566051828f1355fa745.html | 2 +- ...tor_adb50d6043ace464d9f694869724d7fb2.html | 2 +- ...tor_adda9a4bd7f0edb9cb39dc0dca3d4a286.html | 2 +- ...tor_adf6f9d3f8f8d8b1ccedabb4f04c098ad.html | 2 +- ...tor_ae480d5c86e5e1129d53d1e19782017a6.html | 2 +- ...tor_aebd099d9a70ffe760242ef24046c9002.html | 2 +- ...tor_af34f68f1ce670e7f25ce267b2b1e64ab.html | 2 +- ...tor_af55564e391b23e41abe78bc4bbe4edcb.html | 2 +- ...nn_1_1basic__json_1_1iterator-members.html | 2 +- classnlohmann_1_1basic__json_1_1iterator.html | 2 +- ...ic__json_1_1iterator__wrapper-members.html | 2 +- ...n_1_1basic__json_1_1iterator__wrapper.html | 2 +- ...per_a784f17dec56c1ec90b0b73eb8307ea7d.html | 2 +- ...per_a80305d6ac43b6fb53c62256e450485ac.html | 2 +- ...per_ab5951e20b05998e768943acd0b418c81.html | 2 +- ...tor_a037e5f3de196ff4cea8a95a8a4e35882.html | 2 +- ...tor_a0a43bd93e6e46645ed0b93d3af7bfe22.html | 2 +- ...tor_a0c0acb68cc2a50a0e8782f860184883f.html | 2 +- ...tor_a0eb7ac9b746fb6f931ae728f70f92a8e.html | 2 +- ...tor_a1220b360a07b0605f7d2f4b3cfd16736.html | 2 +- ...tor_a21d32a4547ba4cbadd8b435a6a0d0e1b.html | 2 +- ...tor_a302d810a0685f8d39368eaa65c833acf.html | 2 +- ...tor_a33277dbf06ac5c1e7102e26f6b5e2c00.html | 2 +- ...tor_a4ae612fa9eb59784047b40f0419db65d.html | 2 +- ...tor_a4f6e03ae3bb674ebf0b727f74957c12f.html | 2 +- ...tor_a6e91e9d94a0e14d2fc28cfdf3beac2b1.html | 2 +- ...tor_a7031e759ee52d1283aada0ff81108a5e.html | 2 +- ...tor_a94285e2ade0bfef829b81377bbbca6cf.html | 2 +- ...tor_a9fcfda575b08d0c73b6274cdbbe7f184.html | 2 +- ...tor_aa2bd10afdcfc70acb8eaabbd2f6496f0.html | 2 +- ...tor_ab220a0cc3fe410fbae4524208bd5834f.html | 2 +- ...tor_ab5cf753cb2f8ce53b9f3e54c39e50ee3.html | 2 +- ...tor_abaebf4e21956dd20d9f862fa5647d32d.html | 2 +- ...tor_af64127418c567660d92b1afdfe9676db.html | 2 +- ...tor_afe65b5a0572c7bfdd7ccc942bb8e9fe2.html | 2 +- ...on_1_1json__reverse__iterator-members.html | 2 +- ...asic__json_1_1json__reverse__iterator.html | 2 +- ...tor_a03e542423284327d3801cf078f1c2b44.html | 2 +- ...tor_a0b494ef7570d031216f907d2c85ec323.html | 2 +- ...tor_a15e9cf4c5a43238e82ab69c4a295c491.html | 2 +- ...tor_a1c84e6d1f047ab4105fa665f455158a7.html | 2 +- ...tor_a2a1dc92fbec862883c8b89755c787c99.html | 2 +- ...tor_a5ee9ec91a6ddcd8d72278d681361626f.html | 2 +- ...tor_a61d31531e0dfc5448e7fa15678b05bbe.html | 2 +- ...tor_a6bd38ed124df0332ba3263a9176b0101.html | 2 +- ...tor_a70086e392779ecbbc9e6845b2be126a0.html | 2 +- ...tor_aa82b48aee07baee284f8340b37ec6864.html | 2 +- ...tor_ab6245ab29d8481ef2a2351c02cc31d4d.html | 2 +- ...tor_ac427d8f61858c13b7c16649bfbf75e76.html | 2 +- ...tor_ad3d6837b6f97065625c6c65f62f4b6d4.html | 2 +- ...tor_ae988bd36b7d098b1157871f83b2d6265.html | 2 +- ...tor_af972fce017b24906236ab235857a11a8.html | 2 +- ...son_a01a2643289b69cd71d9b3f3fc209b748.html | 10 +- ...son_a034bccea9f5400650443e9f12e67b079.html | 11 +- ...son_a088460b5d95f384a4f2ec9e52f4f66ba.html | 10 +- ...son_a0a7560122349628cf4942a316aa6d21f.html | 10 +- ...son_a0a9c6a1fccc4db365860463e8203eb38.html | 13 +- ...son_a0bb6ea56c89560cce8003485bffe49d4.html | 13 +- ...son_a0e372f4c5a90c6be7242a2d7a3709b48.html | 10 +- ...son_a114095c452ca2f4ba976548df3da68be.html | 10 +- ...son_a11c3dd843c21c58daa651e84046a82af.html | 10 +- ...son_a122640e7e2db1814fc7bbb3c122ec76e.html | 8 +- ...son_a13e5642dbfa1602c937d295a085413cc.html | 4 +- ...son_a15e468968cd4d0e4fd566044d66ada24.html | 15 +- ...son_a1683189bd539313b5559f07961166c8b.html | 4 +- ...son_a16a275d0201e9aedc87c933c764b8869.html | 10 +- ...son_a190d719446e7016879c4b961c9cf9072.html | 15 +- ...son_a231b02148577b69a154b2ce2c87a5522.html | 7 +- ...son_a234f03dce002783748ca401a42bc6472.html | 14 +- ...son_a2448b2777e8a3e48614e1b3c41b96f7c.html | 13 +- ...son_a266c4dd24d11a86e4831523af5d9df4d.html | 8 +- ...son_a26b7e4876af25eae5800ce43f93aaef2.html | 10 +- ...son_a2adfc8d24bea3908398cbf325b5dc1d7.html | 12 +- ...son_a3287df6546c905fb0a5786deb4b1cf32.html | 10 +- ...son_a33f1632cfdbf460b4913f4e8a43dd9e4.html | 11 +- ...son_a34d6a60dd99e9f33b8273a1c8db5669b.html | 8 +- ...son_a429c2606865483ff357cccc1b1c46569.html | 10 +- ...son_a42f9133f978dde4cce5851b2c2434a0c.html | 10 +- ...son_a4361aa791f3980abb239e4155a3450cb.html | 12 +- ...son_a4943b7f16ddc4e0df33c0cae7ef14471.html | 12 +- ...son_a4ad3f27ecece8f644e8dca69a97eb67f.html | 12 +- ...son_a4bf695ddf4a00ea8feea2c725ec847f1.html | 12 +- ...son_a4d688b5ff534d3ab4e284b3191061529.html | 12 +- ...son_a53a2abfdd4f72c7df5aba1155bf03e48.html | 12 +- ...son_a55edaf09e1f7785463475f809d987cee.html | 12 +- ...son_a57703688bee6b9736ab3a430d8d246f2.html | 8 +- ...son_a57a96ab3ff1ce7b48a754129fb12c982.html | 12 +- ...son_a5a2d4dbcdbc8ea065b87daf52cd786b9.html | 11 +- ...son_a5c8bb5200f5eac10d31e26be46e5b1ac.html | 8 +- ...son_a5d428360d75a52f6af74751d1cc912c6.html | 10 +- ...son_a5e34c5435e557d0bf666bd7311211405.html | 8 +- ...son_a5f0aad50ed7e8aec3128fe018c18b3fe.html | 10 +- ...son_a5fd8b54389698edf0c08e2dd001f610b.html | 4 +- ...son_a60ca396028b8d9714c6e10efbf475af6.html | 8 +- ...son_a63691315292df8e1522b00d37ebb1ffc.html | 9 +- ...son_a652414dd930cb3af3b6f454cc535a23e.html | 10 +- ...son_a656939a3dc9a6047e4afacd9e11b83a6.html | 14 +- ...son_a6944904b3b59769b1cf62ac2532cbe33.html | 8 +- ...son_a696ced74d8edc0b63a000a72907ab109.html | 10 +- ...son_a6a67c72ba65322bfcb28d170617dcdff.html | 10 +- ...son_a6a7f45095675ac6fd1d018a0e41874be.html | 17 +- ...son_a6bbd3e72a870f1ba81ff6886b063b0fe.html | 4 +- ...son_a6dff6a02a2be250b8f8dc2f47be65544.html | 10 +- ...son_a6e2e21da48f5d9471716cd868a068327.html | 8 +- ...son_a71eba33d906745e66f340952b79fbce3.html | 4 +- ...son_a72442ccbb378b4464a24a2da1e784041.html | 10 +- ...son_a72ba20783ecb3eec98bd6a3b870d565c.html | 12 +- ...son_a749e58042d8069f4f048ee4d23c43f63.html | 10 +- ...son_a74a943800c7f103d0990d7eef82c6453.html | 8 +- ...son_a74ccfa471a0c061876b247f820f3c741.html | 24 +- ...son_a75a1754e0d39f33095d3102a8bdb9881.html | 14 +- ...son_a76cfc5062bf6223396ab82c753cd4634.html | 14 +- ...son_a793e5c1da2fc7de7a04b19eadbb3f2cb.html | 20 +- ...son_a7c08f966200af98db0313a3b517ce0a9.html | 12 +- ...son_a7c19a5c3be6cc755377ee41eade78baf.html | 12 +- ...son_a7d0db3b728d820d4984df78d97d2b104.html | 4 +- ...son_a7d1b990f2c12fecb57db1504fdadd0bb.html | 10 +- ...son_a7dab69b10b98e7bc694339720e37fb2b.html | 12 +- ...son_a7f97a91ad8f1d5cf0b9213bd24f247c4.html | 8 +- ...son_a80a89ddbe4cb7ef15b049febee208cc8.html | 12 +- ...son_a80ceaa3bdd346292273b309e08525c1c.html | 4 +- ...son_a83cbbfbf5d3ecbad6de8ece0be6b36c4.html | 10 +- ...son_a87db51b6b936fb2ea293cdbc8702dcb8.html | 8 +- ...son_a8b526709d395142b68d21abfbfff17c3.html | 10 +- ...son_a8c40cd9ead4de7c82f28268bdf0ec98a.html | 10 +- ...son_a8fa74698f4061e18ec664009f3af1ddf.html | 14 +- ...son_a930e14150ffa067bcf56d35cb00271e1.html | 11 +- ...son_a951a76ba057b3be948e7ba5c2c01cd5a.html | 11 +- ...son_a9730b9f7bc2150e641fe20198d4477c7.html | 8 +- ...son_a98e05a2c9b8f74bd60442772cddeee52.html | 8 +- ...son_a9993148cb0473365e52998c7315f9ada.html | 10 +- ...son_a9c26c5d0f4a519c7236149b9aeb3ef9e.html | 10 +- ...son_a9f17a0690155e3a5603246ccec81499e.html | 10 +- ...son_aa0422e861b4cbd7cdcaad7a11a1304a9.html | 6 +- ...son_aa1f3b3f1dca79392d6727b81f9668c6c.html | 10 +- ...son_aa5413178b8041f7ac685dec4b040dd2c.html | 12 +- ...son_aa6a24b176f9599a21d662cc5f8e1ca76.html | 7 +- ...son_aa71e977d31f470689883ac60d16ea4ac.html | 14 +- ...son_aabe4661644ea549089f0886c2551d2ac.html | 285 ++++++++++++++++++ ...son_aac185a137428a7337aa620de07bfbbd7.html | 4 +- ...son_aacd442b66140c764c594ac8ad7dfd5b3.html | 8 +- ...son_aacf6c869f6a9c66ac1bc99e93f310044.html | 8 +- ...son_aaf363408931d76472ded14017e59c9e8.html | 8 +- ...son_aafa839f2a74dc1b5060314b3423143b8.html | 7 +- ...son_ab14e3503305622fb5ab01a7f490916e8.html | 12 +- ...son_ab2162bc76e10d8736cab9b2039956054.html | 12 +- ...son_ab67345ba5c81c903eddd4eb2a24ac658.html | 12 +- ...son_ab9a20bd1d391e9cb968db50c246f728d.html | 10 +- ...son_ab9da2afc6f77295f25252725fde142a6.html | 10 +- ...son_abe8f3224ca4041908ddb466cb9caecf1.html | 10 +- ...son_ac4011bd0781e51afe4994d2b09fd27e9.html | 4 +- ...son_ac8163abe518595f19dbee68db1caaaf7.html | 10 +- ...son_ac82abedf356d252e0589850c3d8b35ba.html | 8 +- ...son_ac943391891fcde0a71a15ce990e0f7f4.html | 11 +- ...son_acbf7f957ecb6ce19cdc5b40b5d6b6333.html | 13 +- ...son_acdf4445333649ec94198f09a62144884.html | 12 +- ...son_ace8338e57fdb11e1955c2a0c2d782069.html | 7 +- ...son_ad1f617d29e8923dd40c89153f792b1bc.html | 19 +- ...son_ad2c4513cef5d8db760c4b2d871eea42c.html | 4 +- ...son_ad497cbc4f80c8d79662ee6e19bf145dd.html | 16 +- ...son_ad7067a1a8ad2d88125915ada6d4d79b7.html | 11 +- ...son_ad8e0c5d04f016d1b3ac7369e5c73bedf.html | 12 +- ...son_ada8e01109a60088e4db2a670d4903b54.html | 12 +- ...son_adbd4c16c9ac641b2a4736bc2c6787d83.html | 4 +- ...son_add77b50f69debb20e98d5a8c6c11c90c.html | 13 +- ...son_ade7bd6e0fe221fec9d3fa9b430f5ce76.html | 10 +- ...son_adf5dea6fa9d7075ff89ca0796ab47a7e.html | 8 +- ...son_ae2980ed978451f844e6e9a0890b637a6.html | 11 +- ...son_ae347859ec88176ef76a0cbe5b4514fcf.html | 8 +- ...son_ae42d32c34c8014b1bf677fdb7baa5401.html | 13 +- ...son_ae50f22a1c646b8627e88f1313cceffd4.html | 14 +- ...son_ae5ae3b1c6c67f52e9495ac092f6fb43e.html | 12 +- ...son_ae874cfc1746b560c53a03bcf5b7bbeed.html | 10 +- ...son_ae928414b2805cf6ef56b4e4f8d235416.html | 4 +- ...son_ae960d2d6bc7b94fe39cc5e9f106edfa9.html | 10 +- ...son_aea1c863b719b4ca5b77188c171bbfafe.html | 7 +- ...son_aeda4ec7473c17fae51e6d1eba0faf720.html | 10 +- ...son_af073eec08d2e68924098aef09e9a10ba.html | 10 +- ...son_af0ebd1757acb971a6504b4acabf88584.html | 12 +- ...son_af1e3f9e079136abca2530c8191c56292.html | 15 +- ...son_af2730bc8ffa6b28916875c13ee7b83f5.html | 22 +- ...son_af661bc209bf22097e2f76607a11b56bf.html | 10 +- ...son_af6b6050ccd906dddf7c9f47fe3ad62a5.html | 10 +- ...son_af709c079de0ac3507143ea2c60699bd0.html | 8 +- ...son_af74581d177dafc38df5a126ccd358999.html | 8 +- ...son_af93e556bf708cb81b22ce223af1aa727.html | 13 +- ...son_afc4223b5ad03b1b76e925374a8fff98e.html | 15 +- dir_68267d1309a1af8e8297ef4c3efbcdba.html | 2 +- functions.html | 2 +- functions_b.html | 2 +- functions_c.html | 2 +- functions_d.html | 2 +- functions_e.html | 2 +- functions_enum.html | 2 +- functions_f.html | 2 +- functions_func.html | 2 +- functions_g.html | 2 +- functions_i.html | 2 +- functions_j.html | 2 +- functions_k.html | 2 +- functions_m.html | 2 +- functions_n.html | 2 +- functions_o.html | 2 +- functions_p.html | 4 +- functions_r.html | 2 +- functions_rela.html | 2 +- functions_s.html | 2 +- functions_t.html | 2 +- functions_type.html | 4 +- functions_v.html | 2 +- functions_~.html | 2 +- graph_legend.html | 2 +- hierarchy.html | 2 +- index.html | 2 +- namespacemembers.html | 2 +- namespacemembers_type.html | 2 +- namespacenlohmann.html | 2 +- ..._1anonymous__namespace_02json_8hpp_03.html | 2 +- ...ann_a2bfd99e845a2e5cd90aeaf1b1431f474.html | 2 +- search/all_e.js | 2 +- search/typedefs_8.js | 2 +- ...ash_3_01nlohmann_1_1json_01_4-members.html | 2 +- ...std_1_1hash_3_01nlohmann_1_1json_01_4.html | 2 +- ...1_4_afd03f6ad53db22868ca4163a8200b2f9.html | 2 +- 255 files changed, 1135 insertions(+), 797 deletions(-) create mode 100644 classnlohmann_1_1basic__json_aabe4661644ea549089f0886c2551d2ac.html diff --git a/Nodes.xml b/Nodes.xml index 437a5a192..ac6223579 100644 --- a/Nodes.xml +++ b/Nodes.xml @@ -456,8 +456,8 @@ parser_callback_t - classnlohmann_1_1basic__json_aa8e533b4290ade5bf5a33104a69b202a.html - aa8e533b4290ade5bf5a33104a69b202a + classnlohmann_1_1basic__json_aabe4661644ea549089f0886c2551d2ac.html + aabe4661644ea549089f0886c2551d2ac pointer diff --git a/Tokens.xml b/Tokens.xml index b5845f5ba..15b3b3940 100644 --- a/Tokens.xml +++ b/Tokens.xml @@ -40,8 +40,8 @@ tdef nlohmann::basic_json - classnlohmann_1_1basic__json_aa8e533b4290ade5bf5a33104a69b202a.html - aa8e533b4290ade5bf5a33104a69b202a + classnlohmann_1_1basic__json_aabe4661644ea549089f0886c2551d2ac.html + aabe4661644ea549089f0886c2551d2ac per-element parser callback type diff --git a/annotated.html b/annotated.html index b2f5245e0..7c061f36b 100644 --- a/annotated.html +++ b/annotated.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/classes.html b/classes.html index 129bd507b..56fef7756 100644 --- a/classes.html +++ b/classes.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/classnlohmann_1_1basic__json-members.html b/classnlohmann_1_1basic__json-members.html index 86b95907a..5bb3beaba 100644 --- a/classnlohmann_1_1basic__json-members.html +++ b/classnlohmann_1_1basic__json-members.html @@ -205,7 +205,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse(std::istream &i, parser_callback_t cb=nullptr)nlohmann::basic_jsoninlinestatic parse(std::istream &&i, parser_callback_t cb=nullptr)nlohmann::basic_jsoninlinestatic parse_event_t enum namenlohmann::basic_json - parser_callback_t typedefnlohmann::basic_json + parser_callback_t typedefnlohmann::basic_json pointer typedefnlohmann::basic_json push_back(basic_json &&value)nlohmann::basic_jsoninline push_back(const basic_json &value)nlohmann::basic_jsoninline @@ -232,7 +232,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/classnlohmann_1_1basic__json.html b/classnlohmann_1_1basic__json.html index 003431047..a2a015ef5 100644 --- a/classnlohmann_1_1basic__json.html +++ b/classnlohmann_1_1basic__json.html @@ -132,9 +132,9 @@ Public Types } JSON callback events. More...
  -using parser_callback_t = std::function< bool(int depth, parse_event_t event, basic_json &parsed)> - per-element parser callback type More...
-  +using parser_callback_t = std::function< bool(int depth, parse_event_t event, basic_json &parsed)> + per-element parser callback type More...
+  enum  value_t : uint8_t {
  value_t::null, value_t::object, @@ -569,13 +569,13 @@ Friends - + - + - + @@ -632,7 +632,7 @@ class nlohmann::basic_json diff --git a/classnlohmann_1_1basic__json_1_1const__iterator-members.html b/classnlohmann_1_1basic__json_1_1const__iterator-members.html index e211d5904..1b0cf408f 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator-members.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator-members.html @@ -128,7 +128,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

deserialization

static basic_json parse (const string_t &s, parser_callback_t cb=nullptr)
static basic_json parse (const string_t &s, parser_callback_t cb=nullptr)
 deserialize from string More...
 
static basic_json parse (std::istream &i, parser_callback_t cb=nullptr)
static basic_json parse (std::istream &i, parser_callback_t cb=nullptr)
 deserialize from stream More...
 
static basic_json parse (std::istream &&i, parser_callback_t cb=nullptr)
static basic_json parse (std::istream &&i, parser_callback_t cb=nullptr)
 
std::istream & operator<< (basic_json &j, std::istream &i)
 deserialize from stream More...
diff --git a/classnlohmann_1_1basic__json_1_1const__iterator.html b/classnlohmann_1_1basic__json_1_1const__iterator.html index 3812531e3..a067d471e 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator.html @@ -216,7 +216,7 @@ class nlohmann::basic_json::const_iterator diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a019087161350d393f3e4ac841cdd3dbd.html b/classnlohmann_1_1basic__json_1_1const__iterator_a019087161350d393f3e4ac841cdd3dbd.html index 65d278c9e..9123016a1 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a019087161350d393f3e4ac841cdd3dbd.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a019087161350d393f3e4ac841cdd3dbd.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a17e5f5d3598e6901f3c1c1f7dc60589f.html b/classnlohmann_1_1basic__json_1_1const__iterator_a17e5f5d3598e6901f3c1c1f7dc60589f.html index 343e67d3b..64814138d 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a17e5f5d3598e6901f3c1c1f7dc60589f.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a17e5f5d3598e6901f3c1c1f7dc60589f.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a1cba94e5a67ee52bc66b898a4e08359d.html b/classnlohmann_1_1basic__json_1_1const__iterator_a1cba94e5a67ee52bc66b898a4e08359d.html index b5d4f71b5..20184f5a0 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a1cba94e5a67ee52bc66b898a4e08359d.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a1cba94e5a67ee52bc66b898a4e08359d.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a211523a57024a43965862b497b89ab91.html b/classnlohmann_1_1basic__json_1_1const__iterator_a211523a57024a43965862b497b89ab91.html index 8a49c22ca..a3f0bd13e 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a211523a57024a43965862b497b89ab91.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a211523a57024a43965862b497b89ab91.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a301749e9779adafd395369ac36df93df.html b/classnlohmann_1_1basic__json_1_1const__iterator_a301749e9779adafd395369ac36df93df.html index 5ca494abe..886382275 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a301749e9779adafd395369ac36df93df.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a301749e9779adafd395369ac36df93df.html @@ -150,7 +150,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a36086a699b95e06976c11367b7d6ba53.html b/classnlohmann_1_1basic__json_1_1const__iterator_a36086a699b95e06976c11367b7d6ba53.html index 946ce7c81..30a995d6e 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a36086a699b95e06976c11367b7d6ba53.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a36086a699b95e06976c11367b7d6ba53.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a4632d8307fc315f21e2ecc9ba5aa6346.html b/classnlohmann_1_1basic__json_1_1const__iterator_a4632d8307fc315f21e2ecc9ba5aa6346.html index 7f8d391a4..1667690fa 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a4632d8307fc315f21e2ecc9ba5aa6346.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a4632d8307fc315f21e2ecc9ba5aa6346.html @@ -150,7 +150,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a4f7ac43b0ab34c387b1ae1a8e9c08467.html b/classnlohmann_1_1basic__json_1_1const__iterator_a4f7ac43b0ab34c387b1ae1a8e9c08467.html index 99311add2..230f01175 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a4f7ac43b0ab34c387b1ae1a8e9c08467.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a4f7ac43b0ab34c387b1ae1a8e9c08467.html @@ -139,7 +139,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a5aff013c03c1bdc248346c249bec7b67.html b/classnlohmann_1_1basic__json_1_1const__iterator_a5aff013c03c1bdc248346c249bec7b67.html index 277c264dd..b60c96c28 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a5aff013c03c1bdc248346c249bec7b67.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a5aff013c03c1bdc248346c249bec7b67.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a62cad59e006eb7fa594c2c5b65a76610.html b/classnlohmann_1_1basic__json_1_1const__iterator_a62cad59e006eb7fa594c2c5b65a76610.html index 0a757487c..b79f4b774 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a62cad59e006eb7fa594c2c5b65a76610.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a62cad59e006eb7fa594c2c5b65a76610.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a67848d4b7bfa576434ad9807147b5870.html b/classnlohmann_1_1basic__json_1_1const__iterator_a67848d4b7bfa576434ad9807147b5870.html index c241c77b7..e461c2b76 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a67848d4b7bfa576434ad9807147b5870.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a67848d4b7bfa576434ad9807147b5870.html @@ -139,7 +139,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a6b3e43d2f45fa611825dbdf4e88fffe2.html b/classnlohmann_1_1basic__json_1_1const__iterator_a6b3e43d2f45fa611825dbdf4e88fffe2.html index 6ad558ec5..65859c86e 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a6b3e43d2f45fa611825dbdf4e88fffe2.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a6b3e43d2f45fa611825dbdf4e88fffe2.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a83454954e4e16be3d5316f9322e91a34.html b/classnlohmann_1_1basic__json_1_1const__iterator_a83454954e4e16be3d5316f9322e91a34.html index bbf759ad4..522efa866 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a83454954e4e16be3d5316f9322e91a34.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a83454954e4e16be3d5316f9322e91a34.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a86a1771e6658d0b14868df6c197d2353.html b/classnlohmann_1_1basic__json_1_1const__iterator_a86a1771e6658d0b14868df6c197d2353.html index 81492e1a6..9bb7c59e5 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a86a1771e6658d0b14868df6c197d2353.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a86a1771e6658d0b14868df6c197d2353.html @@ -150,7 +150,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a8d024cbc99db0d8106899f9fd9973735.html b/classnlohmann_1_1basic__json_1_1const__iterator_a8d024cbc99db0d8106899f9fd9973735.html index 427630af4..4be7bd389 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a8d024cbc99db0d8106899f9fd9973735.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a8d024cbc99db0d8106899f9fd9973735.html @@ -150,7 +150,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_ab74b39747a9dad60650a57133fca85b3.html b/classnlohmann_1_1basic__json_1_1const__iterator_ab74b39747a9dad60650a57133fca85b3.html index 42a513d15..63be8a113 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_ab74b39747a9dad60650a57133fca85b3.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_ab74b39747a9dad60650a57133fca85b3.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_ab7dacd8e3ee9b3756bfcdb87dd55a515.html b/classnlohmann_1_1basic__json_1_1const__iterator_ab7dacd8e3ee9b3756bfcdb87dd55a515.html index be20021fb..9a07a3eba 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_ab7dacd8e3ee9b3756bfcdb87dd55a515.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_ab7dacd8e3ee9b3756bfcdb87dd55a515.html @@ -150,7 +150,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_ab9d31bf0d0b4d7310c858a04ce84a52f.html b/classnlohmann_1_1basic__json_1_1const__iterator_ab9d31bf0d0b4d7310c858a04ce84a52f.html index 50933029a..6349fb9f3 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_ab9d31bf0d0b4d7310c858a04ce84a52f.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_ab9d31bf0d0b4d7310c858a04ce84a52f.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_abb1921cbf0ad4036c83bc6303e22171f.html b/classnlohmann_1_1basic__json_1_1const__iterator_abb1921cbf0ad4036c83bc6303e22171f.html index f58bcf074..232fe3b27 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_abb1921cbf0ad4036c83bc6303e22171f.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_abb1921cbf0ad4036c83bc6303e22171f.html @@ -150,7 +150,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_abbacd95955c602efc9a58ed1ffdb46c4.html b/classnlohmann_1_1basic__json_1_1const__iterator_abbacd95955c602efc9a58ed1ffdb46c4.html index 283ebb44a..15a2fc2db 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_abbacd95955c602efc9a58ed1ffdb46c4.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_abbacd95955c602efc9a58ed1ffdb46c4.html @@ -150,7 +150,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_ac36b9187de43721a4bf1b052578bb80b.html b/classnlohmann_1_1basic__json_1_1const__iterator_ac36b9187de43721a4bf1b052578bb80b.html index e449950de..f2f4e64c7 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_ac36b9187de43721a4bf1b052578bb80b.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_ac36b9187de43721a4bf1b052578bb80b.html @@ -139,7 +139,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_ac634a659837f5aebc97125e031de23b5.html b/classnlohmann_1_1basic__json_1_1const__iterator_ac634a659837f5aebc97125e031de23b5.html index ad0fa20d9..12cb62913 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_ac634a659837f5aebc97125e031de23b5.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_ac634a659837f5aebc97125e031de23b5.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_acea5b75d1087e2a92833946d9dc547ff.html b/classnlohmann_1_1basic__json_1_1const__iterator_acea5b75d1087e2a92833946d9dc547ff.html index 443e13658..cad2f76a6 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_acea5b75d1087e2a92833946d9dc547ff.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_acea5b75d1087e2a92833946d9dc547ff.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_ada3100cdb8700566051828f1355fa745.html b/classnlohmann_1_1basic__json_1_1const__iterator_ada3100cdb8700566051828f1355fa745.html index dd8a320d7..f9a5eabca 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_ada3100cdb8700566051828f1355fa745.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_ada3100cdb8700566051828f1355fa745.html @@ -147,7 +147,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_adb50d6043ace464d9f694869724d7fb2.html b/classnlohmann_1_1basic__json_1_1const__iterator_adb50d6043ace464d9f694869724d7fb2.html index 1e2bbeced..93fc6485b 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_adb50d6043ace464d9f694869724d7fb2.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_adb50d6043ace464d9f694869724d7fb2.html @@ -139,7 +139,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_adda9a4bd7f0edb9cb39dc0dca3d4a286.html b/classnlohmann_1_1basic__json_1_1const__iterator_adda9a4bd7f0edb9cb39dc0dca3d4a286.html index c9540e59f..80a4b6f70 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_adda9a4bd7f0edb9cb39dc0dca3d4a286.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_adda9a4bd7f0edb9cb39dc0dca3d4a286.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_adf6f9d3f8f8d8b1ccedabb4f04c098ad.html b/classnlohmann_1_1basic__json_1_1const__iterator_adf6f9d3f8f8d8b1ccedabb4f04c098ad.html index 36861af97..eb13c9ad4 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_adf6f9d3f8f8d8b1ccedabb4f04c098ad.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_adf6f9d3f8f8d8b1ccedabb4f04c098ad.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_ae480d5c86e5e1129d53d1e19782017a6.html b/classnlohmann_1_1basic__json_1_1const__iterator_ae480d5c86e5e1129d53d1e19782017a6.html index 1284e65aa..48e28ce19 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_ae480d5c86e5e1129d53d1e19782017a6.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_ae480d5c86e5e1129d53d1e19782017a6.html @@ -139,7 +139,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_aebd099d9a70ffe760242ef24046c9002.html b/classnlohmann_1_1basic__json_1_1const__iterator_aebd099d9a70ffe760242ef24046c9002.html index 0d2997e39..b5abde9cc 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_aebd099d9a70ffe760242ef24046c9002.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_aebd099d9a70ffe760242ef24046c9002.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_af34f68f1ce670e7f25ce267b2b1e64ab.html b/classnlohmann_1_1basic__json_1_1const__iterator_af34f68f1ce670e7f25ce267b2b1e64ab.html index e4789865b..2bf91eae1 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_af34f68f1ce670e7f25ce267b2b1e64ab.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_af34f68f1ce670e7f25ce267b2b1e64ab.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_af55564e391b23e41abe78bc4bbe4edcb.html b/classnlohmann_1_1basic__json_1_1const__iterator_af55564e391b23e41abe78bc4bbe4edcb.html index 1b3a248dd..5b2d4b669 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_af55564e391b23e41abe78bc4bbe4edcb.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_af55564e391b23e41abe78bc4bbe4edcb.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator-members.html b/classnlohmann_1_1basic__json_1_1iterator-members.html index 5201b8247..b6537f196 100644 --- a/classnlohmann_1_1basic__json_1_1iterator-members.html +++ b/classnlohmann_1_1basic__json_1_1iterator-members.html @@ -135,7 +135,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/classnlohmann_1_1basic__json_1_1iterator.html b/classnlohmann_1_1basic__json_1_1iterator.html index 809706d66..f4898cf96 100644 --- a/classnlohmann_1_1basic__json_1_1iterator.html +++ b/classnlohmann_1_1basic__json_1_1iterator.html @@ -267,7 +267,7 @@ class nlohmann::basic_json::iterator diff --git a/classnlohmann_1_1basic__json_1_1iterator__wrapper-members.html b/classnlohmann_1_1basic__json_1_1iterator__wrapper-members.html index c6a458e65..0abb632f3 100644 --- a/classnlohmann_1_1basic__json_1_1iterator__wrapper-members.html +++ b/classnlohmann_1_1basic__json_1_1iterator__wrapper-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/classnlohmann_1_1basic__json_1_1iterator__wrapper.html b/classnlohmann_1_1basic__json_1_1iterator__wrapper.html index 39c9b25c4..a3bf0d1c9 100644 --- a/classnlohmann_1_1basic__json_1_1iterator__wrapper.html +++ b/classnlohmann_1_1basic__json_1_1iterator__wrapper.html @@ -121,7 +121,7 @@ class nlohmann::basic_json::iterator_wrapper diff --git a/classnlohmann_1_1basic__json_1_1iterator__wrapper_a784f17dec56c1ec90b0b73eb8307ea7d.html b/classnlohmann_1_1basic__json_1_1iterator__wrapper_a784f17dec56c1ec90b0b73eb8307ea7d.html index 55dfc7f31..23f56db62 100644 --- a/classnlohmann_1_1basic__json_1_1iterator__wrapper_a784f17dec56c1ec90b0b73eb8307ea7d.html +++ b/classnlohmann_1_1basic__json_1_1iterator__wrapper_a784f17dec56c1ec90b0b73eb8307ea7d.html @@ -123,7 +123,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator__wrapper_a80305d6ac43b6fb53c62256e450485ac.html b/classnlohmann_1_1basic__json_1_1iterator__wrapper_a80305d6ac43b6fb53c62256e450485ac.html index df4b457e0..9c12cd988 100644 --- a/classnlohmann_1_1basic__json_1_1iterator__wrapper_a80305d6ac43b6fb53c62256e450485ac.html +++ b/classnlohmann_1_1basic__json_1_1iterator__wrapper_a80305d6ac43b6fb53c62256e450485ac.html @@ -122,7 +122,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator__wrapper_ab5951e20b05998e768943acd0b418c81.html b/classnlohmann_1_1basic__json_1_1iterator__wrapper_ab5951e20b05998e768943acd0b418c81.html index c1b13366e..ff3c9c09b 100644 --- a/classnlohmann_1_1basic__json_1_1iterator__wrapper_ab5951e20b05998e768943acd0b418c81.html +++ b/classnlohmann_1_1basic__json_1_1iterator__wrapper_ab5951e20b05998e768943acd0b418c81.html @@ -122,7 +122,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a037e5f3de196ff4cea8a95a8a4e35882.html b/classnlohmann_1_1basic__json_1_1iterator_a037e5f3de196ff4cea8a95a8a4e35882.html index 0a1f7a73c..e2ea756c8 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a037e5f3de196ff4cea8a95a8a4e35882.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a037e5f3de196ff4cea8a95a8a4e35882.html @@ -139,7 +139,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a0a43bd93e6e46645ed0b93d3af7bfe22.html b/classnlohmann_1_1basic__json_1_1iterator_a0a43bd93e6e46645ed0b93d3af7bfe22.html index cccd5bc74..0f5ac3410 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a0a43bd93e6e46645ed0b93d3af7bfe22.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a0a43bd93e6e46645ed0b93d3af7bfe22.html @@ -140,7 +140,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a0c0acb68cc2a50a0e8782f860184883f.html b/classnlohmann_1_1basic__json_1_1iterator_a0c0acb68cc2a50a0e8782f860184883f.html index b5c8b9f55..b7763cd70 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a0c0acb68cc2a50a0e8782f860184883f.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a0c0acb68cc2a50a0e8782f860184883f.html @@ -140,7 +140,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a0eb7ac9b746fb6f931ae728f70f92a8e.html b/classnlohmann_1_1basic__json_1_1iterator_a0eb7ac9b746fb6f931ae728f70f92a8e.html index 4e51d395b..9c43ef13d 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a0eb7ac9b746fb6f931ae728f70f92a8e.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a0eb7ac9b746fb6f931ae728f70f92a8e.html @@ -140,7 +140,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a1220b360a07b0605f7d2f4b3cfd16736.html b/classnlohmann_1_1basic__json_1_1iterator_a1220b360a07b0605f7d2f4b3cfd16736.html index 5f8994e6f..5a97e00b2 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a1220b360a07b0605f7d2f4b3cfd16736.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a1220b360a07b0605f7d2f4b3cfd16736.html @@ -139,7 +139,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a21d32a4547ba4cbadd8b435a6a0d0e1b.html b/classnlohmann_1_1basic__json_1_1iterator_a21d32a4547ba4cbadd8b435a6a0d0e1b.html index bbd73f61f..c51940a94 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a21d32a4547ba4cbadd8b435a6a0d0e1b.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a21d32a4547ba4cbadd8b435a6a0d0e1b.html @@ -139,7 +139,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a302d810a0685f8d39368eaa65c833acf.html b/classnlohmann_1_1basic__json_1_1iterator_a302d810a0685f8d39368eaa65c833acf.html index afd05c6df..49b26cbc1 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a302d810a0685f8d39368eaa65c833acf.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a302d810a0685f8d39368eaa65c833acf.html @@ -140,7 +140,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a33277dbf06ac5c1e7102e26f6b5e2c00.html b/classnlohmann_1_1basic__json_1_1iterator_a33277dbf06ac5c1e7102e26f6b5e2c00.html index 39d9bab1e..3f3a608e6 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a33277dbf06ac5c1e7102e26f6b5e2c00.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a33277dbf06ac5c1e7102e26f6b5e2c00.html @@ -139,7 +139,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a4ae612fa9eb59784047b40f0419db65d.html b/classnlohmann_1_1basic__json_1_1iterator_a4ae612fa9eb59784047b40f0419db65d.html index 16329efb6..cd3f38fef 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a4ae612fa9eb59784047b40f0419db65d.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a4ae612fa9eb59784047b40f0419db65d.html @@ -140,7 +140,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a4f6e03ae3bb674ebf0b727f74957c12f.html b/classnlohmann_1_1basic__json_1_1iterator_a4f6e03ae3bb674ebf0b727f74957c12f.html index f06baae06..b0332c80c 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a4f6e03ae3bb674ebf0b727f74957c12f.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a4f6e03ae3bb674ebf0b727f74957c12f.html @@ -139,7 +139,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a6e91e9d94a0e14d2fc28cfdf3beac2b1.html b/classnlohmann_1_1basic__json_1_1iterator_a6e91e9d94a0e14d2fc28cfdf3beac2b1.html index 1fe2fdf7f..cf8e0e27b 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a6e91e9d94a0e14d2fc28cfdf3beac2b1.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a6e91e9d94a0e14d2fc28cfdf3beac2b1.html @@ -140,7 +140,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a7031e759ee52d1283aada0ff81108a5e.html b/classnlohmann_1_1basic__json_1_1iterator_a7031e759ee52d1283aada0ff81108a5e.html index f81a3ab4f..67e25c6f5 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a7031e759ee52d1283aada0ff81108a5e.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a7031e759ee52d1283aada0ff81108a5e.html @@ -140,7 +140,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a94285e2ade0bfef829b81377bbbca6cf.html b/classnlohmann_1_1basic__json_1_1iterator_a94285e2ade0bfef829b81377bbbca6cf.html index 0fa49acdf..7c56c33d4 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a94285e2ade0bfef829b81377bbbca6cf.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a94285e2ade0bfef829b81377bbbca6cf.html @@ -140,7 +140,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a9fcfda575b08d0c73b6274cdbbe7f184.html b/classnlohmann_1_1basic__json_1_1iterator_a9fcfda575b08d0c73b6274cdbbe7f184.html index 80e53c1dd..7eb5f77f2 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a9fcfda575b08d0c73b6274cdbbe7f184.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a9fcfda575b08d0c73b6274cdbbe7f184.html @@ -140,7 +140,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_aa2bd10afdcfc70acb8eaabbd2f6496f0.html b/classnlohmann_1_1basic__json_1_1iterator_aa2bd10afdcfc70acb8eaabbd2f6496f0.html index 418b68fe1..abd9d88e0 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_aa2bd10afdcfc70acb8eaabbd2f6496f0.html +++ b/classnlohmann_1_1basic__json_1_1iterator_aa2bd10afdcfc70acb8eaabbd2f6496f0.html @@ -128,7 +128,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_ab220a0cc3fe410fbae4524208bd5834f.html b/classnlohmann_1_1basic__json_1_1iterator_ab220a0cc3fe410fbae4524208bd5834f.html index 837cb3f0e..321e0eb58 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_ab220a0cc3fe410fbae4524208bd5834f.html +++ b/classnlohmann_1_1basic__json_1_1iterator_ab220a0cc3fe410fbae4524208bd5834f.html @@ -140,7 +140,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_ab5cf753cb2f8ce53b9f3e54c39e50ee3.html b/classnlohmann_1_1basic__json_1_1iterator_ab5cf753cb2f8ce53b9f3e54c39e50ee3.html index c6bb29407..c636c2613 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_ab5cf753cb2f8ce53b9f3e54c39e50ee3.html +++ b/classnlohmann_1_1basic__json_1_1iterator_ab5cf753cb2f8ce53b9f3e54c39e50ee3.html @@ -140,7 +140,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_abaebf4e21956dd20d9f862fa5647d32d.html b/classnlohmann_1_1basic__json_1_1iterator_abaebf4e21956dd20d9f862fa5647d32d.html index b48297a09..bfdb4c16f 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_abaebf4e21956dd20d9f862fa5647d32d.html +++ b/classnlohmann_1_1basic__json_1_1iterator_abaebf4e21956dd20d9f862fa5647d32d.html @@ -128,7 +128,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_af64127418c567660d92b1afdfe9676db.html b/classnlohmann_1_1basic__json_1_1iterator_af64127418c567660d92b1afdfe9676db.html index e93f7ec67..31d65259e 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_af64127418c567660d92b1afdfe9676db.html +++ b/classnlohmann_1_1basic__json_1_1iterator_af64127418c567660d92b1afdfe9676db.html @@ -139,7 +139,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_afe65b5a0572c7bfdd7ccc942bb8e9fe2.html b/classnlohmann_1_1basic__json_1_1iterator_afe65b5a0572c7bfdd7ccc942bb8e9fe2.html index f9c852baa..c8db6efa8 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_afe65b5a0572c7bfdd7ccc942bb8e9fe2.html +++ b/classnlohmann_1_1basic__json_1_1iterator_afe65b5a0572c7bfdd7ccc942bb8e9fe2.html @@ -128,7 +128,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator-members.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator-members.html index 1ededb354..b804a33ac 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator-members.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator-members.html @@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator.html index cafb9ed1b..7dd1d9c1d 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator.html @@ -171,7 +171,7 @@ class nlohmann::basic_json::json_reverse_iterator< Base > diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a03e542423284327d3801cf078f1c2b44.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a03e542423284327d3801cf078f1c2b44.html index 511f8e7f7..6a865a347 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a03e542423284327d3801cf078f1c2b44.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a03e542423284327d3801cf078f1c2b44.html @@ -137,7 +137,7 @@ template<typename Base > diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a0b494ef7570d031216f907d2c85ec323.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a0b494ef7570d031216f907d2c85ec323.html index a0a0c25c6..6bd167b47 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a0b494ef7570d031216f907d2c85ec323.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a0b494ef7570d031216f907d2c85ec323.html @@ -137,7 +137,7 @@ template<typename Base > diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a15e9cf4c5a43238e82ab69c4a295c491.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a15e9cf4c5a43238e82ab69c4a295c491.html index 91dd5caf8..8e6fafcc7 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a15e9cf4c5a43238e82ab69c4a295c491.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a15e9cf4c5a43238e82ab69c4a295c491.html @@ -136,7 +136,7 @@ template<typename Base > diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a1c84e6d1f047ab4105fa665f455158a7.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a1c84e6d1f047ab4105fa665f455158a7.html index a93e26906..f06c3f6c5 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a1c84e6d1f047ab4105fa665f455158a7.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a1c84e6d1f047ab4105fa665f455158a7.html @@ -137,7 +137,7 @@ template<typename Base > diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a2a1dc92fbec862883c8b89755c787c99.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a2a1dc92fbec862883c8b89755c787c99.html index 4e5194882..c3d0174b2 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a2a1dc92fbec862883c8b89755c787c99.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a2a1dc92fbec862883c8b89755c787c99.html @@ -137,7 +137,7 @@ template<typename Base > diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a5ee9ec91a6ddcd8d72278d681361626f.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a5ee9ec91a6ddcd8d72278d681361626f.html index 6a0cd7b74..397096924 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a5ee9ec91a6ddcd8d72278d681361626f.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a5ee9ec91a6ddcd8d72278d681361626f.html @@ -125,7 +125,7 @@ template<typename Base > diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a61d31531e0dfc5448e7fa15678b05bbe.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a61d31531e0dfc5448e7fa15678b05bbe.html index 8d1b01526..0b512ec6c 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a61d31531e0dfc5448e7fa15678b05bbe.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a61d31531e0dfc5448e7fa15678b05bbe.html @@ -136,7 +136,7 @@ template<typename Base > diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a6bd38ed124df0332ba3263a9176b0101.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a6bd38ed124df0332ba3263a9176b0101.html index 06691e5ba..d686bc275 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a6bd38ed124df0332ba3263a9176b0101.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a6bd38ed124df0332ba3263a9176b0101.html @@ -137,7 +137,7 @@ template<typename Base > diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a70086e392779ecbbc9e6845b2be126a0.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a70086e392779ecbbc9e6845b2be126a0.html index 9ab794994..0cd48f66d 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a70086e392779ecbbc9e6845b2be126a0.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a70086e392779ecbbc9e6845b2be126a0.html @@ -137,7 +137,7 @@ template<typename Base > diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_aa82b48aee07baee284f8340b37ec6864.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_aa82b48aee07baee284f8340b37ec6864.html index a2b98c460..6b15747b4 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_aa82b48aee07baee284f8340b37ec6864.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_aa82b48aee07baee284f8340b37ec6864.html @@ -137,7 +137,7 @@ template<typename Base > diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ab6245ab29d8481ef2a2351c02cc31d4d.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ab6245ab29d8481ef2a2351c02cc31d4d.html index ba2aba8f2..48810fdf1 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ab6245ab29d8481ef2a2351c02cc31d4d.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ab6245ab29d8481ef2a2351c02cc31d4d.html @@ -125,7 +125,7 @@ template<typename Base > diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ac427d8f61858c13b7c16649bfbf75e76.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ac427d8f61858c13b7c16649bfbf75e76.html index 0ddf08a6c..7c80cd23f 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ac427d8f61858c13b7c16649bfbf75e76.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ac427d8f61858c13b7c16649bfbf75e76.html @@ -137,7 +137,7 @@ template<typename Base > diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ad3d6837b6f97065625c6c65f62f4b6d4.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ad3d6837b6f97065625c6c65f62f4b6d4.html index 9c5b1b78e..6f3dab4fa 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ad3d6837b6f97065625c6c65f62f4b6d4.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ad3d6837b6f97065625c6c65f62f4b6d4.html @@ -136,7 +136,7 @@ template<typename Base > diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ae988bd36b7d098b1157871f83b2d6265.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ae988bd36b7d098b1157871f83b2d6265.html index 6e3a42d76..eec49d9d5 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ae988bd36b7d098b1157871f83b2d6265.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ae988bd36b7d098b1157871f83b2d6265.html @@ -137,7 +137,7 @@ template<typename Base > diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_af972fce017b24906236ab235857a11a8.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_af972fce017b24906236ab235857a11a8.html index a05addffd..87e0f8f2e 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_af972fce017b24906236ab235857a11a8.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_af972fce017b24906236ab235857a11a8.html @@ -136,7 +136,7 @@ template<typename Base > diff --git a/classnlohmann_1_1basic__json_a01a2643289b69cd71d9b3f3fc209b748.html b/classnlohmann_1_1basic__json_a01a2643289b69cd71d9b3f3fc209b748.html index 8f3fb3359..9102578ef 100644 --- a/classnlohmann_1_1basic__json_a01a2643289b69cd71d9b3f3fc209b748.html +++ b/classnlohmann_1_1basic__json_a01a2643289b69cd71d9b3f3fc209b748.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -273,9 +273,9 @@ template<template< typename U, typename V, typename...Args > class Obje
16  std::cout << "number of elements with key \"two\": " << count_two << '\n';
17  std::cout << "number of elements with key \"three\": " << count_three << '\n';
18 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
size_type count(typename object_t::key_type key) const
returns the number of occurrences of a key in a JSON object
Definition: json.hpp:3193
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
size_type count(typename object_t::key_type key) const
returns the number of occurrences of a key in a JSON object
Definition: json.hpp:3278
Output (play with this example online):
number of elements with key "two": 1
 number of elements with key "three": 0
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/count.cpp -o count 
@@ -288,7 +288,7 @@ number of elements with key "three": 0 diff --git a/classnlohmann_1_1basic__json_a034bccea9f5400650443e9f12e67b079.html b/classnlohmann_1_1basic__json_a034bccea9f5400650443e9f12e67b079.html index e8d4843c3..1f23c1b04 100644 --- a/classnlohmann_1_1basic__json_a034bccea9f5400650443e9f12e67b079.html +++ b/classnlohmann_1_1basic__json_a034bccea9f5400650443e9f12e67b079.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -287,13 +287,14 @@ In case the parameter value is not a number, a JSON null value is creat
19  std::cout << j_nan << '\n';
20  std::cout << j23 << '\n';
21 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
42.2299995422363
 null
 23.42
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__CompatibleNumberFloatType.cpp -o basic_json__CompatibleNumberFloatType 
-
See also
basic_json(const number_float_t)
+
See also
basic_json(const number_float_t) – create a number value (floating-point)
+
Since
version 1.0
@@ -303,7 +304,7 @@ null diff --git a/classnlohmann_1_1basic__json_a088460b5d95f384a4f2ec9e52f4f66ba.html b/classnlohmann_1_1basic__json_a088460b5d95f384a4f2ec9e52f4f66ba.html index 1d9283268..87e170870 100644 --- a/classnlohmann_1_1basic__json_a088460b5d95f384a4f2ec9e52f4f66ba.html +++ b/classnlohmann_1_1basic__json_a088460b5d95f384a4f2ec9e52f4f66ba.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -273,9 +273,9 @@ template<template< typename U, typename V, typename...Args > class Obje
23  std::cout << j_array.is_string() << '\n';
24  std::cout << j_string.is_string() << '\n';
25 }
-
a class to store JSON values
Definition: json.hpp:200
-
bool is_string() const noexcept
return whether value is a string
Definition: json.hpp:1955
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
bool is_string() const noexcept
return whether value is a string
Definition: json.hpp:2040
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
false
 false
 false
@@ -293,7 +293,7 @@ true
 
 
 
diff --git a/classnlohmann_1_1basic__json_a0a7560122349628cf4942a316aa6d21f.html b/classnlohmann_1_1basic__json_a0a7560122349628cf4942a316aa6d21f.html
index 6dac4b119..e094eb2ae 100644
--- a/classnlohmann_1_1basic__json_a0a7560122349628cf4942a316aa6d21f.html
+++ b/classnlohmann_1_1basic__json_a0a7560122349628cf4942a316aa6d21f.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -284,9 +284,9 @@ template<template< typename U, typename V, typename...Args > class Obje
 
22  std::cout << array << '\n';
23  std::cout << null << '\n';
24 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3685
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3770
Output (play with this example online):
[1,2,3,4,5]
 null
 [1,2,3,4,5,6,7]
@@ -301,7 +301,7 @@ null
 
 
 
diff --git a/classnlohmann_1_1basic__json_a0a9c6a1fccc4db365860463e8203eb38.html b/classnlohmann_1_1basic__json_a0a9c6a1fccc4db365860463e8203eb38.html
index 097830f49..3d60d4b45 100644
--- a/classnlohmann_1_1basic__json_a0a9c6a1fccc4db365860463e8203eb38.html
+++ b/classnlohmann_1_1basic__json_a0a9c6a1fccc4db365860463e8203eb38.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -275,12 +275,13 @@ template<template< typename U, typename V, typename...Args > class Obje
 
13  // serialize the JSON object
14  std::cout << j << '\n';
15 }
-
a class to store JSON values
Definition: json.hpp:200
-
ObjectType< StringType, basic_json, std::less< StringType >, AllocatorType< std::pair< const StringType, basic_json >>> object_t
a type for an object
Definition: json.hpp:345
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
ObjectType< StringType, basic_json, std::less< StringType >, AllocatorType< std::pair< const StringType, basic_json >>> object_t
a type for an object
Definition: json.hpp:328
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
{"one":1,"two":2}
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__object_t.cpp -o basic_json__object_t 
-
See also
basic_json(const CompatibleObjectType&)
+
See also
basic_json(const CompatibleObjectType&) – create an object value from a compatible STL container
+
Since
version 1.0
@@ -290,7 +291,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a0bb6ea56c89560cce8003485bffe49d4.html b/classnlohmann_1_1basic__json_a0bb6ea56c89560cce8003485bffe49d4.html index 18bf4ee34..7743bc921 100644 --- a/classnlohmann_1_1basic__json_a0bb6ea56c89560cce8003485bffe49d4.html +++ b/classnlohmann_1_1basic__json_a0bb6ea56c89560cce8003485bffe49d4.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -289,15 +289,18 @@ template<typename CompatibleNumberIntegerType , typename std::enable_if<
25  std::cout << j17 << '\n';
26  std::cout << j8 << '\n';
27 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
42
 23
 1024
 17
 8
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__CompatibleIntegerNumberType.cpp -o basic_json__CompatibleIntegerNumberType 
-
See also
basic_json(const number_integer_t)
+
See also
basic_json(const number_integer_t) – create a number value (integer)
+
+basic_json(const int) – create a number value (integer)
+
Since
version 1.0
@@ -307,7 +310,7 @@ template<typename CompatibleNumberIntegerType , typename std::enable_if< diff --git a/classnlohmann_1_1basic__json_a0e372f4c5a90c6be7242a2d7a3709b48.html b/classnlohmann_1_1basic__json_a0e372f4c5a90c6be7242a2d7a3709b48.html index 7bc79ea8b..0661143bd 100644 --- a/classnlohmann_1_1basic__json_a0e372f4c5a90c6be7242a2d7a3709b48.html +++ b/classnlohmann_1_1basic__json_a0e372f4c5a90c6be7242a2d7a3709b48.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -284,9 +284,9 @@ template<template< typename U, typename V, typename...Args > class Obje
22  std::cout << object << '\n';
23  std::cout << null << '\n';
24 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3685
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3770
Output (play with this example online):
{"one":1,"two":2}
 null
 {"four":4,"one":1,"three":3,"two":2}
@@ -301,7 +301,7 @@ null
 
 
 
diff --git a/classnlohmann_1_1basic__json_a114095c452ca2f4ba976548df3da68be.html b/classnlohmann_1_1basic__json_a114095c452ca2f4ba976548df3da68be.html
index 7533876ca..6b8739935 100644
--- a/classnlohmann_1_1basic__json_a114095c452ca2f4ba976548df3da68be.html
+++ b/classnlohmann_1_1basic__json_a114095c452ca2f4ba976548df3da68be.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -273,9 +273,9 @@ template<template< typename U, typename V, typename...Args > class Obje
 
23  std::cout << j_array.is_null() << '\n';
24  std::cout << j_string.is_null() << '\n';
25 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
bool is_null() const noexcept
return whether value is null
Definition: json.hpp:1833
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
bool is_null() const noexcept
return whether value is null
Definition: json.hpp:1918
Output (play with this example online):
true
 false
 false
@@ -293,7 +293,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_a11c3dd843c21c58daa651e84046a82af.html b/classnlohmann_1_1basic__json_a11c3dd843c21c58daa651e84046a82af.html
index 0376a9611..dc36acf05 100644
--- a/classnlohmann_1_1basic__json_a11c3dd843c21c58daa651e84046a82af.html
+++ b/classnlohmann_1_1basic__json_a11c3dd843c21c58daa651e84046a82af.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -273,9 +273,9 @@ template<template< typename U, typename V, typename...Args > class Obje
 
23  std::cout << j_array.is_array() << '\n';
24  std::cout << j_string.is_array() << '\n';
25 }
-
bool is_array() const noexcept
return whether value is an array
Definition: json.hpp:1938
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
bool is_array() const noexcept
return whether value is an array
Definition: json.hpp:2023
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
false
 false
 false
@@ -293,7 +293,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_a122640e7e2db1814fc7bbb3c122ec76e.html b/classnlohmann_1_1basic__json_a122640e7e2db1814fc7bbb3c122ec76e.html
index 86719866c..b91df10f4 100644
--- a/classnlohmann_1_1basic__json_a122640e7e2db1814fc7bbb3c122ec76e.html
+++ b/classnlohmann_1_1basic__json_a122640e7e2db1814fc7bbb3c122ec76e.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -293,8 +293,8 @@ template<template< typename U, typename V, typename...Args > class Obje
 
21  std::cout << number_1 << " == " << number_2 << " " << (number_1 == number_2) << '\n';
22  std::cout << string_1 << " == " << string_2 << " " << (string_1 == string_2) << '\n';
23 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
[1,2,3] == [1,2,4] false
 {"A":"a","B":"b"} == {"A":"a","B":"b"} true
 17 == 17 true
@@ -309,7 +309,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a13e5642dbfa1602c937d295a085413cc.html b/classnlohmann_1_1basic__json_a13e5642dbfa1602c937d295a085413cc.html
index aa60f1c9f..3b762e08c 100644
--- a/classnlohmann_1_1basic__json_a13e5642dbfa1602c937d295a085413cc.html
+++ b/classnlohmann_1_1basic__json_a13e5642dbfa1602c937d295a085413cc.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -243,7 +243,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a15e468968cd4d0e4fd566044d66ada24.html b/classnlohmann_1_1basic__json_a15e468968cd4d0e4fd566044d66ada24.html
index d8781fc23..e5d27a0e0 100644
--- a/classnlohmann_1_1basic__json_a15e468968cd4d0e4fd566044d66ada24.html
+++ b/classnlohmann_1_1basic__json_a15e468968cd4d0e4fd566044d66ada24.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -275,14 +275,15 @@ template<template< typename U, typename V, typename...Args > class Obje
 
13  // serialize the JSON array
14  std::cout << j << '\n';
15 }
-
StringType string_t
a type for a string
Definition: json.hpp:428
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
StringType string_t
a type for a string
Definition: json.hpp:417
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
"The quick brown fox jumps over the lazy doc"
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__string_t.cpp -o basic_json__string_t 
-
See also
basic_json(const typename string_t::value_type*)
+
See also
basic_json(const typename string_t::value_type*) – create a string value from a character pointer
-basic_json(const CompatibleStringType&)
+basic_json(const CompatibleStringType&) – create a string value from a compatible string container
+
Since
version 1.0
@@ -292,7 +293,7 @@ basic_json(const CompatibleStringType&) diff --git a/classnlohmann_1_1basic__json_a1683189bd539313b5559f07961166c8b.html b/classnlohmann_1_1basic__json_a1683189bd539313b5559f07961166c8b.html index 15b1944b4..ef3e0d1e6 100644 --- a/classnlohmann_1_1basic__json_a1683189bd539313b5559f07961166c8b.html +++ b/classnlohmann_1_1basic__json_a1683189bd539313b5559f07961166c8b.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -243,7 +243,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a16a275d0201e9aedc87c933c764b8869.html b/classnlohmann_1_1basic__json_a16a275d0201e9aedc87c933c764b8869.html index 0c187034c..d3a9c0687 100644 --- a/classnlohmann_1_1basic__json_a16a275d0201e9aedc87c933c764b8869.html +++ b/classnlohmann_1_1basic__json_a16a275d0201e9aedc87c933c764b8869.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -289,9 +289,9 @@ template<template< typename U, typename V, typename...Args > class Obje
25  std::cout << "out of range" << '\n';
26  }
27 }
-
a class to store JSON values
Definition: json.hpp:200
-
reference at(size_type idx)
access specified array element with bounds checking
Definition: json.hpp:2454
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
reference at(size_type idx)
access specified array element with bounds checking
Definition: json.hpp:2539
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
"il brutto"
 out of range
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/at__object_t_key_type_const.cpp -o at__object_t_key_type_const 
@@ -307,7 +307,7 @@ out of range diff --git a/classnlohmann_1_1basic__json_a190d719446e7016879c4b961c9cf9072.html b/classnlohmann_1_1basic__json_a190d719446e7016879c4b961c9cf9072.html index 88123d010..542743ba8 100644 --- a/classnlohmann_1_1basic__json_a190d719446e7016879c4b961c9cf9072.html +++ b/classnlohmann_1_1basic__json_a190d719446e7016879c4b961c9cf9072.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -277,12 +277,15 @@ template<typename T , typename std::enable_if<
12  // serialize the JSON numbers
13  std::cout << j << '\n';
14 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
NumberIntegerType number_integer_t
a type for a number (integer)
Definition: json.hpp:516
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
NumberIntegerType number_integer_t
a type for a number (integer)
Definition: json.hpp:511
Output (play with this example online):
42
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__number_integer_t.cpp -o basic_json__number_integer_t 
-
See also
basic_json(const int)
+
See also
basic_json(const int) – create a number value (integer)
+
+basic_json(const CompatibleNumberIntegerType) – create a number value (integer) from a compatible number type
+
Since
version 1.0
@@ -292,7 +295,7 @@ template<typename T , typename std::enable_if< diff --git a/classnlohmann_1_1basic__json_a231b02148577b69a154b2ce2c87a5522.html b/classnlohmann_1_1basic__json_a231b02148577b69a154b2ce2c87a5522.html index a82efcb07..16cf7b5cd 100644 --- a/classnlohmann_1_1basic__json_a231b02148577b69a154b2ce2c87a5522.html +++ b/classnlohmann_1_1basic__json_a231b02148577b69a154b2ce2c87a5522.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -242,7 +242,8 @@ template<template< typename U, typename V, typename...Args > class Obje
-

This enumeration collects the different JSON types. It is internally used to distinguish the stored values, and the functions is_null, is_object, is_array, is_string, is_boolean, is_number, and is_discarded rely on it.

+

This enumeration collects the different JSON types. It is internally used to distinguish the stored values, and the functions is_null(), is_object(), is_array(), is_string(), is_boolean(), is_number(), and is_discarded() rely on it.

+
Since
version 1.0
- + @@ -277,11 +277,11 @@ template<typename PointerType , typename std::enable_if<
18  std::cout << *p1 << ' ' << *p2 << ' ' << *p3 << ' ' << *p4 << '\n';
19  std::cout << std::boolalpha << (p5 == nullptr) << '\n';
20 }
-
a class to store JSON values
Definition: json.hpp:200
-
ValueType value(const typename object_t::key_type &key, ValueType default_value) const
access specified object element with default value
Definition: json.hpp:2787
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
PointerType get_ptr() noexcept
get a pointer value (implicit)
Definition: json.hpp:2370
-
NumberIntegerType number_integer_t
a type for a number (integer)
Definition: json.hpp:516
+
a class to store JSON values
Definition: json.hpp:181
+
ValueType value(const typename object_t::key_type &key, ValueType default_value) const
access specified object element with default value
Definition: json.hpp:2872
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
PointerType get_ptr() noexcept
get a pointer value (implicit)
Definition: json.hpp:2455
+
NumberIntegerType number_integer_t
a type for a number (integer)
Definition: json.hpp:511
NumberFloatType number_float_t
a type for a number (floating-point)
Definition: json.hpp:576
Output (play with this example online):
17 17 17 17
 true
@@ -295,7 +295,7 @@ true
 
 
 
diff --git a/classnlohmann_1_1basic__json_a2448b2777e8a3e48614e1b3c41b96f7c.html b/classnlohmann_1_1basic__json_a2448b2777e8a3e48614e1b3c41b96f7c.html
index ca61f7b31..b8b3366c4 100644
--- a/classnlohmann_1_1basic__json_a2448b2777e8a3e48614e1b3c41b96f7c.html
+++ b/classnlohmann_1_1basic__json_a2448b2777e8a3e48614e1b3c41b96f7c.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           
- + @@ -272,13 +272,14 @@ template<template< typename U, typename V, typename...Args > class Obje
10  // serialize the JSON array
11  std::cout << j << '\n';
12 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
"The quick brown fox jumps over the lazy doc"
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__string_t_value_type.cpp -o basic_json__string_t_value_type 
-
See also
basic_json(const string_t&)
+
See also
basic_json(const string_t&) – create a string value
-basic_json(const CompatibleStringType&)
+basic_json(const CompatibleStringType&) – create a string value from a compatible string container
+
Since
version 1.0
@@ -288,7 +289,7 @@ basic_json(const CompatibleStringType&) diff --git a/classnlohmann_1_1basic__json_a266c4dd24d11a86e4831523af5d9df4d.html b/classnlohmann_1_1basic__json_a266c4dd24d11a86e4831523af5d9df4d.html index 7a88b49fc..afafa99fc 100644 --- a/classnlohmann_1_1basic__json_a266c4dd24d11a86e4831523af5d9df4d.html +++ b/classnlohmann_1_1basic__json_a266c4dd24d11a86e4831523af5d9df4d.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - + @@ -296,8 +296,8 @@ This function is required for compatibility reasons with Clang.
28  // output changed object
29  std::cout << std::setw(4) << object << '\n';
30 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
2
 
 {
@@ -330,7 +330,7 @@ This function is required for compatibility reasons with Clang.
 
 
 
diff --git a/classnlohmann_1_1basic__json_a26b7e4876af25eae5800ce43f93aaef2.html b/classnlohmann_1_1basic__json_a26b7e4876af25eae5800ce43f93aaef2.html
index 60fe6dfea..5fb519874 100644
--- a/classnlohmann_1_1basic__json_a26b7e4876af25eae5800ce43f93aaef2.html
+++ b/classnlohmann_1_1basic__json_a26b7e4876af25eae5800ce43f93aaef2.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           
- + @@ -317,9 +317,9 @@ Unlike 27  std::cout << std::boolalpha << v_integer << " " << v_floating
28  << " " << v_string << " " << v_boolean << "\n";
29 }
-
a class to store JSON values
Definition: json.hpp:200
-
ValueType value(const typename object_t::key_type &key, ValueType default_value) const
access specified object element with default value
Definition: json.hpp:2787
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
ValueType value(const typename object_t::key_type &key, ValueType default_value) const
access specified object element with default value
Definition: json.hpp:2872
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
1 42.23 oops false
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__value.cpp -o basic_json__value 
See also
at(const typename object_t::key_type&) for access by reference with range checking
@@ -334,7 +334,7 @@ Unlike diff --git a/classnlohmann_1_1basic__json_a2adfc8d24bea3908398cbf325b5dc1d7.html b/classnlohmann_1_1basic__json_a2adfc8d24bea3908398cbf325b5dc1d7.html index c04864061..19606a67b 100644 --- a/classnlohmann_1_1basic__json_a2adfc8d24bea3908398cbf325b5dc1d7.html +++ b/classnlohmann_1_1basic__json_a2adfc8d24bea3908398cbf325b5dc1d7.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
- + @@ -271,10 +271,10 @@ Illustration from cppreference.com
13  // serialize the element that the iterator points to
14  std::cout << *it << '\n';
15 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
const_reverse_iterator crbegin() const
returns a const reverse iterator to the last element
Definition: json.hpp:3392
-
a template for a reverse iterator class
Definition: json.hpp:245
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
const_reverse_iterator crbegin() const
returns a const reverse iterator to the last element
Definition: json.hpp:3477
+
a template for a reverse iterator class
Definition: json.hpp:226
Output (play with this example online):
5
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/crbegin.cpp -o crbegin 
@@ -286,7 +286,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a3287df6546c905fb0a5786deb4b1cf32.html b/classnlohmann_1_1basic__json_a3287df6546c905fb0a5786deb4b1cf32.html index 421626d52..5faca235b 100644 --- a/classnlohmann_1_1basic__json_a3287df6546c905fb0a5786deb4b1cf32.html +++ b/classnlohmann_1_1basic__json_a3287df6546c905fb0a5786deb4b1cf32.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - + @@ -298,11 +298,11 @@ template<template< typename U, typename V, typename...Args > class Obje
27  std::cout << j_array_empty.empty() << '\n';
28  std::cout << j_string.empty() << '\n';
29 }
-
a class to store JSON values
Definition: json.hpp:200
+
a class to store JSON values
Definition: json.hpp:181
object (unordered set of name/value pairs)
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
namespace for Niels Lohmann
Definition: json.hpp:77
array (ordered collection of values)
-
bool empty() const noexcept
checks whether the container is empty
Definition: json.hpp:3455
+
bool empty() const noexcept
checks whether the container is empty
Definition: json.hpp:3540
Output (play with this example online):
true
 false
 false
@@ -322,7 +322,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_a33f1632cfdbf460b4913f4e8a43dd9e4.html b/classnlohmann_1_1basic__json_a33f1632cfdbf460b4913f4e8a43dd9e4.html
index b6c0dd8ec..2d2c6a9fb 100644
--- a/classnlohmann_1_1basic__json_a33f1632cfdbf460b4913f4e8a43dd9e4.html
+++ b/classnlohmann_1_1basic__json_a33f1632cfdbf460b4913f4e8a43dd9e4.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           
- + @@ -271,11 +271,12 @@ template<template< typename U, typename V, typename...Args > class Obje
14  std::cout << a << '\n';
15  std::cout << b << '\n';
16 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
null
 23
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__moveconstructor.cpp -o basic_json__moveconstructor 
+ The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__moveconstructor.cpp -o basic_json__moveconstructor 
+
Since
version 1.0
@@ -285,7 +286,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a34d6a60dd99e9f33b8273a1c8db5669b.html b/classnlohmann_1_1basic__json_a34d6a60dd99e9f33b8273a1c8db5669b.html index edb8b1d82..64bb84741 100644 --- a/classnlohmann_1_1basic__json_a34d6a60dd99e9f33b8273a1c8db5669b.html +++ b/classnlohmann_1_1basic__json_a34d6a60dd99e9f33b8273a1c8db5669b.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - + @@ -284,8 +284,8 @@ template<template< typename U, typename V, typename...Args > class Obje
16  std::cout << std::setw(4) << j_object << "\n\n";
17  std::cout << std::setw(2) << j_array << "\n\n";
18 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
{"one":1,"two":2}
 
 [1,2,4,8,16]
@@ -313,7 +313,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a429c2606865483ff357cccc1b1c46569.html b/classnlohmann_1_1basic__json_a429c2606865483ff357cccc1b1c46569.html
index a892d199d..dac758d6b 100644
--- a/classnlohmann_1_1basic__json_a429c2606865483ff357cccc1b1c46569.html
+++ b/classnlohmann_1_1basic__json_a429c2606865483ff357cccc1b1c46569.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           
- + @@ -284,9 +284,9 @@ template<template< typename U, typename V, typename...Args > class Obje
22  std::cout << array << '\n';
23  std::cout << null << '\n';
24 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3685
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3770
Output (play with this example online):
[1,2,3,4,5]
 null
 [1,2,3,4,5,6,7]
@@ -301,7 +301,7 @@ null
 
 
 
diff --git a/classnlohmann_1_1basic__json_a42f9133f978dde4cce5851b2c2434a0c.html b/classnlohmann_1_1basic__json_a42f9133f978dde4cce5851b2c2434a0c.html
index d3aee060b..d263800ae 100644
--- a/classnlohmann_1_1basic__json_a42f9133f978dde4cce5851b2c2434a0c.html
+++ b/classnlohmann_1_1basic__json_a42f9133f978dde4cce5851b2c2434a0c.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           
- + @@ -273,10 +273,10 @@ template<template< typename U, typename V, typename...Args > class Obje
23  std::cout << (j_array.type() == json::value_t::array) << '\n';
24  std::cout << (j_string.type() == json::value_t::string) << '\n';
25 }
-
a class to store JSON values
Definition: json.hpp:200
+
a class to store JSON values
Definition: json.hpp:181
object (unordered set of name/value pairs)
-
value_t type() const noexcept
return the type of the JSON value (explicit)
Definition: json.hpp:1779
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
value_t type() const noexcept
return the type of the JSON value (explicit)
Definition: json.hpp:1864
+
namespace for Niels Lohmann
Definition: json.hpp:77
array (ordered collection of values)
@@ -300,7 +300,7 @@ true diff --git a/classnlohmann_1_1basic__json_a4361aa791f3980abb239e4155a3450cb.html b/classnlohmann_1_1basic__json_a4361aa791f3980abb239e4155a3450cb.html index a269aef8c..8b8a5a3bb 100644 --- a/classnlohmann_1_1basic__json_a4361aa791f3980abb239e4155a3450cb.html +++ b/classnlohmann_1_1basic__json_a4361aa791f3980abb239e4155a3450cb.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - + @@ -272,10 +272,10 @@ Illustration from cppreference.com
13  // serialize the element that the iterator points to
14  std::cout << *it << '\n';
15 }
-
a class to store JSON values
Definition: json.hpp:200
-
const_iterator cbegin() const
returns a const iterator to the first element
Definition: json.hpp:3257
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
a const random access iterator for the basic_json class
Definition: json.hpp:5026
+
a class to store JSON values
Definition: json.hpp:181
+
const_iterator cbegin() const
returns a const iterator to the first element
Definition: json.hpp:3342
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
a const random access iterator for the basic_json class
Definition: json.hpp:5111
Output (play with this example online):
1
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/cbegin.cpp -o cbegin 
@@ -287,7 +287,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a4943b7f16ddc4e0df33c0cae7ef14471.html b/classnlohmann_1_1basic__json_a4943b7f16ddc4e0df33c0cae7ef14471.html index ec67cb1a3..9663417cc 100644 --- a/classnlohmann_1_1basic__json_a4943b7f16ddc4e0df33c0cae7ef14471.html +++ b/classnlohmann_1_1basic__json_a4943b7f16ddc4e0df33c0cae7ef14471.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - + @@ -274,10 +274,10 @@ Illustration from cppreference.com
16  // serialize the element that the iterator points to
17  std::cout << *it << '\n';
18 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
const_reverse_iterator crend() const
returns a const reverse iterator to one before the first
Definition: json.hpp:3413
-
a template for a reverse iterator class
Definition: json.hpp:245
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
const_reverse_iterator crend() const
returns a const reverse iterator to one before the first
Definition: json.hpp:3498
+
a template for a reverse iterator class
Definition: json.hpp:226
Output (play with this example online):
1
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/crend.cpp -o crend 
@@ -289,7 +289,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a4ad3f27ecece8f644e8dca69a97eb67f.html b/classnlohmann_1_1basic__json_a4ad3f27ecece8f644e8dca69a97eb67f.html index 1e41cd8af..9588b7f5c 100644 --- a/classnlohmann_1_1basic__json_a4ad3f27ecece8f644e8dca69a97eb67f.html +++ b/classnlohmann_1_1basic__json_a4ad3f27ecece8f644e8dca69a97eb67f.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - + @@ -274,10 +274,10 @@ Illustration from cppreference.com
16  // serialize the element that the iterator points to
17  std::cout << *it << '\n';
18 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
const_reverse_iterator crend() const
returns a const reverse iterator to one before the first
Definition: json.hpp:3413
-
a template for a reverse iterator class
Definition: json.hpp:245
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
const_reverse_iterator crend() const
returns a const reverse iterator to one before the first
Definition: json.hpp:3498
+
a template for a reverse iterator class
Definition: json.hpp:226
Output (play with this example online):
1
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/crend.cpp -o crend 
@@ -289,7 +289,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a4bf695ddf4a00ea8feea2c725ec847f1.html b/classnlohmann_1_1basic__json_a4bf695ddf4a00ea8feea2c725ec847f1.html index ba98066aa..cf418107c 100644 --- a/classnlohmann_1_1basic__json_a4bf695ddf4a00ea8feea2c725ec847f1.html +++ b/classnlohmann_1_1basic__json_a4bf695ddf4a00ea8feea2c725ec847f1.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - + @@ -279,10 +279,10 @@ template<template< typename U, typename V, typename...Args > class Obje
17  std::cout << "value = " << value << '\n';
18  std::cout << "object = " << object << '\n';
19 }
-
a class to store JSON values
Definition: json.hpp:200
-
ObjectType< StringType, basic_json, std::less< StringType >, AllocatorType< std::pair< const StringType, basic_json >>> object_t
a type for an object
Definition: json.hpp:345
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
void swap(reference other) noexcept( std::is_nothrow_move_constructible< value_t >::value and std::is_nothrow_move_assignable< value_t >::value and std::is_nothrow_move_constructible< json_value >::value and std::is_nothrow_move_assignable< json_value >::value )
exchanges the values
Definition: json.hpp:3996
+
a class to store JSON values
Definition: json.hpp:181
+
ObjectType< StringType, basic_json, std::less< StringType >, AllocatorType< std::pair< const StringType, basic_json >>> object_t
a type for an object
Definition: json.hpp:328
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
void swap(reference other) noexcept( std::is_nothrow_move_constructible< value_t >::value and std::is_nothrow_move_assignable< value_t >::value and std::is_nothrow_move_constructible< json_value >::value and std::is_nothrow_move_assignable< json_value >::value )
exchanges the values
Definition: json.hpp:4081
Output (play with this example online):
value = {"translation":{"cow":"Kuh","dog":"Hund"}}
 object = {"one":"eins","two":"zwei"}
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/swap__object_t.cpp -o swap__object_t 
@@ -295,7 +295,7 @@ object = {"one":"eins","two":"zwei"} diff --git a/classnlohmann_1_1basic__json_a4d688b5ff534d3ab4e284b3191061529.html b/classnlohmann_1_1basic__json_a4d688b5ff534d3ab4e284b3191061529.html index afce71970..947dc12be 100644 --- a/classnlohmann_1_1basic__json_a4d688b5ff534d3ab4e284b3191061529.html +++ b/classnlohmann_1_1basic__json_a4d688b5ff534d3ab4e284b3191061529.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - + @@ -271,10 +271,10 @@ Illustration from cppreference.com
13  // serialize the element that the iterator points to
14  std::cout << *it << '\n';
15 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
const_reverse_iterator crbegin() const
returns a const reverse iterator to the last element
Definition: json.hpp:3392
-
a template for a reverse iterator class
Definition: json.hpp:245
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
const_reverse_iterator crbegin() const
returns a const reverse iterator to the last element
Definition: json.hpp:3477
+
a template for a reverse iterator class
Definition: json.hpp:226
Output (play with this example online):
5
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/crbegin.cpp -o crbegin 
@@ -286,7 +286,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a53a2abfdd4f72c7df5aba1155bf03e48.html b/classnlohmann_1_1basic__json_a53a2abfdd4f72c7df5aba1155bf03e48.html index 3ee867312..cdd622330 100644 --- a/classnlohmann_1_1basic__json_a53a2abfdd4f72c7df5aba1155bf03e48.html +++ b/classnlohmann_1_1basic__json_a53a2abfdd4f72c7df5aba1155bf03e48.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - + @@ -245,7 +245,7 @@ template<template< typename U, typename V, typename...Args > class Obje
Enumerator
null 

null value

@@ -278,7 +279,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a234f03dce002783748ca401a42bc6472.html b/classnlohmann_1_1basic__json_a234f03dce002783748ca401a42bc6472.html index d521e9481..565fd654d 100644 --- a/classnlohmann_1_1basic__json_a234f03dce002783748ca401a42bc6472.html +++ b/classnlohmann_1_1basic__json_a234f03dce002783748ca401a42bc6472.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

This function returns true iff the JSON value was discarded during parsing with a callback function (see parser_callback_t).

+

This function returns true iff the JSON value was discarded during parsing with a callback function (see parser_callback_t).

Note
This function will always be false for JSON values after parsing. That is, discarded values can only occur during parsing, but will be removed when inside a structured value or replaced by null in other cases.
Returns
true if type is discarded, false otherwise.
Complexity
Constant.
@@ -274,9 +274,9 @@ template<template< typename U, typename V, typename...Args > class Obje
23  std::cout << j_array.is_discarded() << '\n';
24  std::cout << j_string.is_discarded() << '\n';
25 }
-
a class to store JSON values
Definition: json.hpp:200
-
bool is_discarded() const noexcept
return whether value is discarded
Definition: json.hpp:1977
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
bool is_discarded() const noexcept
return whether value is discarded
Definition: json.hpp:2062
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
false
 false
 false
@@ -294,7 +294,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_a55edaf09e1f7785463475f809d987cee.html b/classnlohmann_1_1basic__json_a55edaf09e1f7785463475f809d987cee.html
index 4155e793b..eae35cc3c 100644
--- a/classnlohmann_1_1basic__json_a55edaf09e1f7785463475f809d987cee.html
+++ b/classnlohmann_1_1basic__json_a55edaf09e1f7785463475f809d987cee.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -296,10 +296,10 @@ template<template< typename U, typename V, typename...Args > class Obje
 
14  std::cout << *new_pos << '\n';
15  std::cout << v << '\n';
16 }
-
a class to store JSON values
Definition: json.hpp:200
-
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3225
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
iterator insert(const_iterator pos, const basic_json &value)
inserts element
Definition: json.hpp:3814
+
a class to store JSON values
Definition: json.hpp:181
+
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3310
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
iterator insert(const_iterator pos, const basic_json &value)
inserts element
Definition: json.hpp:3899
Output (play with this example online):
7
 [1,2,7,7,7,7,7,7,7,3,4]
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/insert__count.cpp -o insert__count 
@@ -312,7 +312,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a57703688bee6b9736ab3a430d8d246f2.html b/classnlohmann_1_1basic__json_a57703688bee6b9736ab3a430d8d246f2.html index 6c7a65349..cebf82c1f 100644 --- a/classnlohmann_1_1basic__json_a57703688bee6b9736ab3a430d8d246f2.html +++ b/classnlohmann_1_1basic__json_a57703688bee6b9736ab3a430d8d246f2.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -286,8 +286,8 @@ template<template< typename U, typename V, typename...Args > class Obje
22  // output changed array
23  std::cout << array << '\n';
24 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
4
 [1,2,3,4,6]
 [1,2,3,4,6,null,null,null,null,null,11]
@@ -301,7 +301,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a57a96ab3ff1ce7b48a754129fb12c982.html b/classnlohmann_1_1basic__json_a57a96ab3ff1ce7b48a754129fb12c982.html
index 6d97069be..9e5fc832c 100644
--- a/classnlohmann_1_1basic__json_a57a96ab3ff1ce7b48a754129fb12c982.html
+++ b/classnlohmann_1_1basic__json_a57a96ab3ff1ce7b48a754129fb12c982.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -279,10 +279,10 @@ template<template< typename U, typename V, typename...Args > class Obje
 
17  std::cout << "value = " << value << '\n';
18  std::cout << "string = " << string << '\n';
19 }
-
StringType string_t
a type for a string
Definition: json.hpp:428
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
void swap(reference other) noexcept( std::is_nothrow_move_constructible< value_t >::value and std::is_nothrow_move_assignable< value_t >::value and std::is_nothrow_move_constructible< json_value >::value and std::is_nothrow_move_assignable< json_value >::value )
exchanges the values
Definition: json.hpp:3996
+
StringType string_t
a type for a string
Definition: json.hpp:417
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
void swap(reference other) noexcept( std::is_nothrow_move_constructible< value_t >::value and std::is_nothrow_move_assignable< value_t >::value and std::is_nothrow_move_constructible< json_value >::value and std::is_nothrow_move_assignable< json_value >::value )
exchanges the values
Definition: json.hpp:4081
Output (play with this example online):
value = ["the good","the fast","the ugly"]
 string = the bad
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/swap__string_t.cpp -o swap__string_t 
@@ -295,7 +295,7 @@ string = the bad diff --git a/classnlohmann_1_1basic__json_a5a2d4dbcdbc8ea065b87daf52cd786b9.html b/classnlohmann_1_1basic__json_a5a2d4dbcdbc8ea065b87daf52cd786b9.html index 01ad5de12..45578d327 100644 --- a/classnlohmann_1_1basic__json_a5a2d4dbcdbc8ea065b87daf52cd786b9.html +++ b/classnlohmann_1_1basic__json_a5a2d4dbcdbc8ea065b87daf52cd786b9.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -264,11 +264,12 @@ template<template< typename U, typename V, typename...Args > class Obje
10  // serialize the JSON null value
11  std::cout << j << '\n';
12 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
null
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json.cpp -o basic_json 
-
See also
basic_json(std::nullptr_t)
+
See also
basic_json(std::nullptr_t) – create a null value
+
Since
version 1.0
@@ -278,7 +279,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a5c8bb5200f5eac10d31e26be46e5b1ac.html b/classnlohmann_1_1basic__json_a5c8bb5200f5eac10d31e26be46e5b1ac.html index 894579569..f2debd1c3 100644 --- a/classnlohmann_1_1basic__json_a5c8bb5200f5eac10d31e26be46e5b1ac.html +++ b/classnlohmann_1_1basic__json_a5c8bb5200f5eac10d31e26be46e5b1ac.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -289,8 +289,8 @@ template<template< typename U, typename V, typename...Args > class Obje
21  std::cout << number_1 << " == " << number_2 << " " << (number_1 > number_2) << '\n';
22  std::cout << string_1 << " == " << string_2 << " " << (string_1 > string_2) << '\n';
23 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
[1,2,3] == [1,2,4] false
 {"A":"a","B":"b"} == {"A":"a","B":"b"} false
 17 == 17.0000000000001 false
@@ -305,7 +305,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a5d428360d75a52f6af74751d1cc912c6.html b/classnlohmann_1_1basic__json_a5d428360d75a52f6af74751d1cc912c6.html
index de990aadc..4c53e1259 100644
--- a/classnlohmann_1_1basic__json_a5d428360d75a52f6af74751d1cc912c6.html
+++ b/classnlohmann_1_1basic__json_a5d428360d75a52f6af74751d1cc912c6.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -282,11 +282,11 @@ template<template< typename U, typename V, typename...Args > class Obje
 
32  std::cout << (t_array == json::value_t::array) << '\n';
33  std::cout << (t_string == json::value_t::string) << '\n';
34 }
-
a class to store JSON values
Definition: json.hpp:200
+
a class to store JSON values
Definition: json.hpp:181
object (unordered set of name/value pairs)
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
namespace for Niels Lohmann
Definition: json.hpp:77
-
value_t
the JSON type enumeration
Definition: json.hpp:592
+
value_t
the JSON type enumeration
Definition: json.hpp:595
array (ordered collection of values)
number value (floating-point)
@@ -309,7 +309,7 @@ true diff --git a/classnlohmann_1_1basic__json_a5e34c5435e557d0bf666bd7311211405.html b/classnlohmann_1_1basic__json_a5e34c5435e557d0bf666bd7311211405.html index bae6c2ffd..f15211ecc 100644 --- a/classnlohmann_1_1basic__json_a5e34c5435e557d0bf666bd7311211405.html +++ b/classnlohmann_1_1basic__json_a5e34c5435e557d0bf666bd7311211405.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -284,8 +284,8 @@ template<template< typename U, typename V, typename...Args > class Obje
16  std::cout << std::setw(4) << j_object << "\n\n";
17  std::cout << std::setw(2) << j_array << "\n\n";
18 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
{"one":1,"two":2}
 
 [1,2,4,8,16]
@@ -313,7 +313,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a5f0aad50ed7e8aec3128fe018c18b3fe.html b/classnlohmann_1_1basic__json_a5f0aad50ed7e8aec3128fe018c18b3fe.html
index c17a53f00..9b94846a0 100644
--- a/classnlohmann_1_1basic__json_a5f0aad50ed7e8aec3128fe018c18b3fe.html
+++ b/classnlohmann_1_1basic__json_a5f0aad50ed7e8aec3128fe018c18b3fe.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -311,9 +311,9 @@ template<typename ValueType , typename std::enable_if<
 
47  std::cout << i.first << ": " << i.second << '\n';
48  }
49 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
ValueType get() const
get a value (explicit)
Definition: json.hpp:2289
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
ValueType get() const
get a value (explicit)
Definition: json.hpp:2374
Output (play with this example online):
1
 42 42
 17.23 17
@@ -338,7 +338,7 @@ array: [1,2,3,4,5]
 
 
 
diff --git a/classnlohmann_1_1basic__json_a5fd8b54389698edf0c08e2dd001f610b.html b/classnlohmann_1_1basic__json_a5fd8b54389698edf0c08e2dd001f610b.html
index c0036973f..9f396b77f 100644
--- a/classnlohmann_1_1basic__json_a5fd8b54389698edf0c08e2dd001f610b.html
+++ b/classnlohmann_1_1basic__json_a5fd8b54389698edf0c08e2dd001f610b.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -243,7 +243,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a60ca396028b8d9714c6e10efbf475af6.html b/classnlohmann_1_1basic__json_a60ca396028b8d9714c6e10efbf475af6.html
index 69a768f0b..11b11c58f 100644
--- a/classnlohmann_1_1basic__json_a60ca396028b8d9714c6e10efbf475af6.html
+++ b/classnlohmann_1_1basic__json_a60ca396028b8d9714c6e10efbf475af6.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -295,8 +295,8 @@ template<template< typename U, typename V, typename...Args > class Obje
 
21  // serialize JSON
22  std::cout << std::setw(2) << j << '\n';
23 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
{
   "array": [
     1,
@@ -321,7 +321,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a63691315292df8e1522b00d37ebb1ffc.html b/classnlohmann_1_1basic__json_a63691315292df8e1522b00d37ebb1ffc.html
index bee012113..53397f79a 100644
--- a/classnlohmann_1_1basic__json_a63691315292df8e1522b00d37ebb1ffc.html
+++ b/classnlohmann_1_1basic__json_a63691315292df8e1522b00d37ebb1ffc.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -260,8 +260,9 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 

In this class, the object's limit of nesting is not constraint explicitly. However, a maximum depth of nesting may be introduced by the compiler or runtime environment. A theoretical limit can be queried by calling the max_size function of a JSON object.

Storage

-

Objects are stored as pointers in a basic_json type. That is, for any access to object values, a pointer of type object_t* must be dereferenced.

-
See also
array_t
+

Objects are stored as pointers in a basic_json type. That is, for any access to object values, a pointer of type object_t* must be dereferenced.

+
See also
array_t – type for an array value
+
Since
version 1.0
@@ -271,7 +272,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a652414dd930cb3af3b6f454cc535a23e.html b/classnlohmann_1_1basic__json_a652414dd930cb3af3b6f454cc535a23e.html index 5e5f76145..9e445f344 100644 --- a/classnlohmann_1_1basic__json_a652414dd930cb3af3b6f454cc535a23e.html +++ b/classnlohmann_1_1basic__json_a652414dd930cb3af3b6f454cc535a23e.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -295,9 +295,9 @@ template<template< typename U, typename V, typename...Args > class Obje
31  std::cout << "out of range" << '\n';
32  }
33 }
-
a class to store JSON values
Definition: json.hpp:200
-
reference at(size_type idx)
access specified array element with bounds checking
Definition: json.hpp:2454
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
reference at(size_type idx)
access specified array element with bounds checking
Definition: json.hpp:2539
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
"il brutto"
 {"the bad":"il cattivo","the good":"il buono","the ugly":"il brutto"}
 out of range
@@ -314,7 +314,7 @@ out of range
 
 
 
diff --git a/classnlohmann_1_1basic__json_a656939a3dc9a6047e4afacd9e11b83a6.html b/classnlohmann_1_1basic__json_a656939a3dc9a6047e4afacd9e11b83a6.html
index 990fd9b7f..27b00227b 100644
--- a/classnlohmann_1_1basic__json_a656939a3dc9a6047e4afacd9e11b83a6.html
+++ b/classnlohmann_1_1basic__json_a656939a3dc9a6047e4afacd9e11b83a6.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -277,11 +277,11 @@ template<typename PointerType , typename std::enable_if<
 
18  std::cout << *p1 << ' ' << *p2 << ' ' << *p3 << ' ' << *p4 << '\n';
19  std::cout << std::boolalpha << (p5 == nullptr) << '\n';
20 }
-
a class to store JSON values
Definition: json.hpp:200
-
ValueType value(const typename object_t::key_type &key, ValueType default_value) const
access specified object element with default value
Definition: json.hpp:2787
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
PointerType get_ptr() noexcept
get a pointer value (implicit)
Definition: json.hpp:2370
-
NumberIntegerType number_integer_t
a type for a number (integer)
Definition: json.hpp:516
+
a class to store JSON values
Definition: json.hpp:181
+
ValueType value(const typename object_t::key_type &key, ValueType default_value) const
access specified object element with default value
Definition: json.hpp:2872
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
PointerType get_ptr() noexcept
get a pointer value (implicit)
Definition: json.hpp:2455
+
NumberIntegerType number_integer_t
a type for a number (integer)
Definition: json.hpp:511
NumberFloatType number_float_t
a type for a number (floating-point)
Definition: json.hpp:576
Output (play with this example online):
17 17 17 17
 true
@@ -295,7 +295,7 @@ true
 
 
 
diff --git a/classnlohmann_1_1basic__json_a6944904b3b59769b1cf62ac2532cbe33.html b/classnlohmann_1_1basic__json_a6944904b3b59769b1cf62ac2532cbe33.html
index 24be09b76..d4b920ca9 100644
--- a/classnlohmann_1_1basic__json_a6944904b3b59769b1cf62ac2532cbe33.html
+++ b/classnlohmann_1_1basic__json_a6944904b3b59769b1cf62ac2532cbe33.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -257,7 +257,9 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 

As this range is a subrange of the exactly supported range [INT64_MIN, INT64_MAX], this class's integer type is interoperable.

Storage

-

Integer number values are stored directly inside a basic_json type.

+

Integer number values are stored directly inside a basic_json type.

+
See also
number_float_t – type for number values (floating-point)
+
Since
version 1.0
@@ -267,7 +269,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a696ced74d8edc0b63a000a72907ab109.html b/classnlohmann_1_1basic__json_a696ced74d8edc0b63a000a72907ab109.html index dee615e90..c3d30e7e4 100644 --- a/classnlohmann_1_1basic__json_a696ced74d8edc0b63a000a72907ab109.html +++ b/classnlohmann_1_1basic__json_a696ced74d8edc0b63a000a72907ab109.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -273,9 +273,9 @@ template<template< typename U, typename V, typename...Args > class Obje
23  std::cout << j_array.is_number() << '\n';
24  std::cout << j_string.is_number() << '\n';
25 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
bool is_number() const noexcept
return whether value is a number
Definition: json.hpp:1868
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
bool is_number() const noexcept
return whether value is a number
Definition: json.hpp:1953
Output (play with this example online):
false
 false
 true
@@ -293,7 +293,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_a6a67c72ba65322bfcb28d170617dcdff.html b/classnlohmann_1_1basic__json_a6a67c72ba65322bfcb28d170617dcdff.html
index 88a08097e..ab1f81200 100644
--- a/classnlohmann_1_1basic__json_a6a67c72ba65322bfcb28d170617dcdff.html
+++ b/classnlohmann_1_1basic__json_a6a67c72ba65322bfcb28d170617dcdff.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -284,9 +284,9 @@ template<template< typename U, typename V, typename...Args > class Obje
 
22  std::cout << array << '\n';
23  std::cout << null << '\n';
24 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3685
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3770
Output (play with this example online):
[1,2,3,4,5]
 null
 [1,2,3,4,5,6,7]
@@ -301,7 +301,7 @@ null
 
 
 
diff --git a/classnlohmann_1_1basic__json_a6a7f45095675ac6fd1d018a0e41874be.html b/classnlohmann_1_1basic__json_a6a7f45095675ac6fd1d018a0e41874be.html
index e56c1a08d..37461f7de 100644
--- a/classnlohmann_1_1basic__json_a6a7f45095675ac6fd1d018a0e41874be.html
+++ b/classnlohmann_1_1basic__json_a6a7f45095675ac6fd1d018a0e41874be.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -307,15 +307,16 @@ template<class InputIT , typename std::enable_if<
 
19  std::cout << j_number_range << '\n';
20  std::cout << j_object_range << '\n';
21 }
-
a class to store JSON values
Definition: json.hpp:200
-
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3280
-
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3225
-
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:3149
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3365
+
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3310
+
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:3234
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
["bravo","charly"]
 42
 {"one":"eins"}
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__InputIt_InputIt.cpp -o basic_json__InputIt_InputIt 
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__InputIt_InputIt.cpp -o basic_json__InputIt_InputIt 
+
Since
version 1.0
@@ -325,7 +326,7 @@ template<class InputIT , typename std::enable_if< diff --git a/classnlohmann_1_1basic__json_a6bbd3e72a870f1ba81ff6886b063b0fe.html b/classnlohmann_1_1basic__json_a6bbd3e72a870f1ba81ff6886b063b0fe.html index dea2073fc..420aee5b2 100644 --- a/classnlohmann_1_1basic__json_a6bbd3e72a870f1ba81ff6886b063b0fe.html +++ b/classnlohmann_1_1basic__json_a6bbd3e72a870f1ba81ff6886b063b0fe.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -243,7 +243,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a6dff6a02a2be250b8f8dc2f47be65544.html b/classnlohmann_1_1basic__json_a6dff6a02a2be250b8f8dc2f47be65544.html index ce271b2ae..88d3d113e 100644 --- a/classnlohmann_1_1basic__json_a6dff6a02a2be250b8f8dc2f47be65544.html +++ b/classnlohmann_1_1basic__json_a6dff6a02a2be250b8f8dc2f47be65544.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -276,9 +276,9 @@ template<template< typename U, typename V, typename...Args > class Obje
13  // print values
14  std::cout << j_array << '\n';
15 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
InteratorType erase(InteratorType pos)
remove element given an iterator
Definition: json.hpp:2924
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
InteratorType erase(InteratorType pos)
remove element given an iterator
Definition: json.hpp:3009
Output (play with this example online):
[0,1,3,4,5]
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/erase__size_type.cpp -o erase__size_type 
@@ -290,7 +290,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a6e2e21da48f5d9471716cd868a068327.html b/classnlohmann_1_1basic__json_a6e2e21da48f5d9471716cd868a068327.html index 41451dfd9..5517fc404 100644 --- a/classnlohmann_1_1basic__json_a6e2e21da48f5d9471716cd868a068327.html +++ b/classnlohmann_1_1basic__json_a6e2e21da48f5d9471716cd868a068327.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -289,8 +289,8 @@ template<template< typename U, typename V, typename...Args > class Obje
21  std::cout << number_1 << " == " << number_2 << " " << (number_1 != number_2) << '\n';
22  std::cout << string_1 << " == " << string_2 << " " << (string_1 != string_2) << '\n';
23 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
[1,2,3] == [1,2,4] true
 {"A":"a","B":"b"} == {"A":"a","B":"b"} false
 17 == 17 false
@@ -305,7 +305,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a71eba33d906745e66f340952b79fbce3.html b/classnlohmann_1_1basic__json_a71eba33d906745e66f340952b79fbce3.html
index 8c922e325..6146ed64c 100644
--- a/classnlohmann_1_1basic__json_a71eba33d906745e66f340952b79fbce3.html
+++ b/classnlohmann_1_1basic__json_a71eba33d906745e66f340952b79fbce3.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -243,7 +243,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a72442ccbb378b4464a24a2da1e784041.html b/classnlohmann_1_1basic__json_a72442ccbb378b4464a24a2da1e784041.html
index 9df2e688b..88ff2cf0f 100644
--- a/classnlohmann_1_1basic__json_a72442ccbb378b4464a24a2da1e784041.html
+++ b/classnlohmann_1_1basic__json_a72442ccbb378b4464a24a2da1e784041.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -315,9 +315,9 @@ Unlike    27     std::cout << std::boolalpha << v_integer << " " << v_floating
 
28  << " " << v_string << " " << v_boolean << "\n";
29 }
-
a class to store JSON values
Definition: json.hpp:200
-
ValueType value(const typename object_t::key_type &key, ValueType default_value) const
access specified object element with default value
Definition: json.hpp:2787
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
ValueType value(const typename object_t::key_type &key, ValueType default_value) const
access specified object element with default value
Definition: json.hpp:2872
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
1 42.23 oops false
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__value.cpp -o basic_json__value 
See also
at(const typename object_t::key_type&) for access by reference with range checking
@@ -332,7 +332,7 @@ Unlike diff --git a/classnlohmann_1_1basic__json_a72ba20783ecb3eec98bd6a3b870d565c.html b/classnlohmann_1_1basic__json_a72ba20783ecb3eec98bd6a3b870d565c.html index 1a1ed739e..e1a685031 100644 --- a/classnlohmann_1_1basic__json_a72ba20783ecb3eec98bd6a3b870d565c.html +++ b/classnlohmann_1_1basic__json_a72ba20783ecb3eec98bd6a3b870d565c.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -275,10 +275,10 @@ Illustration from cppreference.com
16  // serialize the element that the iterator points to
17  std::cout << *it << '\n';
18 }
-
a class to store JSON values
Definition: json.hpp:200
-
const_iterator cend() const
returns a const iterator to one past the last element
Definition: json.hpp:3312
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
a const random access iterator for the basic_json class
Definition: json.hpp:5026
+
a class to store JSON values
Definition: json.hpp:181
+
const_iterator cend() const
returns a const iterator to one past the last element
Definition: json.hpp:3397
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
a const random access iterator for the basic_json class
Definition: json.hpp:5111
Output (play with this example online):
5
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/cend.cpp -o cend 
@@ -290,7 +290,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a749e58042d8069f4f048ee4d23c43f63.html b/classnlohmann_1_1basic__json_a749e58042d8069f4f048ee4d23c43f63.html index 4a5e5875a..99bd0f86e 100644 --- a/classnlohmann_1_1basic__json_a749e58042d8069f4f048ee4d23c43f63.html +++ b/classnlohmann_1_1basic__json_a749e58042d8069f4f048ee4d23c43f63.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -284,9 +284,9 @@ template<template< typename U, typename V, typename...Args > class Obje
22  std::cout << array << '\n';
23  std::cout << null << '\n';
24 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3685
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3770
Output (play with this example online):
[1,2,3,4,5]
 null
 [1,2,3,4,5,6,7]
@@ -301,7 +301,7 @@ null
 
 
 
diff --git a/classnlohmann_1_1basic__json_a74a943800c7f103d0990d7eef82c6453.html b/classnlohmann_1_1basic__json_a74a943800c7f103d0990d7eef82c6453.html
index c3f460483..8727deac6 100644
--- a/classnlohmann_1_1basic__json_a74a943800c7f103d0990d7eef82c6453.html
+++ b/classnlohmann_1_1basic__json_a74a943800c7f103d0990d7eef82c6453.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -289,8 +289,8 @@ template<template< typename U, typename V, typename...Args > class Obje
 
21  std::cout << number_1 << " >= " << number_2 << " " << (number_1 >= number_2) << '\n';
22  std::cout << string_1 << " >= " << string_2 << " " << (string_1 >= string_2) << '\n';
23 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
[1,2,3] >= [1,2,4] false
 {"A":"a","B":"b"} >= {"A":"a","B":"b"} true
 17 >= 17.0000000000001 false
@@ -305,7 +305,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a74ccfa471a0c061876b247f820f3c741.html b/classnlohmann_1_1basic__json_a74ccfa471a0c061876b247f820f3c741.html
index 305f395e6..dcce8808a 100644
--- a/classnlohmann_1_1basic__json_a74ccfa471a0c061876b247f820f3c741.html
+++ b/classnlohmann_1_1basic__json_a74ccfa471a0c061876b247f820f3c741.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -241,7 +241,7 @@ template<template< typename U, typename V, typename...Args > class Obje
         
           
           
-          parser_callback_t 
+          parser_callback_t 
           cb = nullptr 
         
         
@@ -259,7 +259,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
Parameters
- +
[in,out]istream to read a serialized JSON value from
[in]cba parser callback function of type parser_callback_t which is used to control the deserialization by filtering unwanted values (optional)
[in]cba parser callback function of type parser_callback_t which is used to control the deserialization by filtering unwanted values (optional)
@@ -300,7 +300,7 @@ template<template< typename U, typename V, typename...Args > class Obje
32 
33 
34  // define parser callback
-
35  json::parser_callback_t cb = [](int depth, json::parse_event_t event, json & parsed)
+
35  json::parser_callback_t cb = [](int depth, json::parse_event_t event, json & parsed)
36  {
37  // skip object elements with key "Thumbnail"
38  if (event == json::parse_event_t::key and parsed == json("Thumbnail"))
@@ -321,14 +321,14 @@ template<template< typename U, typename V, typename...Args > class Obje
53  json j_filtered = json::parse(ss, cb);
54  std::cout << std::setw(4) << j_filtered << '\n';
55 }
-
basic_json<> json
default JSON class
Definition: json.hpp:7340
-
a class to store JSON values
Definition: json.hpp:200
-
std::function< bool(int depth, parse_event_t event, basic_json &parsed)> parser_callback_t
per-element parser callback type
Definition: json.hpp:791
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
void clear() noexcept
clears the contents
Definition: json.hpp:3621
+
basic_json<> json
default JSON class
Definition: json.hpp:7425
+
a class to store JSON values
Definition: json.hpp:181
+
std::function< bool(int depth, parse_event_t event, basic_json &parsed)> parser_callback_t
per-element parser callback type
Definition: json.hpp:803
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
void clear() noexcept
clears the contents
Definition: json.hpp:3706
the parser read a key of a value in an object
-
static basic_json parse(const string_t &s, parser_callback_t cb=nullptr)
deserialize from string
Definition: json.hpp:4489
-
parse_event_t
JSON callback events.
Definition: json.hpp:727
+
static basic_json parse(const string_t &s, parser_callback_t cb=nullptr)
deserialize from string
Definition: json.hpp:4574
+
parse_event_t
JSON callback events.
Definition: json.hpp:738
Output (play with this example online):
{
     "Image": {
         "Animated": false,
@@ -374,7 +374,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a75a1754e0d39f33095d3102a8bdb9881.html b/classnlohmann_1_1basic__json_a75a1754e0d39f33095d3102a8bdb9881.html
index e604ae648..d41e77fd4 100644
--- a/classnlohmann_1_1basic__json_a75a1754e0d39f33095d3102a8bdb9881.html
+++ b/classnlohmann_1_1basic__json_a75a1754e0d39f33095d3102a8bdb9881.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -308,11 +308,11 @@ template<class InteratorType , typename std::enable_if<
 
28  std::cout << j_array << '\n';
29  std::cout << j_string << '\n';
30 }
-
a class to store JSON values
Definition: json.hpp:200
-
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3225
-
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:3149
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
InteratorType erase(InteratorType pos)
remove element given an iterator
Definition: json.hpp:2924
+
a class to store JSON values
Definition: json.hpp:181
+
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3310
+
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:3234
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
InteratorType erase(InteratorType pos)
remove element given an iterator
Definition: json.hpp:3009
Output (play with this example online):
null
 null
 null
@@ -329,7 +329,7 @@ null
 
 
 
diff --git a/classnlohmann_1_1basic__json_a76cfc5062bf6223396ab82c753cd4634.html b/classnlohmann_1_1basic__json_a76cfc5062bf6223396ab82c753cd4634.html
index 0df452eca..2e4c3a40f 100644
--- a/classnlohmann_1_1basic__json_a76cfc5062bf6223396ab82c753cd4634.html
+++ b/classnlohmann_1_1basic__json_a76cfc5062bf6223396ab82c753cd4634.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -277,11 +277,11 @@ template<typename PointerType , typename std::enable_if<
 
18  std::cout << *p1 << ' ' << *p2 << ' ' << *p3 << ' ' << *p4 << '\n';
19  std::cout << std::boolalpha << (p5 == nullptr) << '\n';
20 }
-
a class to store JSON values
Definition: json.hpp:200
-
ValueType value(const typename object_t::key_type &key, ValueType default_value) const
access specified object element with default value
Definition: json.hpp:2787
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
ValueType get() const
get a value (explicit)
Definition: json.hpp:2289
-
NumberIntegerType number_integer_t
a type for a number (integer)
Definition: json.hpp:516
+
a class to store JSON values
Definition: json.hpp:181
+
ValueType value(const typename object_t::key_type &key, ValueType default_value) const
access specified object element with default value
Definition: json.hpp:2872
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
ValueType get() const
get a value (explicit)
Definition: json.hpp:2374
+
NumberIntegerType number_integer_t
a type for a number (integer)
Definition: json.hpp:511
NumberFloatType number_float_t
a type for a number (floating-point)
Definition: json.hpp:576
Output (play with this example online):
17 17 17 17
 true
@@ -296,7 +296,7 @@ true
 
 
 
diff --git a/classnlohmann_1_1basic__json_a793e5c1da2fc7de7a04b19eadbb3f2cb.html b/classnlohmann_1_1basic__json_a793e5c1da2fc7de7a04b19eadbb3f2cb.html
index 3f66d40fe..333b5d716 100644
--- a/classnlohmann_1_1basic__json_a793e5c1da2fc7de7a04b19eadbb3f2cb.html
+++ b/classnlohmann_1_1basic__json_a793e5c1da2fc7de7a04b19eadbb3f2cb.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -300,9 +300,9 @@ template<template< typename U, typename V, typename...Args > class Obje
 
22  std::cout << j_array << '\n';
23  std::cout << j_string << '\n';
24 }
-
a class to store JSON values
Definition: json.hpp:200
+
a class to store JSON values
Definition: json.hpp:181
object (unordered set of name/value pairs)
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
namespace for Niels Lohmann
Definition: json.hpp:77
array (ordered collection of values)
@@ -316,7 +316,17 @@ false {} [] "" -
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__value_t.cpp -o basic_json__value_t 
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__value_t.cpp -o basic_json__value_t 
+
See also
basic_json(std::nullptr_t) – create a null value
+
+basic_json(boolean_t value) – create a boolean value
+
+basic_json(const string_t&) – create a string value
+
+basic_json(const object_t&) – create a object value
+
+basic_json(const array_t&) – create a array value
+
Since
version 1.0
@@ -326,7 +336,7 @@ false diff --git a/classnlohmann_1_1basic__json_a7c08f966200af98db0313a3b517ce0a9.html b/classnlohmann_1_1basic__json_a7c08f966200af98db0313a3b517ce0a9.html index 2ee9cc251..5e0d286d0 100644 --- a/classnlohmann_1_1basic__json_a7c08f966200af98db0313a3b517ce0a9.html +++ b/classnlohmann_1_1basic__json_a7c08f966200af98db0313a3b517ce0a9.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -274,10 +274,10 @@ Illustration from cppreference.com
16  // serialize the element that the iterator points to
17  std::cout << *it << '\n';
18 }
-
a class to store JSON values
Definition: json.hpp:200
-
reverse_iterator rend()
returns an iterator to the reverse-end
Definition: json.hpp:3363
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
a template for a reverse iterator class
Definition: json.hpp:245
+
a class to store JSON values
Definition: json.hpp:181
+
reverse_iterator rend()
returns an iterator to the reverse-end
Definition: json.hpp:3448
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
a template for a reverse iterator class
Definition: json.hpp:226
Output (play with this example online):
1
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/rend.cpp -o rend 
@@ -289,7 +289,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a7c19a5c3be6cc755377ee41eade78baf.html b/classnlohmann_1_1basic__json_a7c19a5c3be6cc755377ee41eade78baf.html index e4f0d9603..47c1a9e3a 100644 --- a/classnlohmann_1_1basic__json_a7c19a5c3be6cc755377ee41eade78baf.html +++ b/classnlohmann_1_1basic__json_a7c19a5c3be6cc755377ee41eade78baf.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -274,10 +274,10 @@ template<template< typename U, typename V, typename...Args > class Obje
17  std::cout << "value at key \"two\": " << *it_two << '\n';
18  std::cout << "\"three\" was found: " << (it_three != j_object.end()) << '\n';
19 }
-
a class to store JSON values
Definition: json.hpp:200
-
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3280
-
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:3149
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3365
+
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:3234
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
"two" was found: true
 value at key "two": 2
 "three" was found: false
@@ -291,7 +291,7 @@ value at key "two": 2
 
 
 
diff --git a/classnlohmann_1_1basic__json_a7d0db3b728d820d4984df78d97d2b104.html b/classnlohmann_1_1basic__json_a7d0db3b728d820d4984df78d97d2b104.html
index cf83e8a0c..2af53eb7f 100644
--- a/classnlohmann_1_1basic__json_a7d0db3b728d820d4984df78d97d2b104.html
+++ b/classnlohmann_1_1basic__json_a7d0db3b728d820d4984df78d97d2b104.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -243,7 +243,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a7d1b990f2c12fecb57db1504fdadd0bb.html b/classnlohmann_1_1basic__json_a7d1b990f2c12fecb57db1504fdadd0bb.html
index b46f5d5f5..1acc8e316 100644
--- a/classnlohmann_1_1basic__json_a7d1b990f2c12fecb57db1504fdadd0bb.html
+++ b/classnlohmann_1_1basic__json_a7d1b990f2c12fecb57db1504fdadd0bb.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -278,9 +278,9 @@ template<template< typename U, typename V, typename...Args > class Obje
 
15  std::cout << j_object << '\n';
16  std::cout << count_one << " " << count_three << '\n';
17 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
InteratorType erase(InteratorType pos)
remove element given an iterator
Definition: json.hpp:2924
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
InteratorType erase(InteratorType pos)
remove element given an iterator
Definition: json.hpp:3009
Output (play with this example online):
{"two":2}
 1 0
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/erase__key_type.cpp -o erase__key_type 
@@ -293,7 +293,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a7dab69b10b98e7bc694339720e37fb2b.html b/classnlohmann_1_1basic__json_a7dab69b10b98e7bc694339720e37fb2b.html index 86fe2febb..9d02c356a 100644 --- a/classnlohmann_1_1basic__json_a7dab69b10b98e7bc694339720e37fb2b.html +++ b/classnlohmann_1_1basic__json_a7dab69b10b98e7bc694339720e37fb2b.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -274,10 +274,10 @@ template<template< typename U, typename V, typename...Args > class Obje
17  std::cout << "value at key \"two\": " << *it_two << '\n';
18  std::cout << "\"three\" was found: " << (it_three != j_object.end()) << '\n';
19 }
-
a class to store JSON values
Definition: json.hpp:200
-
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3280
-
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:3149
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3365
+
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:3234
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
"two" was found: true
 value at key "two": 2
 "three" was found: false
@@ -291,7 +291,7 @@ value at key "two": 2
 
 
 
diff --git a/classnlohmann_1_1basic__json_a7f97a91ad8f1d5cf0b9213bd24f247c4.html b/classnlohmann_1_1basic__json_a7f97a91ad8f1d5cf0b9213bd24f247c4.html
index c6e5d0bc7..4afa3d412 100644
--- a/classnlohmann_1_1basic__json_a7f97a91ad8f1d5cf0b9213bd24f247c4.html
+++ b/classnlohmann_1_1basic__json_a7f97a91ad8f1d5cf0b9213bd24f247c4.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -287,8 +287,8 @@ template<template< typename U, typename V, typename...Args > class Obje
 
19  std::cout << string << " != nullptr " << (string != nullptr) << '\n';
20  std::cout << null << " != nullptr " << (null != nullptr) << '\n';
21 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77

Output (play with this example online):

[1,2,3] != nullptr true
 {"A":"a","B":"b"} != nullptr true
 17 != nullptr true
@@ -303,7 +303,7 @@ null != nullptr false
 
 
 
diff --git a/classnlohmann_1_1basic__json_a80a89ddbe4cb7ef15b049febee208cc8.html b/classnlohmann_1_1basic__json_a80a89ddbe4cb7ef15b049febee208cc8.html
index ad3ad13db..61186042a 100644
--- a/classnlohmann_1_1basic__json_a80a89ddbe4cb7ef15b049febee208cc8.html
+++ b/classnlohmann_1_1basic__json_a80a89ddbe4cb7ef15b049febee208cc8.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -279,13 +279,15 @@ In case the parameter value is not a number, a JSON null value is creat
 
19  std::cout << j_nan << '\n';
20  std::cout << j_infinity << '\n';
21 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
NumberFloatType number_float_t
a type for a number (floating-point)
Definition: json.hpp:576
Output (play with this example online):
3.14159265358979
 null
 null
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__number_float_t.cpp -o basic_json__number_float_t 
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__number_float_t.cpp -o basic_json__number_float_t 
+
See also
basic_json(const CompatibleNumberFloatType) – create a number value (floating-point) from a compatible number type
+
Since
version 1.0
@@ -295,7 +297,7 @@ null diff --git a/classnlohmann_1_1basic__json_a80ceaa3bdd346292273b309e08525c1c.html b/classnlohmann_1_1basic__json_a80ceaa3bdd346292273b309e08525c1c.html index 3af86d99c..596555cf4 100644 --- a/classnlohmann_1_1basic__json_a80ceaa3bdd346292273b309e08525c1c.html +++ b/classnlohmann_1_1basic__json_a80ceaa3bdd346292273b309e08525c1c.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -243,7 +243,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a83cbbfbf5d3ecbad6de8ece0be6b36c4.html b/classnlohmann_1_1basic__json_a83cbbfbf5d3ecbad6de8ece0be6b36c4.html index 7c13dc500..ff47e2253 100644 --- a/classnlohmann_1_1basic__json_a83cbbfbf5d3ecbad6de8ece0be6b36c4.html +++ b/classnlohmann_1_1basic__json_a83cbbfbf5d3ecbad6de8ece0be6b36c4.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -283,10 +283,10 @@ template<template< typename U, typename V, typename...Args > class Obje
26  //std::cout << j_array_empty.front() << '\n'; // would throw
27  std::cout << j_string.front() << '\n';
28 }
-
reference front()
access the first element
Definition: json.hpp:2836
-
a class to store JSON values
Definition: json.hpp:200
+
reference front()
access the first element
Definition: json.hpp:2921
+
a class to store JSON values
Definition: json.hpp:181
object (unordered set of name/value pairs)
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
namespace for Niels Lohmann
Definition: json.hpp:77
array (ordered collection of values)
Output (play with this example online):
true
 17
@@ -304,7 +304,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a87db51b6b936fb2ea293cdbc8702dcb8.html b/classnlohmann_1_1basic__json_a87db51b6b936fb2ea293cdbc8702dcb8.html
index 01d742f8c..b663a9251 100644
--- a/classnlohmann_1_1basic__json_a87db51b6b936fb2ea293cdbc8702dcb8.html
+++ b/classnlohmann_1_1basic__json_a87db51b6b936fb2ea293cdbc8702dcb8.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -289,8 +289,8 @@ template<template< typename U, typename V, typename...Args > class Obje
 
21  std::cout << number_1 << " <= " << number_2 << " " << (number_1 <= number_2) << '\n';
22  std::cout << string_1 << " <= " << string_2 << " " << (string_1 <= string_2) << '\n';
23 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
[1,2,3] <= [1,2,4] true
 {"A":"a","B":"b"} <= {"A":"a","B":"b"} true
 17 <= 17.0000000000001 true
@@ -305,7 +305,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a8b526709d395142b68d21abfbfff17c3.html b/classnlohmann_1_1basic__json_a8b526709d395142b68d21abfbfff17c3.html
index 260805421..b7e6bf73e 100644
--- a/classnlohmann_1_1basic__json_a8b526709d395142b68d21abfbfff17c3.html
+++ b/classnlohmann_1_1basic__json_a8b526709d395142b68d21abfbfff17c3.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -283,10 +283,10 @@ template<template< typename U, typename V, typename...Args > class Obje
 
26  //std::cout << j_array_empty.front() << '\n'; // would throw
27  std::cout << j_string.front() << '\n';
28 }
-
reference front()
access the first element
Definition: json.hpp:2836
-
a class to store JSON values
Definition: json.hpp:200
+
reference front()
access the first element
Definition: json.hpp:2921
+
a class to store JSON values
Definition: json.hpp:181
object (unordered set of name/value pairs)
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
namespace for Niels Lohmann
Definition: json.hpp:77
array (ordered collection of values)
Output (play with this example online):
true
 17
@@ -304,7 +304,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a8c40cd9ead4de7c82f28268bdf0ec98a.html b/classnlohmann_1_1basic__json_a8c40cd9ead4de7c82f28268bdf0ec98a.html
index e107f4907..305e6d5f7 100644
--- a/classnlohmann_1_1basic__json_a8c40cd9ead4de7c82f28268bdf0ec98a.html
+++ b/classnlohmann_1_1basic__json_a8c40cd9ead4de7c82f28268bdf0ec98a.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -297,9 +297,9 @@ template<template< typename U, typename V, typename...Args > class Obje
 
31  std::cout << j_array << '\n';
32  std::cout << j_string << '\n';
33 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
void clear() noexcept
clears the contents
Definition: json.hpp:3621
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
void clear() noexcept
clears the contents
Definition: json.hpp:3706
Output (play with this example online):
null
 false
 0
@@ -317,7 +317,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_a8fa74698f4061e18ec664009f3af1ddf.html b/classnlohmann_1_1basic__json_a8fa74698f4061e18ec664009f3af1ddf.html
index 715d24dec..d323e55f2 100644
--- a/classnlohmann_1_1basic__json_a8fa74698f4061e18ec664009f3af1ddf.html
+++ b/classnlohmann_1_1basic__json_a8fa74698f4061e18ec664009f3af1ddf.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -301,11 +301,11 @@ template<template< typename U, typename V, typename...Args > class Obje
 
17  std::cout << *new_pos << '\n';
18  std::cout << v << '\n';
19 }
-
a class to store JSON values
Definition: json.hpp:200
-
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3280
-
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3225
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
iterator insert(const_iterator pos, const basic_json &value)
inserts element
Definition: json.hpp:3814
+
a class to store JSON values
Definition: json.hpp:181
+
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3365
+
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3310
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
iterator insert(const_iterator pos, const basic_json &value)
inserts element
Definition: json.hpp:3899
Output (play with this example online):
"one"
 [1,2,3,4,"one","two","three","four"]
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/insert__range.cpp -o insert__range 
@@ -318,7 +318,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a930e14150ffa067bcf56d35cb00271e1.html b/classnlohmann_1_1basic__json_a930e14150ffa067bcf56d35cb00271e1.html index 8f48a57da..55d91f6bb 100644 --- a/classnlohmann_1_1basic__json_a930e14150ffa067bcf56d35cb00271e1.html +++ b/classnlohmann_1_1basic__json_a930e14150ffa067bcf56d35cb00271e1.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -260,11 +260,12 @@ template<template< typename U, typename V, typename...Args > class Obje
10  // serialize the JSON null value
11  std::cout << j << '\n';
12 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
null
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__nullptr_t.cpp -o basic_json__nullptr_t 
-
See also
basic_json()
+
See also
basic_json() – default constructor (implicitly creating a null value)
+
Since
version 1.0
@@ -274,7 +275,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a951a76ba057b3be948e7ba5c2c01cd5a.html b/classnlohmann_1_1basic__json_a951a76ba057b3be948e7ba5c2c01cd5a.html index a2ede4278..0ca61cd2a 100644 --- a/classnlohmann_1_1basic__json_a951a76ba057b3be948e7ba5c2c01cd5a.html +++ b/classnlohmann_1_1basic__json_a951a76ba057b3be948e7ba5c2c01cd5a.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -309,14 +309,15 @@ template<class CompatibleObjectType , typename std::enable_if<
39  std::cout << j_mmap << '\n';
40  std::cout << j_ummap << '\n';
41 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
{"one":1,"three":3,"two":2}
 {"one":1.2,"three":3.4,"two":2.3}
 {"one":true,"three":false,"two":true}
 {"one":true,"three":false,"two":true}
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__CompatibleObjectType.cpp -o basic_json__CompatibleObjectType 
-
See also
basic_json(const object_t&)
+
See also
basic_json(const object_t&) – create an object value
+
Since
version 1.0
@@ -326,7 +327,7 @@ template<class CompatibleObjectType , typename std::enable_if< diff --git a/classnlohmann_1_1basic__json_a9730b9f7bc2150e641fe20198d4477c7.html b/classnlohmann_1_1basic__json_a9730b9f7bc2150e641fe20198d4477c7.html index 837037185..a35712071 100644 --- a/classnlohmann_1_1basic__json_a9730b9f7bc2150e641fe20198d4477c7.html +++ b/classnlohmann_1_1basic__json_a9730b9f7bc2150e641fe20198d4477c7.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -287,8 +287,8 @@ template<template< typename U, typename V, typename...Args > class Obje
19  std::cout << string << " == nullptr " << (string == nullptr) << '\n';
20  std::cout << null << " == nullptr " << (null == nullptr) << '\n';
21 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77

Output (play with this example online):

[1,2,3] == nullptr false
 {"A":"a","B":"b"} == nullptr false
 17 == nullptr false
@@ -303,7 +303,7 @@ null == nullptr true
 
 
 
diff --git a/classnlohmann_1_1basic__json_a98e05a2c9b8f74bd60442772cddeee52.html b/classnlohmann_1_1basic__json_a98e05a2c9b8f74bd60442772cddeee52.html
index 6d34ab14c..916c18a7f 100644
--- a/classnlohmann_1_1basic__json_a98e05a2c9b8f74bd60442772cddeee52.html
+++ b/classnlohmann_1_1basic__json_a98e05a2c9b8f74bd60442772cddeee52.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -287,8 +287,8 @@ template<template< typename U, typename V, typename...Args > class Obje
 
19  std::cout << string << " == nullptr " << (string == nullptr) << '\n';
20  std::cout << null << " == nullptr " << (null == nullptr) << '\n';
21 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77

Output (play with this example online):

[1,2,3] == nullptr false
 {"A":"a","B":"b"} == nullptr false
 17 == nullptr false
@@ -303,7 +303,7 @@ null == nullptr true
 
 
 
diff --git a/classnlohmann_1_1basic__json_a9993148cb0473365e52998c7315f9ada.html b/classnlohmann_1_1basic__json_a9993148cb0473365e52998c7315f9ada.html
index aca71a441..857608cc2 100644
--- a/classnlohmann_1_1basic__json_a9993148cb0473365e52998c7315f9ada.html
+++ b/classnlohmann_1_1basic__json_a9993148cb0473365e52998c7315f9ada.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -273,9 +273,9 @@ template<template< typename U, typename V, typename...Args > class Obje
 
23  std::cout << j_array.is_number_integer() << '\n';
24  std::cout << j_string.is_number_integer() << '\n';
25 }
-
a class to store JSON values
Definition: json.hpp:200
-
bool is_number_integer() const noexcept
return whether value is an integer number
Definition: json.hpp:1886
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
bool is_number_integer() const noexcept
return whether value is an integer number
Definition: json.hpp:1971
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
false
 false
 true
@@ -293,7 +293,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_a9c26c5d0f4a519c7236149b9aeb3ef9e.html b/classnlohmann_1_1basic__json_a9c26c5d0f4a519c7236149b9aeb3ef9e.html
index 34e42cc4c..77b784ba5 100644
--- a/classnlohmann_1_1basic__json_a9c26c5d0f4a519c7236149b9aeb3ef9e.html
+++ b/classnlohmann_1_1basic__json_a9c26c5d0f4a519c7236149b9aeb3ef9e.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -273,9 +273,9 @@ template<template< typename U, typename V, typename...Args > class Obje
 
23  std::cout << j_array.is_number_float() << '\n';
24  std::cout << j_string.is_number_float() << '\n';
25 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
bool is_number_float() const noexcept
return whether value is a floating-point number
Definition: json.hpp:1904
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
bool is_number_float() const noexcept
return whether value is a floating-point number
Definition: json.hpp:1989
Output (play with this example online):
false
 false
 false
@@ -293,7 +293,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_a9f17a0690155e3a5603246ccec81499e.html b/classnlohmann_1_1basic__json_a9f17a0690155e3a5603246ccec81499e.html
index 42b150fb0..18d02d5ba 100644
--- a/classnlohmann_1_1basic__json_a9f17a0690155e3a5603246ccec81499e.html
+++ b/classnlohmann_1_1basic__json_a9f17a0690155e3a5603246ccec81499e.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -273,9 +273,9 @@ template<template< typename U, typename V, typename...Args > class Obje
 
23  std::cout << j_array.is_primitive() << '\n';
24  std::cout << j_string.is_primitive() << '\n';
25 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
bool is_primitive() const noexcept
return whether type is primitive
Definition: json.hpp:1798
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
bool is_primitive() const noexcept
return whether type is primitive
Definition: json.hpp:1883
Output (play with this example online):
true
 true
 true
@@ -293,7 +293,7 @@ true
 
 
 
diff --git a/classnlohmann_1_1basic__json_aa0422e861b4cbd7cdcaad7a11a1304a9.html b/classnlohmann_1_1basic__json_aa0422e861b4cbd7cdcaad7a11a1304a9.html
index 8ffd956fc..5b9a3aa4f 100644
--- a/classnlohmann_1_1basic__json_aa0422e861b4cbd7cdcaad7a11a1304a9.html
+++ b/classnlohmann_1_1basic__json_aa0422e861b4cbd7cdcaad7a11a1304a9.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -241,7 +241,7 @@ template<template< typename U, typename V, typename...Args > class Obje
         
           
           
-          parser_callback_t 
+          parser_callback_t 
           cb = nullptr 
         
         
@@ -265,7 +265,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_aa1f3b3f1dca79392d6727b81f9668c6c.html b/classnlohmann_1_1basic__json_aa1f3b3f1dca79392d6727b81f9668c6c.html
index 820f0237a..bb3ff56ee 100644
--- a/classnlohmann_1_1basic__json_aa1f3b3f1dca79392d6727b81f9668c6c.html
+++ b/classnlohmann_1_1basic__json_aa1f3b3f1dca79392d6727b81f9668c6c.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -283,11 +283,11 @@ template<template< typename U, typename V, typename...Args > class Obje
 
26  //std::cout << j_array_empty.back() << '\n'; // would throw
27  std::cout << j_string.back() << '\n';
28 }
-
a class to store JSON values
Definition: json.hpp:200
+
a class to store JSON values
Definition: json.hpp:181
object (unordered set of name/value pairs)
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
namespace for Niels Lohmann
Definition: json.hpp:77
array (ordered collection of values)
-
reference back()
access the last element
Definition: json.hpp:2868
+
reference back()
access the last element
Definition: json.hpp:2953
Output (play with this example online):
true
 17
 23.42
@@ -304,7 +304,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_aa5413178b8041f7ac685dec4b040dd2c.html b/classnlohmann_1_1basic__json_aa5413178b8041f7ac685dec4b040dd2c.html
index 879d0cf42..8455c2ca8 100644
--- a/classnlohmann_1_1basic__json_aa5413178b8041f7ac685dec4b040dd2c.html
+++ b/classnlohmann_1_1basic__json_aa5413178b8041f7ac685dec4b040dd2c.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -275,10 +275,10 @@ Illustration from cppreference.com
 
16  // serialize the element that the iterator points to
17  std::cout << *it << '\n';
18 }
-
a class to store JSON values
Definition: json.hpp:200
-
const_iterator cend() const
returns a const iterator to one past the last element
Definition: json.hpp:3312
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
a const random access iterator for the basic_json class
Definition: json.hpp:5026
+
a class to store JSON values
Definition: json.hpp:181
+
const_iterator cend() const
returns a const iterator to one past the last element
Definition: json.hpp:3397
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
a const random access iterator for the basic_json class
Definition: json.hpp:5111
Output (play with this example online):
5
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/cend.cpp -o cend 
@@ -290,7 +290,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_aa6a24b176f9599a21d662cc5f8e1ca76.html b/classnlohmann_1_1basic__json_aa6a24b176f9599a21d662cc5f8e1ca76.html index f5ef5c6c6..684e9e202 100644 --- a/classnlohmann_1_1basic__json_aa6a24b176f9599a21d662cc5f8e1ca76.html +++ b/classnlohmann_1_1basic__json_aa6a24b176f9599a21d662cc5f8e1ca76.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -249,9 +249,10 @@ template<template< typename U, typename V, typename...Args > class Obje
Complexity
Linear.
Requirements
This function satisfies the Container requirements:
  • The complexity is linear.
  • -
  • All stored elements are destroyed and all memory is freed.
  • +
  • All stored elements are destroyed and all memory is freed.
+
Since
version 1.0
@@ -261,7 +262,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_aa71e977d31f470689883ac60d16ea4ac.html b/classnlohmann_1_1basic__json_aa71e977d31f470689883ac60d16ea4ac.html index d7e7ca740..cafcbd32e 100644 --- a/classnlohmann_1_1basic__json_aa71e977d31f470689883ac60d16ea4ac.html +++ b/classnlohmann_1_1basic__json_aa71e977d31f470689883ac60d16ea4ac.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -279,11 +279,11 @@ template<template< typename U, typename V, typename...Args > class Obje
17  std::cout << "value = " << value << '\n';
18  std::cout << "array = " << array << '\n';
19 }
-
ArrayType< basic_json, AllocatorType< basic_json >> array_t
a type for an array
Definition: json.hpp:384
-
a class to store JSON values
Definition: json.hpp:200
-
ValueType value(const typename object_t::key_type &key, ValueType default_value) const
access specified object element with default value
Definition: json.hpp:2787
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
void swap(reference other) noexcept( std::is_nothrow_move_constructible< value_t >::value and std::is_nothrow_move_assignable< value_t >::value and std::is_nothrow_move_constructible< json_value >::value and std::is_nothrow_move_assignable< json_value >::value )
exchanges the values
Definition: json.hpp:3996
+
ArrayType< basic_json, AllocatorType< basic_json >> array_t
a type for an array
Definition: json.hpp:371
+
a class to store JSON values
Definition: json.hpp:181
+
ValueType value(const typename object_t::key_type &key, ValueType default_value) const
access specified object element with default value
Definition: json.hpp:2872
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
void swap(reference other) noexcept( std::is_nothrow_move_constructible< value_t >::value and std::is_nothrow_move_assignable< value_t >::value and std::is_nothrow_move_constructible< json_value >::value and std::is_nothrow_move_assignable< json_value >::value )
exchanges the values
Definition: json.hpp:4081
Output (play with this example online):
value = {"array":["Snap","Crackle","Pop"]}
 array = [1,2,3,4]
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/swap__array_t.cpp -o swap__array_t 
@@ -296,7 +296,7 @@ array = [1,2,3,4] diff --git a/classnlohmann_1_1basic__json_aabe4661644ea549089f0886c2551d2ac.html b/classnlohmann_1_1basic__json_aabe4661644ea549089f0886c2551d2ac.html new file mode 100644 index 000000000..edd80c74c --- /dev/null +++ b/classnlohmann_1_1basic__json_aabe4661644ea549089f0886c2551d2ac.html @@ -0,0 +1,285 @@ + + + + + + +JSON for Modern C++: nlohmann::basic_json::parser_callback_t + + + + + + + + + + + +
+
+ + + + + + +
+
JSON for Modern C++ +  1.0.0-rc1 +
+
+
+ + + + + +
+
+ + +
+ +
+ + +
+
+ + + + + +
+ + + +
+
+
+template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class AllocatorType = std::allocator>
+ + + + +
using nlohmann::basic_json::parser_callback_t = std::function<bool(int depth, parse_event_t event, basic_json& parsed)>
+
+

With a parser callback function, the result of parsing a JSON text can be influenced. When passed to parse(std::istream&, parser_callback_t) or parse(const string_t&, parser_callback_t), it is called on certain events (passed as parse_event_t via parameter event) with a set recursion depth depth and context JSON value parsed. The return value of the callback function is a boolean indicating whether the element that emitted the callback shall be kept or not.

+

We distinguish six scenarios (determined by the event type) in which the callback function can be called. The following table describes the values of the parameters depth, event, and parsed.

+ + + + + + + + + + + + + + + +
parameter event description parameter depth parameter parsed
parse_event_t::object_start the parser read { and started to process a JSON object depth of the parent of the JSON object a JSON value with type discarded
parse_event_t::key the parser read a key of a value in an object depth of the currently parsed JSON object a JSON string containing the key
parse_event_t::object_end the parser read } and finished processing a JSON object depth of the parent of the JSON object the parsed JSON object
parse_event_t::array_start the parser read [ and started to process a JSON array depth of the parent of the JSON array a JSON value with type discarded
parse_event_t::array_end the parser read ] and finished processing a JSON array depth of the parent of the JSON array the parsed JSON array
parse_event_t::value the parser finished reading a JSON value depth of the value the parsed JSON value
+

Discarding a value (i.e., returning false) has different effects depending on the context in which function was called:

+
    +
  • Discarded values in structured types are skipped. That is, the parser will behave as if the discarded value was never read.
  • +
  • In case a value outside a structured type is skipped, it is replaced with null. This case happens if the top-level element is skipped.
  • +
+
Parameters
+ + + + +
[in]depththe depth of the recursion during parsing
[in]eventan event of type parse_event_t indicating the context in the callback function has been called
[in,out]parsedthe current intermediate parse result; note that writing to this value has no effect for parse_event_t::key events
+
+
+
Returns
Whether the JSON value which called the function during parsing should be kept (true) or not (false). In the latter case, it is either skipped completely or replaced by an empty discarded object.
+
See also
parse(std::istream&, parser_callback_t) or parse(const string_t&, parser_callback_t) for examples
+
Since
version 1.0
+ +
+
+
+
+ + + + diff --git a/classnlohmann_1_1basic__json_aac185a137428a7337aa620de07bfbbd7.html b/classnlohmann_1_1basic__json_aac185a137428a7337aa620de07bfbbd7.html index e2df4ad47..26bc91c34 100644 --- a/classnlohmann_1_1basic__json_aac185a137428a7337aa620de07bfbbd7.html +++ b/classnlohmann_1_1basic__json_aac185a137428a7337aa620de07bfbbd7.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -269,7 +269,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_aacd442b66140c764c594ac8ad7dfd5b3.html b/classnlohmann_1_1basic__json_aacd442b66140c764c594ac8ad7dfd5b3.html index fbf39ab50..be42a3db4 100644 --- a/classnlohmann_1_1basic__json_aacd442b66140c764c594ac8ad7dfd5b3.html +++ b/classnlohmann_1_1basic__json_aacd442b66140c764c594ac8ad7dfd5b3.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -293,8 +293,8 @@ template<template< typename U, typename V, typename...Args > class Obje
21  std::cout << number_1 << " == " << number_2 << " " << (number_1 < number_2) << '\n';
22  std::cout << string_1 << " == " << string_2 << " " << (string_1 < string_2) << '\n';
23 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
[1,2,3] == [1,2,4] true
 {"A":"a","B":"b"} == {"A":"a","B":"b"} false
 17 == 17.0000000000001 true
@@ -309,7 +309,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_aacf6c869f6a9c66ac1bc99e93f310044.html b/classnlohmann_1_1basic__json_aacf6c869f6a9c66ac1bc99e93f310044.html
index 15c3b9f8e..44687b09f 100644
--- a/classnlohmann_1_1basic__json_aacf6c869f6a9c66ac1bc99e93f310044.html
+++ b/classnlohmann_1_1basic__json_aacf6c869f6a9c66ac1bc99e93f310044.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -253,7 +253,9 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 

This implementation does exactly follow this approach, as it uses double precision floating-point numbers. Note values smaller than -1.79769313486232e+308 and values greather than 1.79769313486232e+308 will be stored as NaN internally and be serialized to null.

Storage

-

Floating-point number values are stored directly inside a basic_json type.

+

Floating-point number values are stored directly inside a basic_json type.

+
See also
number_integer_t – type for number values (integer)
+
Since
version 1.0
@@ -263,7 +265,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_aaf363408931d76472ded14017e59c9e8.html b/classnlohmann_1_1basic__json_aaf363408931d76472ded14017e59c9e8.html index 48c4792bd..3e0ad4eeb 100644 --- a/classnlohmann_1_1basic__json_aaf363408931d76472ded14017e59c9e8.html +++ b/classnlohmann_1_1basic__json_aaf363408931d76472ded14017e59c9e8.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -295,8 +295,8 @@ template<template< typename U, typename V, typename...Args > class Obje
21  // serialize JSON
22  std::cout << std::setw(2) << j << '\n';
23 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
{
   "array": [
     1,
@@ -321,7 +321,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_aafa839f2a74dc1b5060314b3423143b8.html b/classnlohmann_1_1basic__json_aafa839f2a74dc1b5060314b3423143b8.html
index 11efea257..f42de080e 100644
--- a/classnlohmann_1_1basic__json_aafa839f2a74dc1b5060314b3423143b8.html
+++ b/classnlohmann_1_1basic__json_aafa839f2a74dc1b5060314b3423143b8.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -240,7 +240,8 @@ template<template< typename U, typename V, typename...Args > class Obje
 

With the default values for BooleanType (bool), the default value for boolean_t is:

bool

Storage

-

Boolean values are stored directly inside a basic_json type.

+

Boolean values are stored directly inside a basic_json type.

+
Since
version 1.0
@@ -250,7 +251,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_ab14e3503305622fb5ab01a7f490916e8.html b/classnlohmann_1_1basic__json_ab14e3503305622fb5ab01a7f490916e8.html index cb1ce90aa..1a1ba340f 100644 --- a/classnlohmann_1_1basic__json_ab14e3503305622fb5ab01a7f490916e8.html +++ b/classnlohmann_1_1basic__json_ab14e3503305622fb5ab01a7f490916e8.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -289,10 +289,10 @@ template<template< typename U, typename V, typename...Args > class Obje
14  std::cout << *new_pos << '\n';
15  std::cout << v << '\n';
16 }
-
a class to store JSON values
Definition: json.hpp:200
-
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3280
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
iterator insert(const_iterator pos, const basic_json &value)
inserts element
Definition: json.hpp:3814
+
a class to store JSON values
Definition: json.hpp:181
+
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3365
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
iterator insert(const_iterator pos, const basic_json &value)
inserts element
Definition: json.hpp:3899
Output (play with this example online):
7
 [1,2,3,4,7,8,9]
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/insert__ilist.cpp -o insert__ilist 
@@ -305,7 +305,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_ab2162bc76e10d8736cab9b2039956054.html b/classnlohmann_1_1basic__json_ab2162bc76e10d8736cab9b2039956054.html index f7c0e3257..81cffa507 100644 --- a/classnlohmann_1_1basic__json_ab2162bc76e10d8736cab9b2039956054.html +++ b/classnlohmann_1_1basic__json_ab2162bc76e10d8736cab9b2039956054.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -274,10 +274,10 @@ Illustration from cppreference.com
16  // serialize the element that the iterator points to
17  std::cout << *it << '\n';
18 }
-
a class to store JSON values
Definition: json.hpp:200
-
a mutable random access iterator for the basic_json class
Definition: json.hpp:5528
-
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3280
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
a mutable random access iterator for the basic_json class
Definition: json.hpp:5613
+
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3365
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
5
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/end.cpp -o end 
@@ -289,7 +289,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_ab67345ba5c81c903eddd4eb2a24ac658.html b/classnlohmann_1_1basic__json_ab67345ba5c81c903eddd4eb2a24ac658.html index f02786255..2b193cff2 100644 --- a/classnlohmann_1_1basic__json_ab67345ba5c81c903eddd4eb2a24ac658.html +++ b/classnlohmann_1_1basic__json_ab67345ba5c81c903eddd4eb2a24ac658.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -289,10 +289,10 @@ template<template< typename U, typename V, typename...Args > class Obje
14  std::cout << *new_pos << '\n';
15  std::cout << v << '\n';
16 }
-
a class to store JSON values
Definition: json.hpp:200
-
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3225
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
iterator insert(const_iterator pos, const basic_json &value)
inserts element
Definition: json.hpp:3814
+
a class to store JSON values
Definition: json.hpp:181
+
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3310
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
iterator insert(const_iterator pos, const basic_json &value)
inserts element
Definition: json.hpp:3899
Output (play with this example online):
10
 [1,2,10,3,4]
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/insert.cpp -o insert 
@@ -305,7 +305,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_ab9a20bd1d391e9cb968db50c246f728d.html b/classnlohmann_1_1basic__json_ab9a20bd1d391e9cb968db50c246f728d.html index 2060fc68d..108f7b2dc 100644 --- a/classnlohmann_1_1basic__json_ab9a20bd1d391e9cb968db50c246f728d.html +++ b/classnlohmann_1_1basic__json_ab9a20bd1d391e9cb968db50c246f728d.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -297,10 +297,10 @@ template<template< typename U, typename V, typename...Args > class Obje
26  std::cout << j_array_empty.size() << '\n';
27  std::cout << j_string.size() << '\n';
28 }
-
a class to store JSON values
Definition: json.hpp:200
-
size_type size() const noexcept
returns the number of elements
Definition: json.hpp:3509
+
a class to store JSON values
Definition: json.hpp:181
+
size_type size() const noexcept
returns the number of elements
Definition: json.hpp:3594
object (unordered set of name/value pairs)
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
namespace for Niels Lohmann
Definition: json.hpp:77
array (ordered collection of values)
Output (play with this example online):
0
 1
@@ -321,7 +321,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_ab9da2afc6f77295f25252725fde142a6.html b/classnlohmann_1_1basic__json_ab9da2afc6f77295f25252725fde142a6.html
index a5ce0d2ac..ef45a1d47 100644
--- a/classnlohmann_1_1basic__json_ab9da2afc6f77295f25252725fde142a6.html
+++ b/classnlohmann_1_1basic__json_ab9da2afc6f77295f25252725fde142a6.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -283,11 +283,11 @@ template<template< typename U, typename V, typename...Args > class Obje
 
26  //std::cout << j_array_empty.back() << '\n'; // would throw
27  std::cout << j_string.back() << '\n';
28 }
-
a class to store JSON values
Definition: json.hpp:200
+
a class to store JSON values
Definition: json.hpp:181
object (unordered set of name/value pairs)
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
namespace for Niels Lohmann
Definition: json.hpp:77
array (ordered collection of values)
-
reference back()
access the last element
Definition: json.hpp:2868
+
reference back()
access the last element
Definition: json.hpp:2953
Output (play with this example online):
true
 17
 23.42
@@ -304,7 +304,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_abe8f3224ca4041908ddb466cb9caecf1.html b/classnlohmann_1_1basic__json_abe8f3224ca4041908ddb466cb9caecf1.html
index d23e87d01..feb11a628 100644
--- a/classnlohmann_1_1basic__json_abe8f3224ca4041908ddb466cb9caecf1.html
+++ b/classnlohmann_1_1basic__json_abe8f3224ca4041908ddb466cb9caecf1.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -293,9 +293,9 @@ template<template< typename U, typename V, typename...Args > class Obje
 
22  std::cout << j_array.max_size() << '\n';
23  std::cout << j_string.max_size() << '\n';
24 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
size_type max_size() const noexcept
returns the maximum possible number of elements
Definition: json.hpp:3566
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
size_type max_size() const noexcept
returns the maximum possible number of elements
Definition: json.hpp:3651
Output (play with this example online):
0
 1
 1
@@ -313,7 +313,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_ac4011bd0781e51afe4994d2b09fd27e9.html b/classnlohmann_1_1basic__json_ac4011bd0781e51afe4994d2b09fd27e9.html
index c256d387c..1782e5efc 100644
--- a/classnlohmann_1_1basic__json_ac4011bd0781e51afe4994d2b09fd27e9.html
+++ b/classnlohmann_1_1basic__json_ac4011bd0781e51afe4994d2b09fd27e9.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -243,7 +243,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_ac8163abe518595f19dbee68db1caaaf7.html b/classnlohmann_1_1basic__json_ac8163abe518595f19dbee68db1caaaf7.html
index 4336ed23a..1bd334cf8 100644
--- a/classnlohmann_1_1basic__json_ac8163abe518595f19dbee68db1caaaf7.html
+++ b/classnlohmann_1_1basic__json_ac8163abe518595f19dbee68db1caaaf7.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -273,9 +273,9 @@ template<template< typename U, typename V, typename...Args > class Obje
 
23  std::cout << j_array.is_object() << '\n';
24  std::cout << j_string.is_object() << '\n';
25 }
-
a class to store JSON values
Definition: json.hpp:200
-
bool is_object() const noexcept
return whether value is an object
Definition: json.hpp:1921
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
bool is_object() const noexcept
return whether value is an object
Definition: json.hpp:2006
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
false
 false
 false
@@ -293,7 +293,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_ac82abedf356d252e0589850c3d8b35ba.html b/classnlohmann_1_1basic__json_ac82abedf356d252e0589850c3d8b35ba.html
index cdcf6ec8c..13953a38c 100644
--- a/classnlohmann_1_1basic__json_ac82abedf356d252e0589850c3d8b35ba.html
+++ b/classnlohmann_1_1basic__json_ac82abedf356d252e0589850c3d8b35ba.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -250,7 +250,9 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 

In this class, the array's limit of nesting is not constraint explicitly. However, a maximum depth of nesting may be introduced by the compiler or runtime environment. A theoretical limit can be queried by calling the max_size function of a JSON array.

Storage

-

Arrays are stored as pointers in a basic_json type. That is, for any access to array values, a pointer of type array_t* must be dereferenced.

+

Arrays are stored as pointers in a basic_json type. That is, for any access to array values, a pointer of type array_t* must be dereferenced.

+
See also
object_t – type for an object value
+
Since
version 1.0
@@ -260,7 +262,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_ac943391891fcde0a71a15ce990e0f7f4.html b/classnlohmann_1_1basic__json_ac943391891fcde0a71a15ce990e0f7f4.html index 6e1f78a71..08dcc7154 100644 --- a/classnlohmann_1_1basic__json_ac943391891fcde0a71a15ce990e0f7f4.html +++ b/classnlohmann_1_1basic__json_ac943391891fcde0a71a15ce990e0f7f4.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -281,11 +281,12 @@ template<template< typename U, typename V, typename...Args > class Obje
14  std::cout << j1 << " = " << j2 << '\n';
15  std::cout << std::boolalpha << (j1 == j2) << '\n';
16 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
["one","two",3,4.5,false] = ["one","two",3,4.5,false]
 true
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__basic_json.cpp -o basic_json__basic_json 
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__basic_json.cpp -o basic_json__basic_json 
+
Since
version 1.0
@@ -295,7 +296,7 @@ true diff --git a/classnlohmann_1_1basic__json_acbf7f957ecb6ce19cdc5b40b5d6b6333.html b/classnlohmann_1_1basic__json_acbf7f957ecb6ce19cdc5b40b5d6b6333.html index 357eb5abc..0405a9a99 100644 --- a/classnlohmann_1_1basic__json_acbf7f957ecb6ce19cdc5b40b5d6b6333.html +++ b/classnlohmann_1_1basic__json_acbf7f957ecb6ce19cdc5b40b5d6b6333.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -270,11 +270,14 @@ template<template< typename U, typename V, typename...Args > class Obje
13  // serialize the JSON numbers
14  std::cout << j << '\n';
15 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
17
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__const_int.cpp -o basic_json__const_int 
-
See also
basic_json(const number_integer_t)
+
See also
basic_json(const number_integer_t) – create a number value (integer)
+
+basic_json(const CompatibleNumberIntegerType) – create a number value (integer) from a compatible number type
+
Since
version 1.0
@@ -284,7 +287,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_acdf4445333649ec94198f09a62144884.html b/classnlohmann_1_1basic__json_acdf4445333649ec94198f09a62144884.html index b1bb37571..c93d8b839 100644 --- a/classnlohmann_1_1basic__json_acdf4445333649ec94198f09a62144884.html +++ b/classnlohmann_1_1basic__json_acdf4445333649ec94198f09a62144884.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -271,10 +271,10 @@ Illustration from cppreference.com
13  // serialize the element that the iterator points to
14  std::cout << *it << '\n';
15 }
-
a class to store JSON values
Definition: json.hpp:200
-
a mutable random access iterator for the basic_json class
Definition: json.hpp:5528
-
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3225
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
a mutable random access iterator for the basic_json class
Definition: json.hpp:5613
+
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3310
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
1
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/begin.cpp -o begin 
@@ -286,7 +286,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_ace8338e57fdb11e1955c2a0c2d782069.html b/classnlohmann_1_1basic__json_ace8338e57fdb11e1955c2a0c2d782069.html index 91e1c63f3..230018a11 100644 --- a/classnlohmann_1_1basic__json_ace8338e57fdb11e1955c2a0c2d782069.html +++ b/classnlohmann_1_1basic__json_ace8338e57fdb11e1955c2a0c2d782069.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -248,7 +248,8 @@ template<template< typename U, typename V, typename...Args > class Obje

This implementation is interoperable as it does compare strings code unit by code unit.

Storage

-

String values are stored as pointers in a basic_json type. That is, for any access to string values, a pointer of type string_t* must be dereferenced.

+

String values are stored as pointers in a basic_json type. That is, for any access to string values, a pointer of type string_t* must be dereferenced.

+
Since
version 1.0
@@ -258,7 +259,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_ad1f617d29e8923dd40c89153f792b1bc.html b/classnlohmann_1_1basic__json_ad1f617d29e8923dd40c89153f792b1bc.html index 965be4bde..9438cf30d 100644 --- a/classnlohmann_1_1basic__json_ad1f617d29e8923dd40c89153f792b1bc.html +++ b/classnlohmann_1_1basic__json_ad1f617d29e8923dd40c89153f792b1bc.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -247,7 +247,7 @@ template<template< typename U, typename V, typename...Args > class Obje

Creates a JSON object value from a given initializer list. The initializer lists elements must be pairs, and their first elments must be strings. If the initializer list is empty, the empty object {} is created.

-
Note
This function is only added for symmetry reasons. In contrast to the related function basic_json array(std::initializer_list<basic_json>), there are no cases which can only be expressed by this function. That is, any initializer list init can also be passed to the initializer list constructor basic_json(std::initializer_list<basic_json>, bool, value_t).
+
Note
This function is only added for symmetry reasons. In contrast to the related function array(std::initializer_list<basic_json>), there are no cases which can only be expressed by this function. That is, any initializer list init can also be passed to the initializer list constructor basic_json(std::initializer_list<basic_json>, bool, value_t).
Parameters
@@ -257,7 +257,7 @@ template<template< typename U, typename V, typename...Args > class Obje
Returns
JSON object value
Exceptions
[in]initinitializer list to create an object from (optional)
- +
std::domain_errorif init is not a pair whose first elements are strings; thrown by basic_json(std::initializer_list<basic_json>, bool, value_t)
std::domain_errorif init is not a pair whose first elements are strings; thrown by basic_json(std::initializer_list<basic_json>, bool, value_t)
@@ -279,16 +279,17 @@ template<template< typename U, typename V, typename...Args > class Obje
15  std::cout << j_empty_init_list << '\n';
16  std::cout << j_list_of_pairs << '\n';
17 }
-
static basic_json object(std::initializer_list< basic_json > init=std::initializer_list< basic_json >())
explicitly create an object from an initializer list
Definition: json.hpp:1408
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
static basic_json object(std::initializer_list< basic_json > init=std::initializer_list< basic_json >())
explicitly create an object from an initializer list
Definition: json.hpp:1483
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
{}
 {}
 {"one":1,"two":2}
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/object.cpp -o object 
-
See also
basic_json(std::initializer_list<basic_json>, bool, value_t) - create a JSON value from an initializer list
+
See also
basic_json(std::initializer_list<basic_json>, bool, value_t) – create a JSON value from an initializer list
-basic_json array(std::initializer_list<basic_json>) - create a JSON array value from an initializer list
+array(std::initializer_list<basic_json>) – create a JSON array value from an initializer list
+
Since
version 1.0
@@ -298,7 +299,7 @@ basic_json array(std::initializer_list<basic_json>) - create a JSON array diff --git a/classnlohmann_1_1basic__json_ad2c4513cef5d8db760c4b2d871eea42c.html b/classnlohmann_1_1basic__json_ad2c4513cef5d8db760c4b2d871eea42c.html index a92963a02..f2a06efa1 100644 --- a/classnlohmann_1_1basic__json_ad2c4513cef5d8db760c4b2d871eea42c.html +++ b/classnlohmann_1_1basic__json_ad2c4513cef5d8db760c4b2d871eea42c.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -254,7 +254,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_ad497cbc4f80c8d79662ee6e19bf145dd.html b/classnlohmann_1_1basic__json_ad497cbc4f80c8d79662ee6e19bf145dd.html index 988c4a05f..444f278ab 100644 --- a/classnlohmann_1_1basic__json_ad497cbc4f80c8d79662ee6e19bf145dd.html +++ b/classnlohmann_1_1basic__json_ad497cbc4f80c8d79662ee6e19bf145dd.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -319,12 +319,12 @@ template<class InteratorType , typename std::enable_if<
28  std::cout << j_array << '\n';
29  std::cout << j_string << '\n';
30 }
-
a class to store JSON values
Definition: json.hpp:200
-
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3280
-
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3225
-
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:3149
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
InteratorType erase(InteratorType pos)
remove element given an iterator
Definition: json.hpp:2924
+
a class to store JSON values
Definition: json.hpp:181
+
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3365
+
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3310
+
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:3234
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
InteratorType erase(InteratorType pos)
remove element given an iterator
Definition: json.hpp:3009
Output (play with this example online):
null
 null
 null
@@ -341,7 +341,7 @@ null
 
 
 
diff --git a/classnlohmann_1_1basic__json_ad7067a1a8ad2d88125915ada6d4d79b7.html b/classnlohmann_1_1basic__json_ad7067a1a8ad2d88125915ada6d4d79b7.html
index 84ed384a1..10b3e9552 100644
--- a/classnlohmann_1_1basic__json_ad7067a1a8ad2d88125915ada6d4d79b7.html
+++ b/classnlohmann_1_1basic__json_ad7067a1a8ad2d88125915ada6d4d79b7.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -326,8 +326,8 @@ template<class CompatibleArrayType , typename std::enable_if<
 
56  std::cout << j_mset << '\n';
57  std::cout << j_umset << '\n';
58 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
[1,2,3,4]
 [1.2,2.3,3.4,5.6]
 [true,true,false,true]
@@ -338,7 +338,8 @@ template<class CompatibleArrayType , typename std::enable_if<
 ["four","one","one","two"]
 ["four","two","one","one"]
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__CompatibleArrayType.cpp -o basic_json__CompatibleArrayType 
-
See also
basic_json(const array_t&)
+
See also
basic_json(const array_t&) – create an array value
+
Since
version 1.0
@@ -348,7 +349,7 @@ template<class CompatibleArrayType , typename std::enable_if< diff --git a/classnlohmann_1_1basic__json_ad8e0c5d04f016d1b3ac7369e5c73bedf.html b/classnlohmann_1_1basic__json_ad8e0c5d04f016d1b3ac7369e5c73bedf.html index ade7d75e1..442638b4b 100644 --- a/classnlohmann_1_1basic__json_ad8e0c5d04f016d1b3ac7369e5c73bedf.html +++ b/classnlohmann_1_1basic__json_ad8e0c5d04f016d1b3ac7369e5c73bedf.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -272,10 +272,10 @@ Illustration from cppreference.com
13  // serialize the element that the iterator points to
14  std::cout << *it << '\n';
15 }
-
a class to store JSON values
Definition: json.hpp:200
-
const_iterator cbegin() const
returns a const iterator to the first element
Definition: json.hpp:3257
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
a const random access iterator for the basic_json class
Definition: json.hpp:5026
+
a class to store JSON values
Definition: json.hpp:181
+
const_iterator cbegin() const
returns a const iterator to the first element
Definition: json.hpp:3342
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
a const random access iterator for the basic_json class
Definition: json.hpp:5111
Output (play with this example online):
1
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/cbegin.cpp -o cbegin 
@@ -287,7 +287,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_ada8e01109a60088e4db2a670d4903b54.html b/classnlohmann_1_1basic__json_ada8e01109a60088e4db2a670d4903b54.html index 1b7c63d95..7371fe369 100644 --- a/classnlohmann_1_1basic__json_ada8e01109a60088e4db2a670d4903b54.html +++ b/classnlohmann_1_1basic__json_ada8e01109a60088e4db2a670d4903b54.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -290,10 +290,10 @@ template<template< typename U, typename V, typename...Args > class Obje
26  std::cout << "out of range" << '\n';
27  }
28 }
-
static basic_json array(std::initializer_list< basic_json > init=std::initializer_list< basic_json >())
explicitly create an array from an initializer list
Definition: json.hpp:1370
-
a class to store JSON values
Definition: json.hpp:200
-
reference at(size_type idx)
access specified array element with bounds checking
Definition: json.hpp:2454
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
static basic_json array(std::initializer_list< basic_json > init=std::initializer_list< basic_json >())
explicitly create an array from an initializer list
Definition: json.hpp:1443
+
a class to store JSON values
Definition: json.hpp:181
+
reference at(size_type idx)
access specified array element with bounds checking
Definition: json.hpp:2539
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
"third"
 ["first","second","third","fourth"]
 out of range
@@ -307,7 +307,7 @@ out of range
 
 
 
diff --git a/classnlohmann_1_1basic__json_adbd4c16c9ac641b2a4736bc2c6787d83.html b/classnlohmann_1_1basic__json_adbd4c16c9ac641b2a4736bc2c6787d83.html
index c6eec8908..0595164bd 100644
--- a/classnlohmann_1_1basic__json_adbd4c16c9ac641b2a4736bc2c6787d83.html
+++ b/classnlohmann_1_1basic__json_adbd4c16c9ac641b2a4736bc2c6787d83.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -243,7 +243,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_add77b50f69debb20e98d5a8c6c11c90c.html b/classnlohmann_1_1basic__json_add77b50f69debb20e98d5a8c6c11c90c.html
index 4bdb6519f..0cda27f85 100644
--- a/classnlohmann_1_1basic__json_add77b50f69debb20e98d5a8c6c11c90c.html
+++ b/classnlohmann_1_1basic__json_add77b50f69debb20e98d5a8c6c11c90c.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -282,13 +282,14 @@ template<template< typename U, typename V, typename...Args > class Obje
 
15  std::cout << array_1 << '\n';
16  std::cout << array_5 << '\n';
17 }
-
basic_json<> json
default JSON class
Definition: json.hpp:7340
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
basic_json<> json
default JSON class
Definition: json.hpp:7425
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
[]
 ["Hello"]
 ["Hello","Hello","Hello","Hello","Hello"]
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__size_type_basic_json.cpp -o basic_json__size_type_basic_json 
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__size_type_basic_json.cpp -o basic_json__size_type_basic_json 
+
Since
version 1.0
@@ -298,7 +299,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_ade7bd6e0fe221fec9d3fa9b430f5ce76.html b/classnlohmann_1_1basic__json_ade7bd6e0fe221fec9d3fa9b430f5ce76.html index 01e22d04f..5e2a59e4f 100644 --- a/classnlohmann_1_1basic__json_ade7bd6e0fe221fec9d3fa9b430f5ce76.html +++ b/classnlohmann_1_1basic__json_ade7bd6e0fe221fec9d3fa9b430f5ce76.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -275,9 +275,9 @@ template<template< typename U, typename V, typename...Args > class Obje
18  std::cout << j_array.dump(0) << "\n\n";
19  std::cout << j_array.dump(4) << "\n\n";
20 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
string_t dump(const int indent=-1) const
serialization
Definition: json.hpp:1750
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
string_t dump(const int indent=-1) const
serialization
Definition: json.hpp:1835
Output (play with this example online):
{"one":1,"two":2}
 
 {"one":1,"two":2}
@@ -323,7 +323,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_adf5dea6fa9d7075ff89ca0796ab47a7e.html b/classnlohmann_1_1basic__json_adf5dea6fa9d7075ff89ca0796ab47a7e.html
index aaa772873..853fcee5e 100644
--- a/classnlohmann_1_1basic__json_adf5dea6fa9d7075ff89ca0796ab47a7e.html
+++ b/classnlohmann_1_1basic__json_adf5dea6fa9d7075ff89ca0796ab47a7e.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -275,8 +275,8 @@ template<template< typename U, typename V, typename...Args > class Obje
 
15  std::cout << a << '\n';
16  std::cout << b << '\n';
17 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
23
 23
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__copyassignment.cpp -o basic_json__copyassignment 
@@ -289,7 +289,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_ae2980ed978451f844e6e9a0890b637a6.html b/classnlohmann_1_1basic__json_ae2980ed978451f844e6e9a0890b637a6.html index f3070d10c..970ea3ba6 100644 --- a/classnlohmann_1_1basic__json_ae2980ed978451f844e6e9a0890b637a6.html +++ b/classnlohmann_1_1basic__json_ae2980ed978451f844e6e9a0890b637a6.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -268,11 +268,12 @@ template<template< typename U, typename V, typename...Args > class Obje
12  std::cout << j_truth << '\n';
13  std::cout << j_falsity << '\n';
14 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
true
 false
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__boolean_t.cpp -o basic_json__boolean_t 
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__boolean_t.cpp -o basic_json__boolean_t 
+
Since
version 1.0
@@ -282,7 +283,7 @@ false diff --git a/classnlohmann_1_1basic__json_ae347859ec88176ef76a0cbe5b4514fcf.html b/classnlohmann_1_1basic__json_ae347859ec88176ef76a0cbe5b4514fcf.html index d7980db0b..c409bc5b8 100644 --- a/classnlohmann_1_1basic__json_ae347859ec88176ef76a0cbe5b4514fcf.html +++ b/classnlohmann_1_1basic__json_ae347859ec88176ef76a0cbe5b4514fcf.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -287,8 +287,8 @@ template<template< typename U, typename V, typename...Args > class Obje
19  std::cout << string << " != nullptr " << (string != nullptr) << '\n';
20  std::cout << null << " != nullptr " << (null != nullptr) << '\n';
21 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77

Output (play with this example online):

[1,2,3] != nullptr true
 {"A":"a","B":"b"} != nullptr true
 17 != nullptr true
@@ -303,7 +303,7 @@ null != nullptr false
 
 
 
diff --git a/classnlohmann_1_1basic__json_ae42d32c34c8014b1bf677fdb7baa5401.html b/classnlohmann_1_1basic__json_ae42d32c34c8014b1bf677fdb7baa5401.html
index 12c8daad7..f682c6c75 100644
--- a/classnlohmann_1_1basic__json_ae42d32c34c8014b1bf677fdb7baa5401.html
+++ b/classnlohmann_1_1basic__json_ae42d32c34c8014b1bf677fdb7baa5401.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -283,11 +283,14 @@ template<class CompatibleStringType , typename std::enable_if<
 
13  // serialize the JSON string
14  std::cout << j << '\n';
15 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
"The quick brown fox jumps over the lazy dog."
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__CompatibleStringType.cpp -o basic_json__CompatibleStringType 
-
See also
basic_json(const string_t&)
+
See also
basic_json(const string_t&) – create a string value
+
+basic_json(const typename string_t::value_type*) – create a string value from a character pointer
+
Since
version 1.0
@@ -297,7 +300,7 @@ template<class CompatibleStringType , typename std::enable_if< diff --git a/classnlohmann_1_1basic__json_ae50f22a1c646b8627e88f1313cceffd4.html b/classnlohmann_1_1basic__json_ae50f22a1c646b8627e88f1313cceffd4.html index b83228d33..2c05b10c2 100644 --- a/classnlohmann_1_1basic__json_ae50f22a1c646b8627e88f1313cceffd4.html +++ b/classnlohmann_1_1basic__json_ae50f22a1c646b8627e88f1313cceffd4.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -277,11 +277,11 @@ template<typename PointerType , typename std::enable_if<
18  std::cout << *p1 << ' ' << *p2 << ' ' << *p3 << ' ' << *p4 << '\n';
19  std::cout << std::boolalpha << (p5 == nullptr) << '\n';
20 }
-
a class to store JSON values
Definition: json.hpp:200
-
ValueType value(const typename object_t::key_type &key, ValueType default_value) const
access specified object element with default value
Definition: json.hpp:2787
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
ValueType get() const
get a value (explicit)
Definition: json.hpp:2289
-
NumberIntegerType number_integer_t
a type for a number (integer)
Definition: json.hpp:516
+
a class to store JSON values
Definition: json.hpp:181
+
ValueType value(const typename object_t::key_type &key, ValueType default_value) const
access specified object element with default value
Definition: json.hpp:2872
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
ValueType get() const
get a value (explicit)
Definition: json.hpp:2374
+
NumberIntegerType number_integer_t
a type for a number (integer)
Definition: json.hpp:511
NumberFloatType number_float_t
a type for a number (floating-point)
Definition: json.hpp:576
Output (play with this example online):
17 17 17 17
 true
@@ -296,7 +296,7 @@ true
 
 
 
diff --git a/classnlohmann_1_1basic__json_ae5ae3b1c6c67f52e9495ac092f6fb43e.html b/classnlohmann_1_1basic__json_ae5ae3b1c6c67f52e9495ac092f6fb43e.html
index 803abd9d7..bb93c9e15 100644
--- a/classnlohmann_1_1basic__json_ae5ae3b1c6c67f52e9495ac092f6fb43e.html
+++ b/classnlohmann_1_1basic__json_ae5ae3b1c6c67f52e9495ac092f6fb43e.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -289,10 +289,10 @@ template<template< typename U, typename V, typename...Args > class Obje
 
14  std::cout << *new_pos << '\n';
15  std::cout << v << '\n';
16 }
-
a class to store JSON values
Definition: json.hpp:200
-
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3225
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
iterator insert(const_iterator pos, const basic_json &value)
inserts element
Definition: json.hpp:3814
+
a class to store JSON values
Definition: json.hpp:181
+
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3310
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
iterator insert(const_iterator pos, const basic_json &value)
inserts element
Definition: json.hpp:3899
Output (play with this example online):
10
 [1,2,10,3,4]
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/insert.cpp -o insert 
@@ -305,7 +305,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_ae874cfc1746b560c53a03bcf5b7bbeed.html b/classnlohmann_1_1basic__json_ae874cfc1746b560c53a03bcf5b7bbeed.html index cbecb3d01..588d29138 100644 --- a/classnlohmann_1_1basic__json_ae874cfc1746b560c53a03bcf5b7bbeed.html +++ b/classnlohmann_1_1basic__json_ae874cfc1746b560c53a03bcf5b7bbeed.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -273,9 +273,9 @@ template<template< typename U, typename V, typename...Args > class Obje
23  std::cout << j_array.is_structured() << '\n';
24  std::cout << j_string.is_structured() << '\n';
25 }
-
a class to store JSON values
Definition: json.hpp:200
-
bool is_structured() const noexcept
return whether type is structured
Definition: json.hpp:1816
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
bool is_structured() const noexcept
return whether type is structured
Definition: json.hpp:1901
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
false
 false
 false
@@ -293,7 +293,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_ae928414b2805cf6ef56b4e4f8d235416.html b/classnlohmann_1_1basic__json_ae928414b2805cf6ef56b4e4f8d235416.html
index 842830381..5420c943a 100644
--- a/classnlohmann_1_1basic__json_ae928414b2805cf6ef56b4e4f8d235416.html
+++ b/classnlohmann_1_1basic__json_ae928414b2805cf6ef56b4e4f8d235416.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -243,7 +243,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_ae960d2d6bc7b94fe39cc5e9f106edfa9.html b/classnlohmann_1_1basic__json_ae960d2d6bc7b94fe39cc5e9f106edfa9.html
index 6bbb3e8dd..4b791f039 100644
--- a/classnlohmann_1_1basic__json_ae960d2d6bc7b94fe39cc5e9f106edfa9.html
+++ b/classnlohmann_1_1basic__json_ae960d2d6bc7b94fe39cc5e9f106edfa9.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -273,9 +273,9 @@ template<template< typename U, typename V, typename...Args > class Obje
 
10  // output element at index 2 (third element)
11  std::cout << array.at(2) << '\n';
12 }
-
a class to store JSON values
Definition: json.hpp:200
-
reference at(size_type idx)
access specified array element with bounds checking
Definition: json.hpp:2454
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
reference at(size_type idx)
access specified array element with bounds checking
Definition: json.hpp:2539
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
"third"
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/operatorarray__size_type_const.cpp -o operatorarray__size_type_const 
@@ -287,7 +287,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_aea1c863b719b4ca5b77188c171bbfafe.html b/classnlohmann_1_1basic__json_aea1c863b719b4ca5b77188c171bbfafe.html index e5a0f325d..2b2ec38b0 100644 --- a/classnlohmann_1_1basic__json_aea1c863b719b4ca5b77188c171bbfafe.html +++ b/classnlohmann_1_1basic__json_aea1c863b719b4ca5b77188c171bbfafe.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -242,7 +242,8 @@ template<template< typename U, typename V, typename...Args > class Obje
-

This enumeration lists the parser events that can trigger calling a callback function of type parser_callback_t during parsing.

+

This enumeration lists the parser events that can trigger calling a callback function of type parser_callback_t during parsing.

+
Since
version 1.0
- + @@ -284,9 +284,9 @@ template<template< typename U, typename V, typename...Args > class Obje
22  std::cout << object << '\n';
23  std::cout << null << '\n';
24 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3685
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3770
Output (play with this example online):
{"one":1,"two":2}
 null
 {"four":4,"one":1,"three":3,"two":2}
@@ -301,7 +301,7 @@ null
 
 
 
diff --git a/classnlohmann_1_1basic__json_af073eec08d2e68924098aef09e9a10ba.html b/classnlohmann_1_1basic__json_af073eec08d2e68924098aef09e9a10ba.html
index 217e1bf96..4d257edc7 100644
--- a/classnlohmann_1_1basic__json_af073eec08d2e68924098aef09e9a10ba.html
+++ b/classnlohmann_1_1basic__json_af073eec08d2e68924098aef09e9a10ba.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           
- + @@ -271,9 +271,9 @@ template<template< typename U, typename V, typename...Args > class Obje
15  std::cout << "j1 = " << j1 << '\n';
16  std::cout << "j2 = " << j2 << '\n';
17 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
void swap(reference other) noexcept( std::is_nothrow_move_constructible< value_t >::value and std::is_nothrow_move_assignable< value_t >::value and std::is_nothrow_move_constructible< json_value >::value and std::is_nothrow_move_assignable< json_value >::value )
exchanges the values
Definition: json.hpp:3996
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
void swap(reference other) noexcept( std::is_nothrow_move_constructible< value_t >::value and std::is_nothrow_move_assignable< value_t >::value and std::is_nothrow_move_constructible< json_value >::value and std::is_nothrow_move_assignable< json_value >::value )
exchanges the values
Definition: json.hpp:4081
Output (play with this example online):
j1 = {"e":2.71828182845905,"pi":3.14159265358979}
 j2 = [1,2,3,4,5]
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/swap__reference.cpp -o swap__reference 
@@ -286,7 +286,7 @@ j2 = [1,2,3,4,5] diff --git a/classnlohmann_1_1basic__json_af0ebd1757acb971a6504b4acabf88584.html b/classnlohmann_1_1basic__json_af0ebd1757acb971a6504b4acabf88584.html index e8346dc2f..ff7f98dae 100644 --- a/classnlohmann_1_1basic__json_af0ebd1757acb971a6504b4acabf88584.html +++ b/classnlohmann_1_1basic__json_af0ebd1757acb971a6504b4acabf88584.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - + @@ -271,10 +271,10 @@ Illustration from cppreference.com
13  // serialize the element that the iterator points to
14  std::cout << *it << '\n';
15 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
-
reverse_iterator rbegin()
returns an iterator to the reverse-beginning
Definition: json.hpp:3334
-
a template for a reverse iterator class
Definition: json.hpp:245
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
+
reverse_iterator rbegin()
returns an iterator to the reverse-beginning
Definition: json.hpp:3419
+
a template for a reverse iterator class
Definition: json.hpp:226
Output (play with this example online):
5
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/rbegin.cpp -o rbegin 
@@ -286,7 +286,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_af1e3f9e079136abca2530c8191c56292.html b/classnlohmann_1_1basic__json_af1e3f9e079136abca2530c8191c56292.html index c0badd932..c4a6862f2 100644 --- a/classnlohmann_1_1basic__json_af1e3f9e079136abca2530c8191c56292.html +++ b/classnlohmann_1_1basic__json_af1e3f9e079136abca2530c8191c56292.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - + @@ -315,18 +315,19 @@ template<template< typename U, typename V, typename...Args > class Obje
18  std::cout << j_nested_object << '\n';
19  std::cout << j_nested_array << '\n';
20 }
-
basic_json<> json
default JSON class
Definition: json.hpp:7340
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
basic_json<> json
default JSON class
Definition: json.hpp:7425
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
{}
 {"one":1,"two":2}
 [1,2,3,4]
 {"one":[1],"two":[1,2]}
 [[[1],"one"],[[1,2],"two"]]
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__list_init_t.cpp -o basic_json__list_init_t 
-
See also
basic_json array(std::initializer_list<basic_json>) - create a JSON array value from an initializer list
+
See also
array(std::initializer_list<basic_json>) - create a JSON array value from an initializer list
-basic_json object(std::initializer_list<basic_json>) - create a JSON object value from an initializer list
+object(std::initializer_list<basic_json>) - create a JSON object value from an initializer list
+
Since
version 1.0
@@ -336,7 +337,7 @@ basic_json object(std::initializer_list<basic_json>) - create a JSON objec diff --git a/classnlohmann_1_1basic__json_af2730bc8ffa6b28916875c13ee7b83f5.html b/classnlohmann_1_1basic__json_af2730bc8ffa6b28916875c13ee7b83f5.html index 1b9c61a2e..5c806e41f 100644 --- a/classnlohmann_1_1basic__json_af2730bc8ffa6b28916875c13ee7b83f5.html +++ b/classnlohmann_1_1basic__json_af2730bc8ffa6b28916875c13ee7b83f5.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - + @@ -241,7 +241,7 @@ template<template< typename U, typename V, typename...Args > class Obje - + @@ -259,7 +259,7 @@ template<template< typename U, typename V, typename...Args > class Obje
Parameters
Enumerator
object_start 

the parser read { and started to process a JSON object

@@ -272,7 +273,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_aeda4ec7473c17fae51e6d1eba0faf720.html b/classnlohmann_1_1basic__json_aeda4ec7473c17fae51e6d1eba0faf720.html index 57d31ecad..6372aeb3e 100644 --- a/classnlohmann_1_1basic__json_aeda4ec7473c17fae51e6d1eba0faf720.html +++ b/classnlohmann_1_1basic__json_aeda4ec7473c17fae51e6d1eba0faf720.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
parser_callback_t parser_callback_t  cb = nullptr 
- +
[in]sstring to read a serialized JSON value from
[in]cba parser callback function of type parser_callback_t which is used to control the deserialization by filtering unwanted values (optional)
[in]cba parser callback function of type parser_callback_t which is used to control the deserialization by filtering unwanted values (optional)
@@ -296,7 +296,7 @@ template<template< typename U, typename V, typename...Args > class Obje
28 
29 
30  // define parser callback
-
31  json::parser_callback_t cb = [](int depth, json::parse_event_t event, json & parsed)
+
31  json::parser_callback_t cb = [](int depth, json::parse_event_t event, json & parsed)
32  {
33  // skip object elements with key "Thumbnail"
34  if (event == json::parse_event_t::key and parsed == json("Thumbnail"))
@@ -313,13 +313,13 @@ template<template< typename U, typename V, typename...Args > class Obje
45  json j_filtered = json::parse(text, cb);
46  std::cout << std::setw(4) << j_filtered << '\n';
47 }
-
basic_json<> json
default JSON class
Definition: json.hpp:7340
-
a class to store JSON values
Definition: json.hpp:200
-
std::function< bool(int depth, parse_event_t event, basic_json &parsed)> parser_callback_t
per-element parser callback type
Definition: json.hpp:791
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
basic_json<> json
default JSON class
Definition: json.hpp:7425
+
a class to store JSON values
Definition: json.hpp:181
+
std::function< bool(int depth, parse_event_t event, basic_json &parsed)> parser_callback_t
per-element parser callback type
Definition: json.hpp:803
+
namespace for Niels Lohmann
Definition: json.hpp:77
the parser read a key of a value in an object
-
static basic_json parse(const string_t &s, parser_callback_t cb=nullptr)
deserialize from string
Definition: json.hpp:4489
-
parse_event_t
JSON callback events.
Definition: json.hpp:727
+
static basic_json parse(const string_t &s, parser_callback_t cb=nullptr)
deserialize from string
Definition: json.hpp:4574
+
parse_event_t
JSON callback events.
Definition: json.hpp:738
Output (play with this example online):
{
     "Image": {
         "Animated": false,
@@ -365,7 +365,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_af661bc209bf22097e2f76607a11b56bf.html b/classnlohmann_1_1basic__json_af661bc209bf22097e2f76607a11b56bf.html
index 0b2b3f8e1..ac940bf51 100644
--- a/classnlohmann_1_1basic__json_af661bc209bf22097e2f76607a11b56bf.html
+++ b/classnlohmann_1_1basic__json_af661bc209bf22097e2f76607a11b56bf.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -273,9 +273,9 @@ template<template< typename U, typename V, typename...Args > class Obje
 
23  std::cout << j_array.is_boolean() << '\n';
24  std::cout << j_string.is_boolean() << '\n';
25 }
-
a class to store JSON values
Definition: json.hpp:200
-
bool is_boolean() const noexcept
return whether value is a boolean
Definition: json.hpp:1850
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
bool is_boolean() const noexcept
return whether value is a boolean
Definition: json.hpp:1935
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
false
 true
 false
@@ -293,7 +293,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_af6b6050ccd906dddf7c9f47fe3ad62a5.html b/classnlohmann_1_1basic__json_af6b6050ccd906dddf7c9f47fe3ad62a5.html
index 0005e2f91..634247a1d 100644
--- a/classnlohmann_1_1basic__json_af6b6050ccd906dddf7c9f47fe3ad62a5.html
+++ b/classnlohmann_1_1basic__json_af6b6050ccd906dddf7c9f47fe3ad62a5.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -284,9 +284,9 @@ template<template< typename U, typename V, typename...Args > class Obje
 
20  std::cout << "out of range" << '\n';
21  }
22 }
-
a class to store JSON values
Definition: json.hpp:200
-
reference at(size_type idx)
access specified array element with bounds checking
Definition: json.hpp:2454
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
reference at(size_type idx)
access specified array element with bounds checking
Definition: json.hpp:2539
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
"third"
 out of range
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/at__size_type_const.cpp -o at__size_type_const 
@@ -299,7 +299,7 @@ out of range diff --git a/classnlohmann_1_1basic__json_af709c079de0ac3507143ea2c60699bd0.html b/classnlohmann_1_1basic__json_af709c079de0ac3507143ea2c60699bd0.html index f1d073e1e..e2e0b37ff 100644 --- a/classnlohmann_1_1basic__json_af709c079de0ac3507143ea2c60699bd0.html +++ b/classnlohmann_1_1basic__json_af709c079de0ac3507143ea2c60699bd0.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -311,8 +311,8 @@ template<typename ValueType , typename std::enable_if<
47  std::cout << i.first << ": " << i.second << '\n';
48  }
49 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
1
 42 42
 17.23 17
@@ -334,7 +334,7 @@ array: [1,2,3,4,5]
 
 
 
diff --git a/classnlohmann_1_1basic__json_af74581d177dafc38df5a126ccd358999.html b/classnlohmann_1_1basic__json_af74581d177dafc38df5a126ccd358999.html
index c8e109e97..9f9d41686 100644
--- a/classnlohmann_1_1basic__json_af74581d177dafc38df5a126ccd358999.html
+++ b/classnlohmann_1_1basic__json_af74581d177dafc38df5a126ccd358999.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -292,8 +292,8 @@ template<template< typename U, typename V, typename...Args > class Obje
 
28  // output changed object
29  std::cout << std::setw(4) << object << '\n';
30 }
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
2
 
 {
@@ -326,7 +326,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_af93e556bf708cb81b22ce223af1aa727.html b/classnlohmann_1_1basic__json_af93e556bf708cb81b22ce223af1aa727.html
index 6f58819b6..1e20430dc 100644
--- a/classnlohmann_1_1basic__json_af93e556bf708cb81b22ce223af1aa727.html
+++ b/classnlohmann_1_1basic__json_af93e556bf708cb81b22ce223af1aa727.html
@@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           parse
           parse
           parse_event_t
-          parser_callback_t
+          parser_callback_t
           pointer
           push_back
           push_back
@@ -275,12 +275,13 @@ template<template< typename U, typename V, typename...Args > class Obje
 
13  // serialize the JSON array
14  std::cout << j << '\n';
15 }
-
ArrayType< basic_json, AllocatorType< basic_json >> array_t
a type for an array
Definition: json.hpp:384
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
ArrayType< basic_json, AllocatorType< basic_json >> array_t
a type for an array
Definition: json.hpp:371
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
["one","two",3,4.5,false]
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__array_t.cpp -o basic_json__array_t 
-
See also
basic_json(const CompatibleArrayType&)
+
See also
basic_json(const CompatibleArrayType&) – create an array value from a compatible STL containers
+
Since
version 1.0
@@ -290,7 +291,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_afc4223b5ad03b1b76e925374a8fff98e.html b/classnlohmann_1_1basic__json_afc4223b5ad03b1b76e925374a8fff98e.html index 7cf34d020..e285560f0 100644 --- a/classnlohmann_1_1basic__json_afc4223b5ad03b1b76e925374a8fff98e.html +++ b/classnlohmann_1_1basic__json_afc4223b5ad03b1b76e925374a8fff98e.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); parse parse parse_event_t - parser_callback_t + parser_callback_t pointer push_back push_back @@ -278,17 +278,18 @@ template<template< typename U, typename V, typename...Args > class Obje
16  std::cout << j_nonempty_init_list << '\n';
17  std::cout << j_list_of_pairs << '\n';
18 }
-
static basic_json array(std::initializer_list< basic_json > init=std::initializer_list< basic_json >())
explicitly create an array from an initializer list
Definition: json.hpp:1370
-
a class to store JSON values
Definition: json.hpp:200
-
namespace for Niels Lohmann
Definition: json.hpp:96
+
static basic_json array(std::initializer_list< basic_json > init=std::initializer_list< basic_json >())
explicitly create an array from an initializer list
Definition: json.hpp:1443
+
a class to store JSON values
Definition: json.hpp:181
+
namespace for Niels Lohmann
Definition: json.hpp:77
Output (play with this example online):
[]
 []
 [1,2,3,4]
 [["one",1],["two",2]]
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/array.cpp -o array 
-
See also
basic_json(std::initializer_list<basic_json>, bool, value_t) - create a JSON value from an initializer list
+
See also
basic_json(std::initializer_list<basic_json>, bool, value_t) – create a JSON value from an initializer list
-basic_json object(std::initializer_list<basic_json>) - create a JSON object value from an initializer list
+object(std::initializer_list<basic_json>) – create a JSON object value from an initializer list
+
Since
version 1.0
@@ -298,7 +299,7 @@ basic_json object(std::initializer_list<basic_json>) - create a JSON objec diff --git a/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/dir_68267d1309a1af8e8297ef4c3efbcdba.html index 969557c6b..6df111b69 100644 --- a/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ b/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -92,7 +92,7 @@ Files diff --git a/functions.html b/functions.html index bb545fe30..994cae889 100644 --- a/functions.html +++ b/functions.html @@ -134,7 +134,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_b.html b/functions_b.html index d4645a286..db6db4a00 100644 --- a/functions_b.html +++ b/functions_b.html @@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_c.html b/functions_c.html index 303aabc1c..588a79b4e 100644 --- a/functions_c.html +++ b/functions_c.html @@ -152,7 +152,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_d.html b/functions_d.html index db6f49a22..441e2e7d3 100644 --- a/functions_d.html +++ b/functions_d.html @@ -129,7 +129,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_e.html b/functions_e.html index 2d8841a34..ef7f25900 100644 --- a/functions_e.html +++ b/functions_e.html @@ -132,7 +132,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_enum.html b/functions_enum.html index 96b32c12f..253f9ab9e 100644 --- a/functions_enum.html +++ b/functions_enum.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_f.html b/functions_f.html index c2c9a1bea..2771fdc22 100644 --- a/functions_f.html +++ b/functions_f.html @@ -128,7 +128,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_func.html b/functions_func.html index b976be8d0..cd740dbca 100644 --- a/functions_func.html +++ b/functions_func.html @@ -415,7 +415,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_g.html b/functions_g.html index 7b0d5b3da..8a5dbb3f6 100644 --- a/functions_g.html +++ b/functions_g.html @@ -131,7 +131,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_i.html b/functions_i.html index ab394cbd5..b058338f6 100644 --- a/functions_i.html +++ b/functions_i.html @@ -167,7 +167,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_j.html b/functions_j.html index 3b96b9afd..b8713b514 100644 --- a/functions_j.html +++ b/functions_j.html @@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_k.html b/functions_k.html index a318c5ed0..35755e57b 100644 --- a/functions_k.html +++ b/functions_k.html @@ -126,7 +126,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_m.html b/functions_m.html index 7b1fdc5e4..2878a3159 100644 --- a/functions_m.html +++ b/functions_m.html @@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_n.html b/functions_n.html index afe456e80..4e5ebc57e 100644 --- a/functions_n.html +++ b/functions_n.html @@ -128,7 +128,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_o.html b/functions_o.html index 125b28b0b..f01abf790 100644 --- a/functions_o.html +++ b/functions_o.html @@ -216,7 +216,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_p.html b/functions_p.html index 094612dae..f99d40e80 100644 --- a/functions_p.html +++ b/functions_p.html @@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : nlohmann::basic_json
  • parser_callback_t -: nlohmann::basic_json +: nlohmann::basic_json
  • pointer : nlohmann::basic_json::const_iterator @@ -139,7 +139,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_r.html b/functions_r.html index cdde30d1a..eae434f1b 100644 --- a/functions_r.html +++ b/functions_r.html @@ -137,7 +137,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_rela.html b/functions_rela.html index 407e758b6..45116df7d 100644 --- a/functions_rela.html +++ b/functions_rela.html @@ -124,7 +124,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_s.html b/functions_s.html index 9320ffceb..131366dff 100644 --- a/functions_s.html +++ b/functions_s.html @@ -134,7 +134,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_t.html b/functions_t.html index 321c6657e..d9ef218de 100644 --- a/functions_t.html +++ b/functions_t.html @@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_type.html b/functions_type.html index ce4a902c8..a7bcb865f 100644 --- a/functions_type.html +++ b/functions_type.html @@ -132,7 +132,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : nlohmann::basic_json
  • parser_callback_t -: nlohmann::basic_json +: nlohmann::basic_json
  • pointer : nlohmann::basic_json::const_iterator @@ -162,7 +162,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_v.html b/functions_v.html index 857d45362..8e1f665a8 100644 --- a/functions_v.html +++ b/functions_v.html @@ -135,7 +135,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_~.html b/functions_~.html index 6d3b1417a..f866b2ddb 100644 --- a/functions_~.html +++ b/functions_~.html @@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/graph_legend.html b/graph_legend.html index d4f938967..7aa45e88f 100644 --- a/graph_legend.html +++ b/graph_legend.html @@ -142,7 +142,7 @@ A yellow dashed arrow denotes a relation between a template instance and the tem diff --git a/hierarchy.html b/hierarchy.html index 8108c7ce1..e80dc5cf0 100644 --- a/hierarchy.html +++ b/hierarchy.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/index.html b/index.html index 1863146ee..eee6d419a 100644 --- a/index.html +++ b/index.html @@ -91,7 +91,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/namespacemembers.html b/namespacemembers.html index 15d6e0b1c..1200575ec 100644 --- a/namespacemembers.html +++ b/namespacemembers.html @@ -94,7 +94,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/namespacemembers_type.html b/namespacemembers_type.html index 81632d9ec..8cbc822c7 100644 --- a/namespacemembers_type.html +++ b/namespacemembers_type.html @@ -94,7 +94,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/namespacenlohmann.html b/namespacenlohmann.html index 5a9fa3d7b..7ed1fb3f8 100644 --- a/namespacenlohmann.html +++ b/namespacenlohmann.html @@ -115,7 +115,7 @@ Typedefs diff --git a/namespacenlohmann_1_1anonymous__namespace_02json_8hpp_03.html b/namespacenlohmann_1_1anonymous__namespace_02json_8hpp_03.html index 6893285f9..fb06544e7 100644 --- a/namespacenlohmann_1_1anonymous__namespace_02json_8hpp_03.html +++ b/namespacenlohmann_1_1anonymous__namespace_02json_8hpp_03.html @@ -103,7 +103,7 @@ Classes diff --git a/namespacenlohmann_a2bfd99e845a2e5cd90aeaf1b1431f474.html b/namespacenlohmann_a2bfd99e845a2e5cd90aeaf1b1431f474.html index a74818082..9908ab6af 100644 --- a/namespacenlohmann_a2bfd99e845a2e5cd90aeaf1b1431f474.html +++ b/namespacenlohmann_a2bfd99e845a2e5cd90aeaf1b1431f474.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/search/all_e.js b/search/all_e.js index 509a51240..047b45552 100644 --- a/search/all_e.js +++ b/search/all_e.js @@ -2,7 +2,7 @@ var searchData= [ ['parse',['parse',['../classnlohmann_1_1basic__json_af2730bc8ffa6b28916875c13ee7b83f5.html#af2730bc8ffa6b28916875c13ee7b83f5',1,'nlohmann::basic_json::parse(const string_t &s, parser_callback_t cb=nullptr)'],['../classnlohmann_1_1basic__json_a74ccfa471a0c061876b247f820f3c741.html#a74ccfa471a0c061876b247f820f3c741',1,'nlohmann::basic_json::parse(std::istream &i, parser_callback_t cb=nullptr)'],['../classnlohmann_1_1basic__json_aa0422e861b4cbd7cdcaad7a11a1304a9.html#aa0422e861b4cbd7cdcaad7a11a1304a9',1,'nlohmann::basic_json::parse(std::istream &&i, parser_callback_t cb=nullptr)']]], ['parse_5fevent_5ft',['parse_event_t',['../classnlohmann_1_1basic__json_aea1c863b719b4ca5b77188c171bbfafe.html#aea1c863b719b4ca5b77188c171bbfafe',1,'nlohmann::basic_json']]], - ['parser_5fcallback_5ft',['parser_callback_t',['../classnlohmann_1_1basic__json_aa8e533b4290ade5bf5a33104a69b202a.html#aa8e533b4290ade5bf5a33104a69b202a',1,'nlohmann::basic_json']]], + ['parser_5fcallback_5ft',['parser_callback_t',['../classnlohmann_1_1basic__json_aabe4661644ea549089f0886c2551d2ac.html#aabe4661644ea549089f0886c2551d2ac',1,'nlohmann::basic_json']]], ['pointer',['pointer',['../classnlohmann_1_1basic__json_a6bbd3e72a870f1ba81ff6886b063b0fe.html#a6bbd3e72a870f1ba81ff6886b063b0fe',1,'nlohmann::basic_json::pointer()'],['../classnlohmann_1_1basic__json_1_1const__iterator_a4f7ac43b0ab34c387b1ae1a8e9c08467.html#a4f7ac43b0ab34c387b1ae1a8e9c08467',1,'nlohmann::basic_json::const_iterator::pointer()'],['../classnlohmann_1_1basic__json_1_1iterator_afe65b5a0572c7bfdd7ccc942bb8e9fe2.html#afe65b5a0572c7bfdd7ccc942bb8e9fe2',1,'nlohmann::basic_json::iterator::pointer()']]], ['push_5fback',['push_back',['../classnlohmann_1_1basic__json_a429c2606865483ff357cccc1b1c46569.html#a429c2606865483ff357cccc1b1c46569',1,'nlohmann::basic_json::push_back(basic_json &&value)'],['../classnlohmann_1_1basic__json_a749e58042d8069f4f048ee4d23c43f63.html#a749e58042d8069f4f048ee4d23c43f63',1,'nlohmann::basic_json::push_back(const basic_json &value)'],['../classnlohmann_1_1basic__json_aeda4ec7473c17fae51e6d1eba0faf720.html#aeda4ec7473c17fae51e6d1eba0faf720',1,'nlohmann::basic_json::push_back(const typename object_t::value_type &value)']]] ]; diff --git a/search/typedefs_8.js b/search/typedefs_8.js index 81ac4ecee..b3327732e 100644 --- a/search/typedefs_8.js +++ b/search/typedefs_8.js @@ -1,5 +1,5 @@ var searchData= [ - ['parser_5fcallback_5ft',['parser_callback_t',['../classnlohmann_1_1basic__json_aa8e533b4290ade5bf5a33104a69b202a.html#aa8e533b4290ade5bf5a33104a69b202a',1,'nlohmann::basic_json']]], + ['parser_5fcallback_5ft',['parser_callback_t',['../classnlohmann_1_1basic__json_aabe4661644ea549089f0886c2551d2ac.html#aabe4661644ea549089f0886c2551d2ac',1,'nlohmann::basic_json']]], ['pointer',['pointer',['../classnlohmann_1_1basic__json_a6bbd3e72a870f1ba81ff6886b063b0fe.html#a6bbd3e72a870f1ba81ff6886b063b0fe',1,'nlohmann::basic_json::pointer()'],['../classnlohmann_1_1basic__json_1_1const__iterator_a4f7ac43b0ab34c387b1ae1a8e9c08467.html#a4f7ac43b0ab34c387b1ae1a8e9c08467',1,'nlohmann::basic_json::const_iterator::pointer()'],['../classnlohmann_1_1basic__json_1_1iterator_afe65b5a0572c7bfdd7ccc942bb8e9fe2.html#afe65b5a0572c7bfdd7ccc942bb8e9fe2',1,'nlohmann::basic_json::iterator::pointer()']]] ]; diff --git a/structstd_1_1hash_3_01nlohmann_1_1json_01_4-members.html b/structstd_1_1hash_3_01nlohmann_1_1json_01_4-members.html index caff8535b..4cb8a0e8c 100644 --- a/structstd_1_1hash_3_01nlohmann_1_1json_01_4-members.html +++ b/structstd_1_1hash_3_01nlohmann_1_1json_01_4-members.html @@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/structstd_1_1hash_3_01nlohmann_1_1json_01_4.html b/structstd_1_1hash_3_01nlohmann_1_1json_01_4.html index 9b900ff1f..c10bf8e4c 100644 --- a/structstd_1_1hash_3_01nlohmann_1_1json_01_4.html +++ b/structstd_1_1hash_3_01nlohmann_1_1json_01_4.html @@ -109,7 +109,7 @@ Public Member Functions diff --git a/structstd_1_1hash_3_01nlohmann_1_1json_01_4_afd03f6ad53db22868ca4163a8200b2f9.html b/structstd_1_1hash_3_01nlohmann_1_1json_01_4_afd03f6ad53db22868ca4163a8200b2f9.html index aaf4e9bcb..b2fcea00b 100644 --- a/structstd_1_1hash_3_01nlohmann_1_1json_01_4_afd03f6ad53db22868ca4163a8200b2f9.html +++ b/structstd_1_1hash_3_01nlohmann_1_1json_01_4_afd03f6ad53db22868ca4163a8200b2f9.html @@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');