diff --git a/Tokens.xml b/Tokens.xml index 42ece507b..133028b43 100644 --- a/Tokens.xml +++ b/Tokens.xml @@ -845,7 +845,7 @@ classnlohmann_1_1basic__json_a7dab69b10b98e7bc694339720e37fb2b.html a7dab69b10b98e7bc694339720e37fb2b - find an element in an object + find an element in a JSON object json.hpp @@ -857,7 +857,7 @@ classnlohmann_1_1basic__json_a7c19a5c3be6cc755377ee41eade78baf.html a7c19a5c3be6cc755377ee41eade78baf - find an element in an object + find an element in a JSON object json.hpp @@ -869,7 +869,7 @@ classnlohmann_1_1basic__json_a01a2643289b69cd71d9b3f3fc209b748.html a01a2643289b69cd71d9b3f3fc209b748 - returns the number of occurrences of a key in an object + returns the number of occurrences of a key in a JSON object json.hpp diff --git a/annotated.html b/annotated.html index 7163eff5f..8e9f1e95c 100644 --- a/annotated.html +++ b/annotated.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/classes.html b/classes.html index 61f08aaa6..7adcdc859 100644 --- a/classes.html +++ b/classes.html @@ -107,7 +107,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 08dc4972b..517aafa5b 100644 --- a/classnlohmann_1_1basic__json-members.html +++ b/classnlohmann_1_1basic__json-members.html @@ -220,7 +220,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/classnlohmann_1_1basic__json.html b/classnlohmann_1_1basic__json.html index 6447bb55b..c9e2737cb 100644 --- a/classnlohmann_1_1basic__json.html +++ b/classnlohmann_1_1basic__json.html @@ -372,13 +372,13 @@ Public Member Functions  remove element from a JSON array given an index More...
  iterator find (typename object_t::key_type key) - find an element in an object More...
+ find an element in a JSON object More...
  const_iterator find (typename object_t::key_type key) const - find an element in an object More...
+ find an element in a JSON object More...
  size_type count (typename object_t::key_type key) const - returns the number of occurrences of a key in an object More...
+ returns the number of occurrences of a key in a JSON object More...
 
iterators
iterator begin () @@ -584,7 +584,7 @@ ECMA 404 diff --git a/classnlohmann_1_1basic__json_1_1const__iterator-members.html b/classnlohmann_1_1basic__json_1_1const__iterator-members.html index c99a9d652..bb6fd289a 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator-members.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator-members.html @@ -129,7 +129,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/classnlohmann_1_1basic__json_1_1const__iterator.html b/classnlohmann_1_1basic__json_1_1const__iterator.html index 45041a139..030e9e924 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator.html @@ -207,7 +207,7 @@ Friends diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a019087161350d393f3e4ac841cdd3dbd.html b/classnlohmann_1_1basic__json_1_1const__iterator_a019087161350d393f3e4ac841cdd3dbd.html index 71cbbc8c7..1854fcff1 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a019087161350d393f3e4ac841cdd3dbd.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a019087161350d393f3e4ac841cdd3dbd.html @@ -152,7 +152,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 84c1b7fea..79a19d765 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a17e5f5d3598e6901f3c1c1f7dc60589f.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a17e5f5d3598e6901f3c1c1f7dc60589f.html @@ -152,7 +152,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 4185727f7..bceb70c69 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a1cba94e5a67ee52bc66b898a4e08359d.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a1cba94e5a67ee52bc66b898a4e08359d.html @@ -152,7 +152,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 a1c145543..13aecfb2a 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a301749e9779adafd395369ac36df93df.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a301749e9779adafd395369ac36df93df.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_a3555206044cce80680f3ea662760e561.html b/classnlohmann_1_1basic__json_1_1const__iterator_a3555206044cce80680f3ea662760e561.html index 38a0c09e6..4ab86908b 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a3555206044cce80680f3ea662760e561.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a3555206044cce80680f3ea662760e561.html @@ -152,7 +152,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 5d64167d3..5a060e9a7 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a36086a699b95e06976c11367b7d6ba53.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a36086a699b95e06976c11367b7d6ba53.html @@ -152,7 +152,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 e3357f68c..ab3e4e6a1 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a4632d8307fc315f21e2ecc9ba5aa6346.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a4632d8307fc315f21e2ecc9ba5aa6346.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_a4f7ac43b0ab34c387b1ae1a8e9c08467.html b/classnlohmann_1_1basic__json_1_1const__iterator_a4f7ac43b0ab34c387b1ae1a8e9c08467.html index a8f994510..a71770d9a 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a4f7ac43b0ab34c387b1ae1a8e9c08467.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a4f7ac43b0ab34c387b1ae1a8e9c08467.html @@ -140,7 +140,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 0b164190d..74d5fda66 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a5aff013c03c1bdc248346c249bec7b67.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a5aff013c03c1bdc248346c249bec7b67.html @@ -152,7 +152,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 c4461c5ba..1321b23c0 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a62cad59e006eb7fa594c2c5b65a76610.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a62cad59e006eb7fa594c2c5b65a76610.html @@ -152,7 +152,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 504278f35..3f7bafff7 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a67848d4b7bfa576434ad9807147b5870.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a67848d4b7bfa576434ad9807147b5870.html @@ -140,7 +140,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 6a5fd6434..ed760df65 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a6b3e43d2f45fa611825dbdf4e88fffe2.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a6b3e43d2f45fa611825dbdf4e88fffe2.html @@ -152,7 +152,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 03e5f4041..216ef967d 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a83454954e4e16be3d5316f9322e91a34.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a83454954e4e16be3d5316f9322e91a34.html @@ -152,7 +152,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 aa416ccdb..efe70d960 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a86a1771e6658d0b14868df6c197d2353.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a86a1771e6658d0b14868df6c197d2353.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_a8d024cbc99db0d8106899f9fd9973735.html b/classnlohmann_1_1basic__json_1_1const__iterator_a8d024cbc99db0d8106899f9fd9973735.html index 14e9d4ab5..81f0730d6 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a8d024cbc99db0d8106899f9fd9973735.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a8d024cbc99db0d8106899f9fd9973735.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_ab74b39747a9dad60650a57133fca85b3.html b/classnlohmann_1_1basic__json_1_1const__iterator_ab74b39747a9dad60650a57133fca85b3.html index bfbd123bd..7a4b1d354 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_ab74b39747a9dad60650a57133fca85b3.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_ab74b39747a9dad60650a57133fca85b3.html @@ -152,7 +152,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 34a3892f8..586fc0658 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_ab7dacd8e3ee9b3756bfcdb87dd55a515.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_ab7dacd8e3ee9b3756bfcdb87dd55a515.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_ab9d31bf0d0b4d7310c858a04ce84a52f.html b/classnlohmann_1_1basic__json_1_1const__iterator_ab9d31bf0d0b4d7310c858a04ce84a52f.html index 386317853..c1199bcc2 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_ab9d31bf0d0b4d7310c858a04ce84a52f.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_ab9d31bf0d0b4d7310c858a04ce84a52f.html @@ -152,7 +152,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 02a5f98d1..83327216d 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_abb1921cbf0ad4036c83bc6303e22171f.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_abb1921cbf0ad4036c83bc6303e22171f.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_abbacd95955c602efc9a58ed1ffdb46c4.html b/classnlohmann_1_1basic__json_1_1const__iterator_abbacd95955c602efc9a58ed1ffdb46c4.html index 6fd7d5550..e06d5dcb4 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_abbacd95955c602efc9a58ed1ffdb46c4.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_abbacd95955c602efc9a58ed1ffdb46c4.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_ac36b9187de43721a4bf1b052578bb80b.html b/classnlohmann_1_1basic__json_1_1const__iterator_ac36b9187de43721a4bf1b052578bb80b.html index 12bcb60cc..7af47fca5 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_ac36b9187de43721a4bf1b052578bb80b.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_ac36b9187de43721a4bf1b052578bb80b.html @@ -140,7 +140,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 48a2994d5..c02393616 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_ac634a659837f5aebc97125e031de23b5.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_ac634a659837f5aebc97125e031de23b5.html @@ -152,7 +152,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 a944fffff..0b1a62877 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_acea5b75d1087e2a92833946d9dc547ff.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_acea5b75d1087e2a92833946d9dc547ff.html @@ -152,7 +152,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 36a866126..72514f705 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_ada3100cdb8700566051828f1355fa745.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_ada3100cdb8700566051828f1355fa745.html @@ -148,7 +148,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 a390f50e0..340c54ecc 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_adb50d6043ace464d9f694869724d7fb2.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_adb50d6043ace464d9f694869724d7fb2.html @@ -140,7 +140,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 b0618b044..23263f840 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_adda9a4bd7f0edb9cb39dc0dca3d4a286.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_adda9a4bd7f0edb9cb39dc0dca3d4a286.html @@ -152,7 +152,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 a5782b1d6..e32ac5dd0 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_adf6f9d3f8f8d8b1ccedabb4f04c098ad.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_adf6f9d3f8f8d8b1ccedabb4f04c098ad.html @@ -152,7 +152,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 0d5e9eaaa..6c1a2dc79 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_ae480d5c86e5e1129d53d1e19782017a6.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_ae480d5c86e5e1129d53d1e19782017a6.html @@ -140,7 +140,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 358a74286..3b210dde5 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_aebd099d9a70ffe760242ef24046c9002.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_aebd099d9a70ffe760242ef24046c9002.html @@ -152,7 +152,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 74b7e583f..27bf68f51 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_af34f68f1ce670e7f25ce267b2b1e64ab.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_af34f68f1ce670e7f25ce267b2b1e64ab.html @@ -152,7 +152,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 12c0135ab..9ba42732e 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_af55564e391b23e41abe78bc4bbe4edcb.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_af55564e391b23e41abe78bc4bbe4edcb.html @@ -152,7 +152,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__reverse__iterator-members.html b/classnlohmann_1_1basic__json_1_1const__reverse__iterator-members.html index 937a285d5..209ad1f26 100644 --- a/classnlohmann_1_1basic__json_1_1const__reverse__iterator-members.html +++ b/classnlohmann_1_1basic__json_1_1const__reverse__iterator-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/classnlohmann_1_1basic__json_1_1const__reverse__iterator.html b/classnlohmann_1_1basic__json_1_1const__reverse__iterator.html index 520cbe799..093e98830 100644 --- a/classnlohmann_1_1basic__json_1_1const__reverse__iterator.html +++ b/classnlohmann_1_1basic__json_1_1const__reverse__iterator.html @@ -115,7 +115,7 @@ Public Member Functions diff --git a/classnlohmann_1_1basic__json_1_1const__reverse__iterator_a31fc105e72c0e8b19eda11495fd3af3f.html b/classnlohmann_1_1basic__json_1_1const__reverse__iterator_a31fc105e72c0e8b19eda11495fd3af3f.html index acd0bcab4..f836aaf2c 100644 --- a/classnlohmann_1_1basic__json_1_1const__reverse__iterator_a31fc105e72c0e8b19eda11495fd3af3f.html +++ b/classnlohmann_1_1basic__json_1_1const__reverse__iterator_a31fc105e72c0e8b19eda11495fd3af3f.html @@ -123,7 +123,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__reverse__iterator_a7eb11a5029b7ffff32fdea5f082493c2.html b/classnlohmann_1_1basic__json_1_1const__reverse__iterator_a7eb11a5029b7ffff32fdea5f082493c2.html index f723ab85e..5c161d847 100644 --- a/classnlohmann_1_1basic__json_1_1const__reverse__iterator_a7eb11a5029b7ffff32fdea5f082493c2.html +++ b/classnlohmann_1_1basic__json_1_1const__reverse__iterator_a7eb11a5029b7ffff32fdea5f082493c2.html @@ -123,7 +123,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__reverse__iterator_a8ba3f75a7ec557eec19b7513e2924219.html b/classnlohmann_1_1basic__json_1_1const__reverse__iterator_a8ba3f75a7ec557eec19b7513e2924219.html index 5ba9077cd..d39e6702c 100644 --- a/classnlohmann_1_1basic__json_1_1const__reverse__iterator_a8ba3f75a7ec557eec19b7513e2924219.html +++ b/classnlohmann_1_1basic__json_1_1const__reverse__iterator_a8ba3f75a7ec557eec19b7513e2924219.html @@ -124,7 +124,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 58dec2a39..ba6d7f47d 100644 --- a/classnlohmann_1_1basic__json_1_1iterator-members.html +++ b/classnlohmann_1_1basic__json_1_1iterator-members.html @@ -128,7 +128,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 85cc2e399..8da422d3e 100644 --- a/classnlohmann_1_1basic__json_1_1iterator.html +++ b/classnlohmann_1_1basic__json_1_1iterator.html @@ -204,7 +204,7 @@ Friends diff --git a/classnlohmann_1_1basic__json_1_1iterator_a037e5f3de196ff4cea8a95a8a4e35882.html b/classnlohmann_1_1basic__json_1_1iterator_a037e5f3de196ff4cea8a95a8a4e35882.html index 20269b346..ef57c7372 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a037e5f3de196ff4cea8a95a8a4e35882.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a037e5f3de196ff4cea8a95a8a4e35882.html @@ -150,7 +150,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 1e96a1e20..398af30ea 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a0a43bd93e6e46645ed0b93d3af7bfe22.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a0a43bd93e6e46645ed0b93d3af7bfe22.html @@ -151,7 +151,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 c84c6daf2..0a277fc93 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a0c0acb68cc2a50a0e8782f860184883f.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a0c0acb68cc2a50a0e8782f860184883f.html @@ -151,7 +151,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 627011f9c..5ed924b7f 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a1220b360a07b0605f7d2f4b3cfd16736.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a1220b360a07b0605f7d2f4b3cfd16736.html @@ -150,7 +150,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 f17232fc2..31c6a993d 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a21d32a4547ba4cbadd8b435a6a0d0e1b.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a21d32a4547ba4cbadd8b435a6a0d0e1b.html @@ -150,7 +150,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 3111bbbbc..847eca22e 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a302d810a0685f8d39368eaa65c833acf.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a302d810a0685f8d39368eaa65c833acf.html @@ -151,7 +151,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 1591b1a0c..2c7e1930f 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a33277dbf06ac5c1e7102e26f6b5e2c00.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a33277dbf06ac5c1e7102e26f6b5e2c00.html @@ -150,7 +150,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a46bae6328cd653d64b4569b1c8e63d58.html b/classnlohmann_1_1basic__json_1_1iterator_a46bae6328cd653d64b4569b1c8e63d58.html index 69d71ce45..e7b61b7c7 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a46bae6328cd653d64b4569b1c8e63d58.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a46bae6328cd653d64b4569b1c8e63d58.html @@ -150,7 +150,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 1650dfdfc..5adc0caa1 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a4ae612fa9eb59784047b40f0419db65d.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a4ae612fa9eb59784047b40f0419db65d.html @@ -151,7 +151,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 d2e461b36..2a92b1f08 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a4f6e03ae3bb674ebf0b727f74957c12f.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a4f6e03ae3bb674ebf0b727f74957c12f.html @@ -150,7 +150,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a545c6a8a714e4ab23a28e73d45ad068c.html b/classnlohmann_1_1basic__json_1_1iterator_a545c6a8a714e4ab23a28e73d45ad068c.html index ae6f00f24..4b5ffaba6 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a545c6a8a714e4ab23a28e73d45ad068c.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a545c6a8a714e4ab23a28e73d45ad068c.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a66f1fe146f4ffe139e2dc71c10f9c084.html b/classnlohmann_1_1basic__json_1_1iterator_a66f1fe146f4ffe139e2dc71c10f9c084.html index 4aec8f93b..1d800a3ee 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a66f1fe146f4ffe139e2dc71c10f9c084.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a66f1fe146f4ffe139e2dc71c10f9c084.html @@ -151,7 +151,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 345773da2..f7e4f113c 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a7031e759ee52d1283aada0ff81108a5e.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a7031e759ee52d1283aada0ff81108a5e.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a7286981657d115cc8803d14b28874ab3.html b/classnlohmann_1_1basic__json_1_1iterator_a7286981657d115cc8803d14b28874ab3.html index d78fb3a31..c83208eab 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a7286981657d115cc8803d14b28874ab3.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a7286981657d115cc8803d14b28874ab3.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a75d68bfd97f26133dbeebb4fb49379fd.html b/classnlohmann_1_1basic__json_1_1iterator_a75d68bfd97f26133dbeebb4fb49379fd.html index 5f50c5f41..18ef445d9 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a75d68bfd97f26133dbeebb4fb49379fd.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a75d68bfd97f26133dbeebb4fb49379fd.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a799627115ae852c4bb9ca2042ce0aa94.html b/classnlohmann_1_1basic__json_1_1iterator_a799627115ae852c4bb9ca2042ce0aa94.html index fdc458887..402c1ef26 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a799627115ae852c4bb9ca2042ce0aa94.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a799627115ae852c4bb9ca2042ce0aa94.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a83b095887d17e0351f8be616764ac455.html b/classnlohmann_1_1basic__json_1_1iterator_a83b095887d17e0351f8be616764ac455.html index 7539f11a4..e259f6789 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a83b095887d17e0351f8be616764ac455.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a83b095887d17e0351f8be616764ac455.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a903462b9290e1bde30716f9e14d9d3df.html b/classnlohmann_1_1basic__json_1_1iterator_a903462b9290e1bde30716f9e14d9d3df.html index 71cb4eefb..11d6edfe0 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a903462b9290e1bde30716f9e14d9d3df.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a903462b9290e1bde30716f9e14d9d3df.html @@ -151,7 +151,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 f2686c977..957c37676 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a94285e2ade0bfef829b81377bbbca6cf.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a94285e2ade0bfef829b81377bbbca6cf.html @@ -151,7 +151,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 6b2a6e9c0..c47e1a366 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a9fcfda575b08d0c73b6274cdbbe7f184.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a9fcfda575b08d0c73b6274cdbbe7f184.html @@ -151,7 +151,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 9e4a52f33..89d179c46 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_aa2bd10afdcfc70acb8eaabbd2f6496f0.html +++ b/classnlohmann_1_1basic__json_1_1iterator_aa2bd10afdcfc70acb8eaabbd2f6496f0.html @@ -139,7 +139,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 33e402328..a6a1d9866 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_ab5cf753cb2f8ce53b9f3e54c39e50ee3.html +++ b/classnlohmann_1_1basic__json_1_1iterator_ab5cf753cb2f8ce53b9f3e54c39e50ee3.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_ac01e258f97612d7f7766f92324e5612a.html b/classnlohmann_1_1basic__json_1_1iterator_ac01e258f97612d7f7766f92324e5612a.html index 63feb9743..8ef356441 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_ac01e258f97612d7f7766f92324e5612a.html +++ b/classnlohmann_1_1basic__json_1_1iterator_ac01e258f97612d7f7766f92324e5612a.html @@ -150,7 +150,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_ac17f1d9d40b6b928a4964ce97a443c6e.html b/classnlohmann_1_1basic__json_1_1iterator_ac17f1d9d40b6b928a4964ce97a443c6e.html index ee31851d8..931d978f5 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_ac17f1d9d40b6b928a4964ce97a443c6e.html +++ b/classnlohmann_1_1basic__json_1_1iterator_ac17f1d9d40b6b928a4964ce97a443c6e.html @@ -139,7 +139,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_acf3df244524244ed5c2923c11427e3da.html b/classnlohmann_1_1basic__json_1_1iterator_acf3df244524244ed5c2923c11427e3da.html index cc54ac141..94b0c2278 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_acf3df244524244ed5c2923c11427e3da.html +++ b/classnlohmann_1_1basic__json_1_1iterator_acf3df244524244ed5c2923c11427e3da.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_ad35cf47e2fb5918dc06260eda3dcd35d.html b/classnlohmann_1_1basic__json_1_1iterator_ad35cf47e2fb5918dc06260eda3dcd35d.html index 98834467b..ea140189e 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_ad35cf47e2fb5918dc06260eda3dcd35d.html +++ b/classnlohmann_1_1basic__json_1_1iterator_ad35cf47e2fb5918dc06260eda3dcd35d.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_ad58453e21f157edfeaaff13e9560724b.html b/classnlohmann_1_1basic__json_1_1iterator_ad58453e21f157edfeaaff13e9560724b.html index bec1a690c..d815133ef 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_ad58453e21f157edfeaaff13e9560724b.html +++ b/classnlohmann_1_1basic__json_1_1iterator_ad58453e21f157edfeaaff13e9560724b.html @@ -139,7 +139,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_ada3100cdb8700566051828f1355fa745.html b/classnlohmann_1_1basic__json_1_1iterator_ada3100cdb8700566051828f1355fa745.html index 7e5a47754..57cb7b234 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_ada3100cdb8700566051828f1355fa745.html +++ b/classnlohmann_1_1basic__json_1_1iterator_ada3100cdb8700566051828f1355fa745.html @@ -147,7 +147,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_ae58eb251e2ca9b5c9d522f25fa67eb36.html b/classnlohmann_1_1basic__json_1_1iterator_ae58eb251e2ca9b5c9d522f25fa67eb36.html index c790a4d45..aad13f971 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_ae58eb251e2ca9b5c9d522f25fa67eb36.html +++ b/classnlohmann_1_1basic__json_1_1iterator_ae58eb251e2ca9b5c9d522f25fa67eb36.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 b7e11ce01..f85151930 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_afe65b5a0572c7bfdd7ccc942bb8e9fe2.html +++ b/classnlohmann_1_1basic__json_1_1iterator_afe65b5a0572c7bfdd7ccc942bb8e9fe2.html @@ -139,7 +139,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1reverse__iterator-members.html b/classnlohmann_1_1basic__json_1_1reverse__iterator-members.html index 2600dd854..6eb4c5aa1 100644 --- a/classnlohmann_1_1basic__json_1_1reverse__iterator-members.html +++ b/classnlohmann_1_1basic__json_1_1reverse__iterator-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/classnlohmann_1_1basic__json_1_1reverse__iterator.html b/classnlohmann_1_1basic__json_1_1reverse__iterator.html index a416d5bf0..74ae3eb4e 100644 --- a/classnlohmann_1_1basic__json_1_1reverse__iterator.html +++ b/classnlohmann_1_1basic__json_1_1reverse__iterator.html @@ -115,7 +115,7 @@ Public Member Functions diff --git a/classnlohmann_1_1basic__json_1_1reverse__iterator_a514d7a82f1c8f1862acfefe8d16c6ca6.html b/classnlohmann_1_1basic__json_1_1reverse__iterator_a514d7a82f1c8f1862acfefe8d16c6ca6.html index 35c6c6ad7..fc666b3e3 100644 --- a/classnlohmann_1_1basic__json_1_1reverse__iterator_a514d7a82f1c8f1862acfefe8d16c6ca6.html +++ b/classnlohmann_1_1basic__json_1_1reverse__iterator_a514d7a82f1c8f1862acfefe8d16c6ca6.html @@ -123,7 +123,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1reverse__iterator_ae711bdc24d54870a560550fc21c11f46.html b/classnlohmann_1_1basic__json_1_1reverse__iterator_ae711bdc24d54870a560550fc21c11f46.html index 79f1f7833..00b20e2f5 100644 --- a/classnlohmann_1_1basic__json_1_1reverse__iterator_ae711bdc24d54870a560550fc21c11f46.html +++ b/classnlohmann_1_1basic__json_1_1reverse__iterator_ae711bdc24d54870a560550fc21c11f46.html @@ -123,7 +123,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1reverse__iterator_af3029b8b16518b9da0b4cd3be98ef2c1.html b/classnlohmann_1_1basic__json_1_1reverse__iterator_af3029b8b16518b9da0b4cd3be98ef2c1.html index eb323a0f4..7040a24da 100644 --- a/classnlohmann_1_1basic__json_1_1reverse__iterator_af3029b8b16518b9da0b4cd3be98ef2c1.html +++ b/classnlohmann_1_1basic__json_1_1reverse__iterator_af3029b8b16518b9da0b4cd3be98ef2c1.html @@ -124,7 +124,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a01a2643289b69cd71d9b3f3fc209b748.html b/classnlohmann_1_1basic__json_a01a2643289b69cd71d9b3f3fc209b748.html index b51d5f3f7..54b4262c1 100644 --- a/classnlohmann_1_1basic__json_a01a2643289b69cd71d9b3f3fc209b748.html +++ b/classnlohmann_1_1basic__json_a01a2643289b69cd71d9b3f3fc209b748.html @@ -234,6 +234,39 @@ template<template< typename U, typename V, typename...Args > class Obje
+

Returns the number of elements with key key. If ObjectType is the default std::map type, the return value will always be 0 (key was not found) or 1 (key was found).

+
Parameters
+ + +
[in]keykey value of the element to count
+
+
+
Returns
Number of elements with key key. If the JSON value is not an object, the return value will be 0.
+
Complexity
Logarithmic in the size of the JSON object.
+
Example
The example shows how count is used.
1 #include <json.hpp>
+
2 
+
3 using namespace nlohmann;
+
4 
+
5 int main()
+
6 {
+
7  // create a JSON object
+
8  json j_object = {{"one", 1}, {"two", 2}};
+
9 
+
10  // call find
+
11  auto count_two = j_object.count("two");
+
12  auto count_three = j_object.count("three");
+
13 
+
14  // print values
+
15  std::cout << std::boolalpha;
+
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:121
+
namespace for Niels Lohmann
Definition: json.hpp:56
+
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:2763
+
Output:
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 
.
@@ -243,7 +276,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a034bccea9f5400650443e9f12e67b079.html b/classnlohmann_1_1basic__json_a034bccea9f5400650443e9f12e67b079.html index 3c38e078a..d48464c1a 100644 --- a/classnlohmann_1_1basic__json_a034bccea9f5400650443e9f12e67b079.html +++ b/classnlohmann_1_1basic__json_a034bccea9f5400650443e9f12e67b079.html @@ -291,7 +291,7 @@ null diff --git a/classnlohmann_1_1basic__json_a058be74840ddfec9dad9755ac8dc8b99.html b/classnlohmann_1_1basic__json_a058be74840ddfec9dad9755ac8dc8b99.html index e7ef47a6d..5e099a438 100644 --- a/classnlohmann_1_1basic__json_a058be74840ddfec9dad9755ac8dc8b99.html +++ b/classnlohmann_1_1basic__json_a058be74840ddfec9dad9755ac8dc8b99.html @@ -281,7 +281,7 @@ false diff --git a/classnlohmann_1_1basic__json_a0998ed4a76d1e5048fd043475eb7bfde.html b/classnlohmann_1_1basic__json_a0998ed4a76d1e5048fd043475eb7bfde.html index 2e4813422..b21ba3574 100644 --- a/classnlohmann_1_1basic__json_a0998ed4a76d1e5048fd043475eb7bfde.html +++ b/classnlohmann_1_1basic__json_a0998ed4a76d1e5048fd043475eb7bfde.html @@ -283,7 +283,7 @@ template<template< typename U, typename V, typename...Args > class Obje
24 }
a class to store JSON values
Definition: json.hpp:121
namespace for Niels Lohmann
Definition: json.hpp:56
-
size_type max_size() const noexcept
returns the maximum possible number of elements
Definition: json.hpp:3130
+
size_type max_size() const noexcept
returns the maximum possible number of elements
Definition: json.hpp:3162
Output:
0
 1
 1
@@ -301,7 +301,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a0a7560122349628cf4942a316aa6d21f.html b/classnlohmann_1_1basic__json_a0a7560122349628cf4942a316aa6d21f.html
index 3de2b48fa..2ddafe3b4 100644
--- a/classnlohmann_1_1basic__json_a0a7560122349628cf4942a316aa6d21f.html
+++ b/classnlohmann_1_1basic__json_a0a7560122349628cf4942a316aa6d21f.html
@@ -243,7 +243,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a0a9c6a1fccc4db365860463e8203eb38.html b/classnlohmann_1_1basic__json_a0a9c6a1fccc4db365860463e8203eb38.html
index 28f1949fb..d95b0d1cf 100644
--- a/classnlohmann_1_1basic__json_a0a9c6a1fccc4db365860463e8203eb38.html
+++ b/classnlohmann_1_1basic__json_a0a9c6a1fccc4db365860463e8203eb38.html
@@ -278,7 +278,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 252d44dae..b34c02324 100644
--- a/classnlohmann_1_1basic__json_a0bb6ea56c89560cce8003485bffe49d4.html
+++ b/classnlohmann_1_1basic__json_a0bb6ea56c89560cce8003485bffe49d4.html
@@ -295,7 +295,7 @@ template<typename CompatibleNumberIntegerType , typename std::enable_if< s
 
 
 
diff --git a/classnlohmann_1_1basic__json_a0e372f4c5a90c6be7242a2d7a3709b48.html b/classnlohmann_1_1basic__json_a0e372f4c5a90c6be7242a2d7a3709b48.html
index 4b3225d27..39ceaaa5c 100644
--- a/classnlohmann_1_1basic__json_a0e372f4c5a90c6be7242a2d7a3709b48.html
+++ b/classnlohmann_1_1basic__json_a0e372f4c5a90c6be7242a2d7a3709b48.html
@@ -243,7 +243,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a122640e7e2db1814fc7bbb3c122ec76e.html b/classnlohmann_1_1basic__json_a122640e7e2db1814fc7bbb3c122ec76e.html
index 5278ed31f..cfa39e02d 100644
--- a/classnlohmann_1_1basic__json_a122640e7e2db1814fc7bbb3c122ec76e.html
+++ b/classnlohmann_1_1basic__json_a122640e7e2db1814fc7bbb3c122ec76e.html
@@ -268,7 +268,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 884401574..a620db617 100644
--- a/classnlohmann_1_1basic__json_a13e5642dbfa1602c937d295a085413cc.html
+++ b/classnlohmann_1_1basic__json_a13e5642dbfa1602c937d295a085413cc.html
@@ -231,7 +231,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 78cbb7616..5495cb633 100644
--- a/classnlohmann_1_1basic__json_a15e468968cd4d0e4fd566044d66ada24.html
+++ b/classnlohmann_1_1basic__json_a15e468968cd4d0e4fd566044d66ada24.html
@@ -280,7 +280,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 8566e15ab..e9d34d203 100644
--- a/classnlohmann_1_1basic__json_a16a275d0201e9aedc87c933c764b8869.html
+++ b/classnlohmann_1_1basic__json_a16a275d0201e9aedc87c933c764b8869.html
@@ -292,7 +292,7 @@ out of range
 
 
 
diff --git a/classnlohmann_1_1basic__json_a190d719446e7016879c4b961c9cf9072.html b/classnlohmann_1_1basic__json_a190d719446e7016879c4b961c9cf9072.html
index 232a20910..98201db92 100644
--- a/classnlohmann_1_1basic__json_a190d719446e7016879c4b961c9cf9072.html
+++ b/classnlohmann_1_1basic__json_a190d719446e7016879c4b961c9cf9072.html
@@ -280,7 +280,7 @@ template<typename T , typename std::enable_if< not(std::is_same< T, int
 
 
 
diff --git a/classnlohmann_1_1basic__json_a231b02148577b69a154b2ce2c87a5522.html b/classnlohmann_1_1basic__json_a231b02148577b69a154b2ce2c87a5522.html
index 91707321a..018197e39 100644
--- a/classnlohmann_1_1basic__json_a231b02148577b69a154b2ce2c87a5522.html
+++ b/classnlohmann_1_1basic__json_a231b02148577b69a154b2ce2c87a5522.html
@@ -266,7 +266,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a2448b2777e8a3e48614e1b3c41b96f7c.html b/classnlohmann_1_1basic__json_a2448b2777e8a3e48614e1b3c41b96f7c.html
index c04ca55b8..a3f4436a4 100644
--- a/classnlohmann_1_1basic__json_a2448b2777e8a3e48614e1b3c41b96f7c.html
+++ b/classnlohmann_1_1basic__json_a2448b2777e8a3e48614e1b3c41b96f7c.html
@@ -276,7 +276,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a266c4dd24d11a86e4831523af5d9df4d.html b/classnlohmann_1_1basic__json_a266c4dd24d11a86e4831523af5d9df4d.html
index 771070532..037e07ea0 100644
--- a/classnlohmann_1_1basic__json_a266c4dd24d11a86e4831523af5d9df4d.html
+++ b/classnlohmann_1_1basic__json_a266c4dd24d11a86e4831523af5d9df4d.html
@@ -315,7 +315,7 @@ This function is required for compatibility reasons with Clang.
 
 
 
diff --git a/classnlohmann_1_1basic__json_a2adfc8d24bea3908398cbf325b5dc1d7.html b/classnlohmann_1_1basic__json_a2adfc8d24bea3908398cbf325b5dc1d7.html
index fb00037f5..73505a758 100644
--- a/classnlohmann_1_1basic__json_a2adfc8d24bea3908398cbf325b5dc1d7.html
+++ b/classnlohmann_1_1basic__json_a2adfc8d24bea3908398cbf325b5dc1d7.html
@@ -260,9 +260,9 @@ Illustration from cppreference.com
 
14  std::cout << *it << '\n';
15 }
a class to store JSON values
Definition: json.hpp:121
-
a const reverse random access iterator for the basic_json class
Definition: json.hpp:5122
+
a const reverse random access iterator for the basic_json class
Definition: json.hpp:5154
namespace for Niels Lohmann
Definition: json.hpp:56
-
const_reverse_iterator crbegin() const
returns a const reverse iterator to the last element
Definition: json.hpp:2948
+
const_reverse_iterator crbegin() const
returns a const reverse iterator to the last element
Definition: json.hpp:2980
Output:
5
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/crbegin.cpp -o crbegin 
. @@ -274,7 +274,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a2bb1b109282149119a070be4ac76f820.html b/classnlohmann_1_1basic__json_a2bb1b109282149119a070be4ac76f820.html index 03a15467b..f825357ff 100644 --- a/classnlohmann_1_1basic__json_a2bb1b109282149119a070be4ac76f820.html +++ b/classnlohmann_1_1basic__json_a2bb1b109282149119a070be4ac76f820.html @@ -281,7 +281,7 @@ false diff --git a/classnlohmann_1_1basic__json_a2efda2b6d931ee72d9757418042e74e1.html b/classnlohmann_1_1basic__json_a2efda2b6d931ee72d9757418042e74e1.html index 8c2c85f5d..b19028aab 100644 --- a/classnlohmann_1_1basic__json_a2efda2b6d931ee72d9757418042e74e1.html +++ b/classnlohmann_1_1basic__json_a2efda2b6d931ee72d9757418042e74e1.html @@ -282,7 +282,7 @@ true diff --git a/classnlohmann_1_1basic__json_a31af4b416e9ccb373291a645da7f83d7.html b/classnlohmann_1_1basic__json_a31af4b416e9ccb373291a645da7f83d7.html index 2caf8ab13..bcba8600d 100644 --- a/classnlohmann_1_1basic__json_a31af4b416e9ccb373291a645da7f83d7.html +++ b/classnlohmann_1_1basic__json_a31af4b416e9ccb373291a645da7f83d7.html @@ -297,7 +297,7 @@ true diff --git a/classnlohmann_1_1basic__json_a33f1632cfdbf460b4913f4e8a43dd9e4.html b/classnlohmann_1_1basic__json_a33f1632cfdbf460b4913f4e8a43dd9e4.html index 0473bc546..66023892b 100644 --- a/classnlohmann_1_1basic__json_a33f1632cfdbf460b4913f4e8a43dd9e4.html +++ b/classnlohmann_1_1basic__json_a33f1632cfdbf460b4913f4e8a43dd9e4.html @@ -273,7 +273,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 7fc743225..2dee45c78 100644 --- a/classnlohmann_1_1basic__json_a34d6a60dd99e9f33b8273a1c8db5669b.html +++ b/classnlohmann_1_1basic__json_a34d6a60dd99e9f33b8273a1c8db5669b.html @@ -301,7 +301,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 6ccb64eac..e87c8664b 100644 --- a/classnlohmann_1_1basic__json_a429c2606865483ff357cccc1b1c46569.html +++ b/classnlohmann_1_1basic__json_a429c2606865483ff357cccc1b1c46569.html @@ -243,7 +243,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a4361aa791f3980abb239e4155a3450cb.html b/classnlohmann_1_1basic__json_a4361aa791f3980abb239e4155a3450cb.html index 53ee8b62a..adcac01b6 100644 --- a/classnlohmann_1_1basic__json_a4361aa791f3980abb239e4155a3450cb.html +++ b/classnlohmann_1_1basic__json_a4361aa791f3980abb239e4155a3450cb.html @@ -261,9 +261,9 @@ Illustration from cppreference.com
14  std::cout << *it << '\n';
15 }
a class to store JSON values
Definition: json.hpp:121
-
const_iterator cbegin() const
returns a const iterator to the first element
Definition: json.hpp:2800
+
const_iterator cbegin() const
returns a const iterator to the first element
Definition: json.hpp:2832
namespace for Niels Lohmann
Definition: json.hpp:56
-
a const random access iterator for the basic_json class
Definition: json.hpp:4605
+
a const random access iterator for the basic_json class
Definition: json.hpp:4637
Output:
1
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/cbegin.cpp -o cbegin 
. @@ -275,7 +275,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a444d8376d63d7a5edb85f33bc5976c14.html b/classnlohmann_1_1basic__json_a444d8376d63d7a5edb85f33bc5976c14.html index bafabb759..bbba1f6b2 100644 --- a/classnlohmann_1_1basic__json_a444d8376d63d7a5edb85f33bc5976c14.html +++ b/classnlohmann_1_1basic__json_a444d8376d63d7a5edb85f33bc5976c14.html @@ -303,7 +303,7 @@ 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:6594
+
basic_json<> json
default JSON class
Definition: json.hpp:6626
a class to store JSON values
Definition: json.hpp:121
namespace for Niels Lohmann
Definition: json.hpp:56
Output:
{}
@@ -324,7 +324,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a4943b7f16ddc4e0df33c0cae7ef14471.html b/classnlohmann_1_1basic__json_a4943b7f16ddc4e0df33c0cae7ef14471.html
index 235767c2a..46fc5f462 100644
--- a/classnlohmann_1_1basic__json_a4943b7f16ddc4e0df33c0cae7ef14471.html
+++ b/classnlohmann_1_1basic__json_a4943b7f16ddc4e0df33c0cae7ef14471.html
@@ -263,9 +263,9 @@ Illustration from cppreference.com
 
17  std::cout << *it << '\n';
18 }
a class to store JSON values
Definition: json.hpp:121
-
a const reverse random access iterator for the basic_json class
Definition: json.hpp:5122
+
a const reverse random access iterator for the basic_json class
Definition: json.hpp:5154
namespace for Niels Lohmann
Definition: json.hpp:56
-
const_reverse_iterator crend() const
returns a const reverse iterator to one before the first
Definition: json.hpp:2971
+
const_reverse_iterator crend() const
returns a const reverse iterator to one before the first
Definition: json.hpp:3003
Output:
1
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/crend.cpp -o crend 
. @@ -277,7 +277,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a4ad3f27ecece8f644e8dca69a97eb67f.html b/classnlohmann_1_1basic__json_a4ad3f27ecece8f644e8dca69a97eb67f.html index 2c583e3ff..d2665c77b 100644 --- a/classnlohmann_1_1basic__json_a4ad3f27ecece8f644e8dca69a97eb67f.html +++ b/classnlohmann_1_1basic__json_a4ad3f27ecece8f644e8dca69a97eb67f.html @@ -263,9 +263,9 @@ Illustration from cppreference.com
17  std::cout << *it << '\n';
18 }
a class to store JSON values
Definition: json.hpp:121
-
a const reverse random access iterator for the basic_json class
Definition: json.hpp:5122
+
a const reverse random access iterator for the basic_json class
Definition: json.hpp:5154
namespace for Niels Lohmann
Definition: json.hpp:56
-
const_reverse_iterator crend() const
returns a const reverse iterator to one before the first
Definition: json.hpp:2971
+
const_reverse_iterator crend() const
returns a const reverse iterator to one before the first
Definition: json.hpp:3003
Output:
1
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/crend.cpp -o crend 
. @@ -277,7 +277,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a4bf695ddf4a00ea8feea2c725ec847f1.html b/classnlohmann_1_1basic__json_a4bf695ddf4a00ea8feea2c725ec847f1.html index 033b7e77b..996b43592 100644 --- a/classnlohmann_1_1basic__json_a4bf695ddf4a00ea8feea2c725ec847f1.html +++ b/classnlohmann_1_1basic__json_a4bf695ddf4a00ea8feea2c725ec847f1.html @@ -243,7 +243,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a4d688b5ff534d3ab4e284b3191061529.html b/classnlohmann_1_1basic__json_a4d688b5ff534d3ab4e284b3191061529.html index 49987082d..368f8d553 100644 --- a/classnlohmann_1_1basic__json_a4d688b5ff534d3ab4e284b3191061529.html +++ b/classnlohmann_1_1basic__json_a4d688b5ff534d3ab4e284b3191061529.html @@ -260,9 +260,9 @@ Illustration from cppreference.com
14  std::cout << *it << '\n';
15 }
a class to store JSON values
Definition: json.hpp:121
-
a const reverse random access iterator for the basic_json class
Definition: json.hpp:5122
+
a const reverse random access iterator for the basic_json class
Definition: json.hpp:5154
namespace for Niels Lohmann
Definition: json.hpp:56
-
const_reverse_iterator crbegin() const
returns a const reverse iterator to the last element
Definition: json.hpp:2948
+
const_reverse_iterator crbegin() const
returns a const reverse iterator to the last element
Definition: json.hpp:2980
Output:
5
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/crbegin.cpp -o crbegin 
. @@ -274,7 +274,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a53590b99e380c464a83a0a5edf6da9ab.html b/classnlohmann_1_1basic__json_a53590b99e380c464a83a0a5edf6da9ab.html index d612774cd..a97e4f510 100644 --- a/classnlohmann_1_1basic__json_a53590b99e380c464a83a0a5edf6da9ab.html +++ b/classnlohmann_1_1basic__json_a53590b99e380c464a83a0a5edf6da9ab.html @@ -286,7 +286,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a572cdf681c75b42c2bc38a1fbe993eca.html b/classnlohmann_1_1basic__json_a572cdf681c75b42c2bc38a1fbe993eca.html index e3f0ff704..933d3b88c 100644 --- a/classnlohmann_1_1basic__json_a572cdf681c75b42c2bc38a1fbe993eca.html +++ b/classnlohmann_1_1basic__json_a572cdf681c75b42c2bc38a1fbe993eca.html @@ -287,7 +287,7 @@ template<template< typename U, typename V, typename...Args > class Obje
28  std::cout << j_string.empty() << '\n';
29 }
a class to store JSON values
Definition: json.hpp:121
-
bool empty() const noexcept
checks whether the container is empty
Definition: json.hpp:3015
+
bool empty() const noexcept
checks whether the container is empty
Definition: json.hpp:3047
object (unordered set of name/value pairs)
namespace for Niels Lohmann
Definition: json.hpp:56
array (ordered collection of values)
@@ -310,7 +310,7 @@ false diff --git a/classnlohmann_1_1basic__json_a57703688bee6b9736ab3a430d8d246f2.html b/classnlohmann_1_1basic__json_a57703688bee6b9736ab3a430d8d246f2.html index 123fa27ae..bce482db1 100644 --- a/classnlohmann_1_1basic__json_a57703688bee6b9736ab3a430d8d246f2.html +++ b/classnlohmann_1_1basic__json_a57703688bee6b9736ab3a430d8d246f2.html @@ -289,7 +289,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 138ec2812..41996eb11 100644 --- a/classnlohmann_1_1basic__json_a57a96ab3ff1ce7b48a754129fb12c982.html +++ b/classnlohmann_1_1basic__json_a57a96ab3ff1ce7b48a754129fb12c982.html @@ -243,7 +243,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a5a2d4dbcdbc8ea065b87daf52cd786b9.html b/classnlohmann_1_1basic__json_a5a2d4dbcdbc8ea065b87daf52cd786b9.html index dc9d35fda..f1c7b0e8e 100644 --- a/classnlohmann_1_1basic__json_a5a2d4dbcdbc8ea065b87daf52cd786b9.html +++ b/classnlohmann_1_1basic__json_a5a2d4dbcdbc8ea065b87daf52cd786b9.html @@ -266,7 +266,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a5a2d66582b75e0301d37886137c6953c.html b/classnlohmann_1_1basic__json_a5a2d66582b75e0301d37886137c6953c.html index 6894c7cbb..a9f178e9d 100644 --- a/classnlohmann_1_1basic__json_a5a2d66582b75e0301d37886137c6953c.html +++ b/classnlohmann_1_1basic__json_a5a2d66582b75e0301d37886137c6953c.html @@ -283,7 +283,7 @@ true diff --git a/classnlohmann_1_1basic__json_a5c8bb5200f5eac10d31e26be46e5b1ac.html b/classnlohmann_1_1basic__json_a5c8bb5200f5eac10d31e26be46e5b1ac.html index c246a5e1b..afaa5febe 100644 --- a/classnlohmann_1_1basic__json_a5c8bb5200f5eac10d31e26be46e5b1ac.html +++ b/classnlohmann_1_1basic__json_a5c8bb5200f5eac10d31e26be46e5b1ac.html @@ -264,7 +264,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a5e34c5435e557d0bf666bd7311211405.html b/classnlohmann_1_1basic__json_a5e34c5435e557d0bf666bd7311211405.html index 9bc01edba..fcf0782fa 100644 --- a/classnlohmann_1_1basic__json_a5e34c5435e557d0bf666bd7311211405.html +++ b/classnlohmann_1_1basic__json_a5e34c5435e557d0bf666bd7311211405.html @@ -301,7 +301,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 e0bc35c03..565e4dad5 100644 --- a/classnlohmann_1_1basic__json_a5f0aad50ed7e8aec3128fe018c18b3fe.html +++ b/classnlohmann_1_1basic__json_a5f0aad50ed7e8aec3128fe018c18b3fe.html @@ -326,7 +326,7 @@ array: [1,2,3,4,5] diff --git a/classnlohmann_1_1basic__json_a5fd8b54389698edf0c08e2dd001f610b.html b/classnlohmann_1_1basic__json_a5fd8b54389698edf0c08e2dd001f610b.html index 9d1d84289..cab8ed80e 100644 --- a/classnlohmann_1_1basic__json_a5fd8b54389698edf0c08e2dd001f610b.html +++ b/classnlohmann_1_1basic__json_a5fd8b54389698edf0c08e2dd001f610b.html @@ -231,7 +231,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 a6507bc6c..347966286 100644 --- a/classnlohmann_1_1basic__json_a60ca396028b8d9714c6e10efbf475af6.html +++ b/classnlohmann_1_1basic__json_a60ca396028b8d9714c6e10efbf475af6.html @@ -308,7 +308,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a62136b62f0ec60c0f2b5a3ce9aaa19b4.html b/classnlohmann_1_1basic__json_a62136b62f0ec60c0f2b5a3ce9aaa19b4.html index 6fe12e7fb..485e08a40 100644 --- a/classnlohmann_1_1basic__json_a62136b62f0ec60c0f2b5a3ce9aaa19b4.html +++ b/classnlohmann_1_1basic__json_a62136b62f0ec60c0f2b5a3ce9aaa19b4.html @@ -281,7 +281,7 @@ false diff --git a/classnlohmann_1_1basic__json_a63691315292df8e1522b00d37ebb1ffc.html b/classnlohmann_1_1basic__json_a63691315292df8e1522b00d37ebb1ffc.html index e1b0d1b17..0e7f18987 100644 --- a/classnlohmann_1_1basic__json_a63691315292df8e1522b00d37ebb1ffc.html +++ b/classnlohmann_1_1basic__json_a63691315292df8e1522b00d37ebb1ffc.html @@ -231,7 +231,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 f853da55e..9bece28bd 100644 --- a/classnlohmann_1_1basic__json_a652414dd930cb3af3b6f454cc535a23e.html +++ b/classnlohmann_1_1basic__json_a652414dd930cb3af3b6f454cc535a23e.html @@ -299,7 +299,7 @@ out of range diff --git a/classnlohmann_1_1basic__json_a6944904b3b59769b1cf62ac2532cbe33.html b/classnlohmann_1_1basic__json_a6944904b3b59769b1cf62ac2532cbe33.html index 5f24db355..12856fd4b 100644 --- a/classnlohmann_1_1basic__json_a6944904b3b59769b1cf62ac2532cbe33.html +++ b/classnlohmann_1_1basic__json_a6944904b3b59769b1cf62ac2532cbe33.html @@ -231,7 +231,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a6a67c72ba65322bfcb28d170617dcdff.html b/classnlohmann_1_1basic__json_a6a67c72ba65322bfcb28d170617dcdff.html index 3ec516ae8..9314f27bf 100644 --- a/classnlohmann_1_1basic__json_a6a67c72ba65322bfcb28d170617dcdff.html +++ b/classnlohmann_1_1basic__json_a6a67c72ba65322bfcb28d170617dcdff.html @@ -243,7 +243,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a6a7f45095675ac6fd1d018a0e41874be.html b/classnlohmann_1_1basic__json_a6a7f45095675ac6fd1d018a0e41874be.html index 87dc14b52..288e5b404 100644 --- a/classnlohmann_1_1basic__json_a6a7f45095675ac6fd1d018a0e41874be.html +++ b/classnlohmann_1_1basic__json_a6a7f45095675ac6fd1d018a0e41874be.html @@ -296,9 +296,9 @@ template<class InputIT , typename std::enable_if< std::is_same< InputIT
20  std::cout << j_object_range << '\n';
21 }
a class to store JSON values
Definition: json.hpp:121
-
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:2825
-
iterator begin()
returns an iterator to the first element
Definition: json.hpp:2765
-
iterator find(typename object_t::key_type key)
find an element in an object
Definition: json.hpp:2705
+
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:2857
+
iterator begin()
returns an iterator to the first element
Definition: json.hpp:2797
+
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:2719
namespace for Niels Lohmann
Definition: json.hpp:56
Output:
["bravo","charly"]
 42
@@ -313,7 +313,7 @@ template<class InputIT , typename std::enable_if< std::is_same< InputIT
 
 
 
diff --git a/classnlohmann_1_1basic__json_a6bbd3e72a870f1ba81ff6886b063b0fe.html b/classnlohmann_1_1basic__json_a6bbd3e72a870f1ba81ff6886b063b0fe.html
index 2fdc391a8..e13bb8ae1 100644
--- a/classnlohmann_1_1basic__json_a6bbd3e72a870f1ba81ff6886b063b0fe.html
+++ b/classnlohmann_1_1basic__json_a6bbd3e72a870f1ba81ff6886b063b0fe.html
@@ -231,7 +231,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 8a11f16cb..978c839cd 100644
--- a/classnlohmann_1_1basic__json_a6dff6a02a2be250b8f8dc2f47be65544.html
+++ b/classnlohmann_1_1basic__json_a6dff6a02a2be250b8f8dc2f47be65544.html
@@ -278,7 +278,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 c23a7dcf7..a7c68d8e1 100644
--- a/classnlohmann_1_1basic__json_a6e2e21da48f5d9471716cd868a068327.html
+++ b/classnlohmann_1_1basic__json_a6e2e21da48f5d9471716cd868a068327.html
@@ -264,7 +264,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a72ba20783ecb3eec98bd6a3b870d565c.html b/classnlohmann_1_1basic__json_a72ba20783ecb3eec98bd6a3b870d565c.html
index e6a6f755d..052ef23a4 100644
--- a/classnlohmann_1_1basic__json_a72ba20783ecb3eec98bd6a3b870d565c.html
+++ b/classnlohmann_1_1basic__json_a72ba20783ecb3eec98bd6a3b870d565c.html
@@ -264,9 +264,9 @@ Illustration from cppreference.com
 
17  std::cout << *it << '\n';
18 }
a class to store JSON values
Definition: json.hpp:121
-
const_iterator cend() const
returns a const iterator to one past the last element
Definition: json.hpp:2860
+
const_iterator cend() const
returns a const iterator to one past the last element
Definition: json.hpp:2892
namespace for Niels Lohmann
Definition: json.hpp:56
-
a const random access iterator for the basic_json class
Definition: json.hpp:4605
+
a const random access iterator for the basic_json class
Definition: json.hpp:4637
Output:
5
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/cend.cpp -o cend 
. @@ -278,7 +278,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a749e58042d8069f4f048ee4d23c43f63.html b/classnlohmann_1_1basic__json_a749e58042d8069f4f048ee4d23c43f63.html index 6d876b1e7..84c7c04ea 100644 --- a/classnlohmann_1_1basic__json_a749e58042d8069f4f048ee4d23c43f63.html +++ b/classnlohmann_1_1basic__json_a749e58042d8069f4f048ee4d23c43f63.html @@ -243,7 +243,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a74a943800c7f103d0990d7eef82c6453.html b/classnlohmann_1_1basic__json_a74a943800c7f103d0990d7eef82c6453.html index add71a393..b3dc6ce45 100644 --- a/classnlohmann_1_1basic__json_a74a943800c7f103d0990d7eef82c6453.html +++ b/classnlohmann_1_1basic__json_a74a943800c7f103d0990d7eef82c6453.html @@ -264,7 +264,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 ac9e133d1..21828c544 100644 --- a/classnlohmann_1_1basic__json_a74ccfa471a0c061876b247f820f3c741.html +++ b/classnlohmann_1_1basic__json_a74ccfa471a0c061876b247f820f3c741.html @@ -308,13 +308,13 @@ 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:6594
+
basic_json<> json
default JSON class
Definition: json.hpp:6626
a class to store JSON values
Definition: json.hpp:121
std::function< bool(int depth, parse_event_t event, basic_json &parsed)> parser_callback_t
per-element parser callback type
Definition: json.hpp:415
namespace for Niels Lohmann
Definition: json.hpp:56
-
void clear() noexcept
clears the contents
Definition: json.hpp:3190
+
void clear() noexcept
clears the contents
Definition: json.hpp:3222
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:3702
+
static basic_json parse(const string_t &s, parser_callback_t cb=nullptr)
deserialize from string
Definition: json.hpp:3734
parse_event_t
JSON callback events.
Definition: json.hpp:351
Output:
{
     "Image": {
@@ -361,7 +361,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 59093b12f..c9179cd7d 100644
--- a/classnlohmann_1_1basic__json_a75a1754e0d39f33095d3102a8bdb9881.html
+++ b/classnlohmann_1_1basic__json_a75a1754e0d39f33095d3102a8bdb9881.html
@@ -297,8 +297,8 @@ template<class InteratorType , typename std::enable_if< std::is_same< I
 
29  std::cout << j_string << '\n';
30 }
a class to store JSON values
Definition: json.hpp:121
-
iterator begin()
returns an iterator to the first element
Definition: json.hpp:2765
-
iterator find(typename object_t::key_type key)
find an element in an object
Definition: json.hpp:2705
+
iterator begin()
returns an iterator to the first element
Definition: json.hpp:2797
+
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:2719
namespace for Niels Lohmann
Definition: json.hpp:56
InteratorType erase(InteratorType pos)
remove element given an iterator
Definition: json.hpp:2498
Output:
null
@@ -317,7 +317,7 @@ null
 
 
 
diff --git a/classnlohmann_1_1basic__json_a793e5c1da2fc7de7a04b19eadbb3f2cb.html b/classnlohmann_1_1basic__json_a793e5c1da2fc7de7a04b19eadbb3f2cb.html
index cb035551e..c1d45314a 100644
--- a/classnlohmann_1_1basic__json_a793e5c1da2fc7de7a04b19eadbb3f2cb.html
+++ b/classnlohmann_1_1basic__json_a793e5c1da2fc7de7a04b19eadbb3f2cb.html
@@ -314,7 +314,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_a7c08f966200af98db0313a3b517ce0a9.html b/classnlohmann_1_1basic__json_a7c08f966200af98db0313a3b517ce0a9.html
index cabd0ad46..c10ece2ef 100644
--- a/classnlohmann_1_1basic__json_a7c08f966200af98db0313a3b517ce0a9.html
+++ b/classnlohmann_1_1basic__json_a7c08f966200af98db0313a3b517ce0a9.html
@@ -263,8 +263,8 @@ Illustration from cppreference.com
 
17  std::cout << *it << '\n';
18 }
a class to store JSON values
Definition: json.hpp:121
-
a reverse random access iterator for the basic_json class
Definition: json.hpp:5100
-
reverse_iterator rend()
returns an iterator to the reverse-end
Definition: json.hpp:2916
+
a reverse random access iterator for the basic_json class
Definition: json.hpp:5132
+
reverse_iterator rend()
returns an iterator to the reverse-end
Definition: json.hpp:2948
namespace for Niels Lohmann
Definition: json.hpp:56
Output:
1
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/rend.cpp -o rend 
. @@ -277,7 +277,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a7c19a5c3be6cc755377ee41eade78baf.html b/classnlohmann_1_1basic__json_a7c19a5c3be6cc755377ee41eade78baf.html index 693cc3aed..7c8af96e8 100644 --- a/classnlohmann_1_1basic__json_a7c19a5c3be6cc755377ee41eade78baf.html +++ b/classnlohmann_1_1basic__json_a7c19a5c3be6cc755377ee41eade78baf.html @@ -234,6 +234,42 @@ template<template< typename U, typename V, typename...Args > class Obje
+

find an element in a JSON object Finds an element in a JSON object with key equivalent to key. If the element is not found or the JSON value is not an object, end() is returned.

+
Parameters
+ + +
[in]keykey value of the element to search for
+
+
+
Returns
Iterator to an element with key equivalent to key. If no such element is found, past-the-end (see end()) iterator is returned.
+
Complexity
Logarithmic in the size of the JSON object.
+
Example
The example shows how find is used.
1 #include <json.hpp>
+
2 
+
3 using namespace nlohmann;
+
4 
+
5 int main()
+
6 {
+
7  // create a JSON object
+
8  json j_object = {{"one", 1}, {"two", 2}};
+
9 
+
10  // call find
+
11  auto it_two = j_object.find("two");
+
12  auto it_three = j_object.find("three");
+
13 
+
14  // print values
+
15  std::cout << std::boolalpha;
+
16  std::cout << "\"two\" was found: " << (it_two != j_object.end()) << '\n';
+
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:121
+
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:2857
+
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:2719
+
namespace for Niels Lohmann
Definition: json.hpp:56
+
Output:
"two" was found: true
+value at key "two": 2
+"three" was found: false
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/find__key_type.cpp -o find__key_type 
.
@@ -243,7 +279,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a7d0db3b728d820d4984df78d97d2b104.html b/classnlohmann_1_1basic__json_a7d0db3b728d820d4984df78d97d2b104.html index 1effb67d4..b1103d6a3 100644 --- a/classnlohmann_1_1basic__json_a7d0db3b728d820d4984df78d97d2b104.html +++ b/classnlohmann_1_1basic__json_a7d0db3b728d820d4984df78d97d2b104.html @@ -231,7 +231,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 528d26e89..b2221833b 100644 --- a/classnlohmann_1_1basic__json_a7d1b990f2c12fecb57db1504fdadd0bb.html +++ b/classnlohmann_1_1basic__json_a7d1b990f2c12fecb57db1504fdadd0bb.html @@ -281,7 +281,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 664ec108a..ded35f0cb 100644 --- a/classnlohmann_1_1basic__json_a7dab69b10b98e7bc694339720e37fb2b.html +++ b/classnlohmann_1_1basic__json_a7dab69b10b98e7bc694339720e37fb2b.html @@ -234,6 +234,42 @@ template<template< typename U, typename V, typename...Args > class Obje
+

Finds an element in a JSON object with key equivalent to key. If the element is not found or the JSON value is not an object, end() is returned.

+
Parameters
+ + +
[in]keykey value of the element to search for
+
+
+
Returns
Iterator to an element with key equivalent to key. If no such element is found, past-the-end (see end()) iterator is returned.
+
Complexity
Logarithmic in the size of the JSON object.
+
Example
The example shows how find is used.
1 #include <json.hpp>
+
2 
+
3 using namespace nlohmann;
+
4 
+
5 int main()
+
6 {
+
7  // create a JSON object
+
8  json j_object = {{"one", 1}, {"two", 2}};
+
9 
+
10  // call find
+
11  auto it_two = j_object.find("two");
+
12  auto it_three = j_object.find("three");
+
13 
+
14  // print values
+
15  std::cout << std::boolalpha;
+
16  std::cout << "\"two\" was found: " << (it_two != j_object.end()) << '\n';
+
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:121
+
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:2857
+
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:2719
+
namespace for Niels Lohmann
Definition: json.hpp:56
+
Output:
"two" was found: true
+value at key "two": 2
+"three" was found: false
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/find__key_type.cpp -o find__key_type 
.
@@ -243,7 +279,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a80a89ddbe4cb7ef15b049febee208cc8.html b/classnlohmann_1_1basic__json_a80a89ddbe4cb7ef15b049febee208cc8.html index dea3890c0..3b58d5f3d 100644 --- a/classnlohmann_1_1basic__json_a80a89ddbe4cb7ef15b049febee208cc8.html +++ b/classnlohmann_1_1basic__json_a80a89ddbe4cb7ef15b049febee208cc8.html @@ -283,7 +283,7 @@ null diff --git a/classnlohmann_1_1basic__json_a80ceaa3bdd346292273b309e08525c1c.html b/classnlohmann_1_1basic__json_a80ceaa3bdd346292273b309e08525c1c.html index 165856443..1952c089b 100644 --- a/classnlohmann_1_1basic__json_a80ceaa3bdd346292273b309e08525c1c.html +++ b/classnlohmann_1_1basic__json_a80ceaa3bdd346292273b309e08525c1c.html @@ -231,7 +231,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 ad0884e56..3a6502884 100644 --- a/classnlohmann_1_1basic__json_a83cbbfbf5d3ecbad6de8ece0be6b36c4.html +++ b/classnlohmann_1_1basic__json_a83cbbfbf5d3ecbad6de8ece0be6b36c4.html @@ -292,7 +292,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 d05f01834..71ff88474 100644 --- a/classnlohmann_1_1basic__json_a87db51b6b936fb2ea293cdbc8702dcb8.html +++ b/classnlohmann_1_1basic__json_a87db51b6b936fb2ea293cdbc8702dcb8.html @@ -264,7 +264,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 a7243ff3b..abb460e0d 100644 --- a/classnlohmann_1_1basic__json_a8b526709d395142b68d21abfbfff17c3.html +++ b/classnlohmann_1_1basic__json_a8b526709d395142b68d21abfbfff17c3.html @@ -292,7 +292,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 e72a062b6..3906f49ef 100644 --- a/classnlohmann_1_1basic__json_a8c40cd9ead4de7c82f28268bdf0ec98a.html +++ b/classnlohmann_1_1basic__json_a8c40cd9ead4de7c82f28268bdf0ec98a.html @@ -287,7 +287,7 @@ template<template< typename U, typename V, typename...Args > class Obje
33 }
a class to store JSON values
Definition: json.hpp:121
namespace for Niels Lohmann
Definition: json.hpp:56
-
void clear() noexcept
clears the contents
Definition: json.hpp:3190
+
void clear() noexcept
clears the contents
Definition: json.hpp:3222
Output:
null
 false
 0
@@ -305,7 +305,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_a8e34088252a3ee6b2377f3a1f26dd1ba.html b/classnlohmann_1_1basic__json_a8e34088252a3ee6b2377f3a1f26dd1ba.html
index 3cb04fdaf..b7af95212 100644
--- a/classnlohmann_1_1basic__json_a8e34088252a3ee6b2377f3a1f26dd1ba.html
+++ b/classnlohmann_1_1basic__json_a8e34088252a3ee6b2377f3a1f26dd1ba.html
@@ -277,7 +277,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 7d328e3bf..6135bcbd2 100644
--- a/classnlohmann_1_1basic__json_a930e14150ffa067bcf56d35cb00271e1.html
+++ b/classnlohmann_1_1basic__json_a930e14150ffa067bcf56d35cb00271e1.html
@@ -262,7 +262,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 81cc3de7b..657749800 100644
--- a/classnlohmann_1_1basic__json_a951a76ba057b3be948e7ba5c2c01cd5a.html
+++ b/classnlohmann_1_1basic__json_a951a76ba057b3be948e7ba5c2c01cd5a.html
@@ -314,7 +314,7 @@ template<class CompatibleObjectType , typename std::enable_if< std::is_con
 
 
 
diff --git a/classnlohmann_1_1basic__json_a9d508dc7eb7023cd17b3c6958ea7c4ee.html b/classnlohmann_1_1basic__json_a9d508dc7eb7023cd17b3c6958ea7c4ee.html
index 9e94dac3d..447c0fe19 100644
--- a/classnlohmann_1_1basic__json_a9d508dc7eb7023cd17b3c6958ea7c4ee.html
+++ b/classnlohmann_1_1basic__json_a9d508dc7eb7023cd17b3c6958ea7c4ee.html
@@ -281,7 +281,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_a9daafb4c15ed5a008cb825bbd8c29d87.html b/classnlohmann_1_1basic__json_a9daafb4c15ed5a008cb825bbd8c29d87.html
index 4350922e3..68511db2c 100644
--- a/classnlohmann_1_1basic__json_a9daafb4c15ed5a008cb825bbd8c29d87.html
+++ b/classnlohmann_1_1basic__json_a9daafb4c15ed5a008cb825bbd8c29d87.html
@@ -280,7 +280,7 @@ template<typename T , std::size_t n> 
 
 
 
diff --git a/classnlohmann_1_1basic__json_aa1f3b3f1dca79392d6727b81f9668c6c.html b/classnlohmann_1_1basic__json_aa1f3b3f1dca79392d6727b81f9668c6c.html
index 3935e60d8..e49d9ae31 100644
--- a/classnlohmann_1_1basic__json_aa1f3b3f1dca79392d6727b81f9668c6c.html
+++ b/classnlohmann_1_1basic__json_aa1f3b3f1dca79392d6727b81f9668c6c.html
@@ -292,7 +292,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_aa23ac5808b9aa1a08d18e3ebea25c7ce.html b/classnlohmann_1_1basic__json_aa23ac5808b9aa1a08d18e3ebea25c7ce.html
index ba85097ec..de154105c 100644
--- a/classnlohmann_1_1basic__json_aa23ac5808b9aa1a08d18e3ebea25c7ce.html
+++ b/classnlohmann_1_1basic__json_aa23ac5808b9aa1a08d18e3ebea25c7ce.html
@@ -231,7 +231,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 0231468ae..1cf45a693 100644
--- a/classnlohmann_1_1basic__json_aa5413178b8041f7ac685dec4b040dd2c.html
+++ b/classnlohmann_1_1basic__json_aa5413178b8041f7ac685dec4b040dd2c.html
@@ -264,9 +264,9 @@ Illustration from cppreference.com
 
17  std::cout << *it << '\n';
18 }
a class to store JSON values
Definition: json.hpp:121
-
const_iterator cend() const
returns a const iterator to one past the last element
Definition: json.hpp:2860
+
const_iterator cend() const
returns a const iterator to one past the last element
Definition: json.hpp:2892
namespace for Niels Lohmann
Definition: json.hpp:56
-
a const random access iterator for the basic_json class
Definition: json.hpp:4605
+
a const random access iterator for the basic_json class
Definition: json.hpp:4637
Output:
5
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/cend.cpp -o cend 
. @@ -278,7 +278,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_aa5a06ef7009d3a8c72cc173f1f5da760.html b/classnlohmann_1_1basic__json_aa5a06ef7009d3a8c72cc173f1f5da760.html index 2ed4be039..e97d7c703 100644 --- a/classnlohmann_1_1basic__json_aa5a06ef7009d3a8c72cc173f1f5da760.html +++ b/classnlohmann_1_1basic__json_aa5a06ef7009d3a8c72cc173f1f5da760.html @@ -281,7 +281,7 @@ false diff --git a/classnlohmann_1_1basic__json_aa6a24b176f9599a21d662cc5f8e1ca76.html b/classnlohmann_1_1basic__json_aa6a24b176f9599a21d662cc5f8e1ca76.html index 58cd34d55..7356a2475 100644 --- a/classnlohmann_1_1basic__json_aa6a24b176f9599a21d662cc5f8e1ca76.html +++ b/classnlohmann_1_1basic__json_aa6a24b176f9599a21d662cc5f8e1ca76.html @@ -249,7 +249,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 f91657ad2..06f181d0d 100644 --- a/classnlohmann_1_1basic__json_aa71e977d31f470689883ac60d16ea4ac.html +++ b/classnlohmann_1_1basic__json_aa71e977d31f470689883ac60d16ea4ac.html @@ -270,7 +270,7 @@ template<template< typename U, typename V, typename...Args > class Obje
ArrayType< basic_json, AllocatorType< basic_json >> array_t
a type for an array
Definition: json.hpp:191
a class to store JSON values
Definition: json.hpp:121
namespace for Niels Lohmann
Definition: json.hpp:56
-
void swap(reference other) noexcept(std::is_nothrow_move_constructible< value_t >::value andstd::is_nothrow_move_assignable< value_t >::value andstd::is_nothrow_move_constructible< json_value >::value andstd::is_nothrow_move_assignable< json_value >::value)
exchanges the values
Definition: json.hpp:3338
+
void swap(reference other) noexcept(std::is_nothrow_move_constructible< value_t >::value andstd::is_nothrow_move_assignable< value_t >::value andstd::is_nothrow_move_constructible< json_value >::value andstd::is_nothrow_move_assignable< json_value >::value)
exchanges the values
Definition: json.hpp:3370
Output:
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 
. @@ -283,7 +283,7 @@ array = [1,2,3,4] diff --git a/classnlohmann_1_1basic__json_aa8e533b4290ade5bf5a33104a69b202a.html b/classnlohmann_1_1basic__json_aa8e533b4290ade5bf5a33104a69b202a.html index 8e773874e..020116fb6 100644 --- a/classnlohmann_1_1basic__json_aa8e533b4290ade5bf5a33104a69b202a.html +++ b/classnlohmann_1_1basic__json_aa8e533b4290ade5bf5a33104a69b202a.html @@ -264,7 +264,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_aac185a137428a7337aa620de07bfbbd7.html b/classnlohmann_1_1basic__json_aac185a137428a7337aa620de07bfbbd7.html index 26ec465ae..e0c648755 100644 --- a/classnlohmann_1_1basic__json_aac185a137428a7337aa620de07bfbbd7.html +++ b/classnlohmann_1_1basic__json_aac185a137428a7337aa620de07bfbbd7.html @@ -257,7 +257,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 ed8708a18..dea175feb 100644 --- a/classnlohmann_1_1basic__json_aacd442b66140c764c594ac8ad7dfd5b3.html +++ b/classnlohmann_1_1basic__json_aacd442b66140c764c594ac8ad7dfd5b3.html @@ -268,7 +268,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 33723569f..762deaf50 100644 --- a/classnlohmann_1_1basic__json_aacf6c869f6a9c66ac1bc99e93f310044.html +++ b/classnlohmann_1_1basic__json_aacf6c869f6a9c66ac1bc99e93f310044.html @@ -231,7 +231,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 889f7210f..c39e6ab14 100644 --- a/classnlohmann_1_1basic__json_aaf363408931d76472ded14017e59c9e8.html +++ b/classnlohmann_1_1basic__json_aaf363408931d76472ded14017e59c9e8.html @@ -308,7 +308,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 cfe9d8337..ea1383275 100644 --- a/classnlohmann_1_1basic__json_aafa839f2a74dc1b5060314b3423143b8.html +++ b/classnlohmann_1_1basic__json_aafa839f2a74dc1b5060314b3423143b8.html @@ -231,7 +231,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 d46f4f599..e5431c16b 100644 --- a/classnlohmann_1_1basic__json_ab2162bc76e10d8736cab9b2039956054.html +++ b/classnlohmann_1_1basic__json_ab2162bc76e10d8736cab9b2039956054.html @@ -263,8 +263,8 @@ Illustration from cppreference.com
17  std::cout << *it << '\n';
18 }
a class to store JSON values
Definition: json.hpp:121
-
a random access iterator for the basic_json class
Definition: json.hpp:4089
-
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:2825
+
a random access iterator for the basic_json class
Definition: json.hpp:4121
+
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:2857
namespace for Niels Lohmann
Definition: json.hpp:56
Output:
5
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/end.cpp -o end 
. @@ -277,7 +277,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_ab2fa1c4df15db5de07144b5c15c6f0f6.html b/classnlohmann_1_1basic__json_ab2fa1c4df15db5de07144b5c15c6f0f6.html index 19ca64169..4d2ccba67 100644 --- a/classnlohmann_1_1basic__json_ab2fa1c4df15db5de07144b5c15c6f0f6.html +++ b/classnlohmann_1_1basic__json_ab2fa1c4df15db5de07144b5c15c6f0f6.html @@ -281,7 +281,7 @@ true diff --git a/classnlohmann_1_1basic__json_ab8682827348d8eb61507bbe8c7829ce8.html b/classnlohmann_1_1basic__json_ab8682827348d8eb61507bbe8c7829ce8.html index fb00b4ec8..4bd0ca88a 100644 --- a/classnlohmann_1_1basic__json_ab8682827348d8eb61507bbe8c7829ce8.html +++ b/classnlohmann_1_1basic__json_ab8682827348d8eb61507bbe8c7829ce8.html @@ -281,7 +281,7 @@ false diff --git a/classnlohmann_1_1basic__json_ab9da2afc6f77295f25252725fde142a6.html b/classnlohmann_1_1basic__json_ab9da2afc6f77295f25252725fde142a6.html index eba865b6f..09eb245f4 100644 --- a/classnlohmann_1_1basic__json_ab9da2afc6f77295f25252725fde142a6.html +++ b/classnlohmann_1_1basic__json_ab9da2afc6f77295f25252725fde142a6.html @@ -292,7 +292,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_abb086fd840bedb05e0aee67f70eba1a9.html b/classnlohmann_1_1basic__json_abb086fd840bedb05e0aee67f70eba1a9.html index 26aef7929..e1b4c1b5e 100644 --- a/classnlohmann_1_1basic__json_abb086fd840bedb05e0aee67f70eba1a9.html +++ b/classnlohmann_1_1basic__json_abb086fd840bedb05e0aee67f70eba1a9.html @@ -281,7 +281,7 @@ false diff --git a/classnlohmann_1_1basic__json_abc2b49c2c44c61a15d4b272a85b41064.html b/classnlohmann_1_1basic__json_abc2b49c2c44c61a15d4b272a85b41064.html index b442643bf..e2f9ba5c7 100644 --- a/classnlohmann_1_1basic__json_abc2b49c2c44c61a15d4b272a85b41064.html +++ b/classnlohmann_1_1basic__json_abc2b49c2c44c61a15d4b272a85b41064.html @@ -281,7 +281,7 @@ true diff --git a/classnlohmann_1_1basic__json_ac4011bd0781e51afe4994d2b09fd27e9.html b/classnlohmann_1_1basic__json_ac4011bd0781e51afe4994d2b09fd27e9.html index 7a894cf39..5f1cecf8e 100644 --- a/classnlohmann_1_1basic__json_ac4011bd0781e51afe4994d2b09fd27e9.html +++ b/classnlohmann_1_1basic__json_ac4011bd0781e51afe4994d2b09fd27e9.html @@ -231,7 +231,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_ac82abedf356d252e0589850c3d8b35ba.html b/classnlohmann_1_1basic__json_ac82abedf356d252e0589850c3d8b35ba.html index b424cae69..cde67e90a 100644 --- a/classnlohmann_1_1basic__json_ac82abedf356d252e0589850c3d8b35ba.html +++ b/classnlohmann_1_1basic__json_ac82abedf356d252e0589850c3d8b35ba.html @@ -231,7 +231,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 d82242dc6..26fc250a1 100644 --- a/classnlohmann_1_1basic__json_ac943391891fcde0a71a15ce990e0f7f4.html +++ b/classnlohmann_1_1basic__json_ac943391891fcde0a71a15ce990e0f7f4.html @@ -283,7 +283,7 @@ true diff --git a/classnlohmann_1_1basic__json_acbf7f957ecb6ce19cdc5b40b5d6b6333.html b/classnlohmann_1_1basic__json_acbf7f957ecb6ce19cdc5b40b5d6b6333.html index b0011ce92..2237f8818 100644 --- a/classnlohmann_1_1basic__json_acbf7f957ecb6ce19cdc5b40b5d6b6333.html +++ b/classnlohmann_1_1basic__json_acbf7f957ecb6ce19cdc5b40b5d6b6333.html @@ -272,7 +272,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 a235a9c6f..f70848d17 100644 --- a/classnlohmann_1_1basic__json_acdf4445333649ec94198f09a62144884.html +++ b/classnlohmann_1_1basic__json_acdf4445333649ec94198f09a62144884.html @@ -260,8 +260,8 @@ Illustration from cppreference.com
14  std::cout << *it << '\n';
15 }
a class to store JSON values
Definition: json.hpp:121
-
a random access iterator for the basic_json class
Definition: json.hpp:4089
-
iterator begin()
returns an iterator to the first element
Definition: json.hpp:2765
+
a random access iterator for the basic_json class
Definition: json.hpp:4121
+
iterator begin()
returns an iterator to the first element
Definition: json.hpp:2797
namespace for Niels Lohmann
Definition: json.hpp:56
Output:
1
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/begin.cpp -o begin 
. @@ -274,7 +274,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_ace8338e57fdb11e1955c2a0c2d782069.html b/classnlohmann_1_1basic__json_ace8338e57fdb11e1955c2a0c2d782069.html index 14cae3034..097b3624d 100644 --- a/classnlohmann_1_1basic__json_ace8338e57fdb11e1955c2a0c2d782069.html +++ b/classnlohmann_1_1basic__json_ace8338e57fdb11e1955c2a0c2d782069.html @@ -231,7 +231,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_ad1fea64ed433a6f4e7408c8c7bbc4a37.html b/classnlohmann_1_1basic__json_ad1fea64ed433a6f4e7408c8c7bbc4a37.html index dff65e1f7..c70984b33 100644 --- a/classnlohmann_1_1basic__json_ad1fea64ed433a6f4e7408c8c7bbc4a37.html +++ b/classnlohmann_1_1basic__json_ad1fea64ed433a6f4e7408c8c7bbc4a37.html @@ -246,7 +246,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_ad2c4513cef5d8db760c4b2d871eea42c.html b/classnlohmann_1_1basic__json_ad2c4513cef5d8db760c4b2d871eea42c.html index 8a0498fa2..ba2f91767 100644 --- a/classnlohmann_1_1basic__json_ad2c4513cef5d8db760c4b2d871eea42c.html +++ b/classnlohmann_1_1basic__json_ad2c4513cef5d8db760c4b2d871eea42c.html @@ -242,7 +242,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 77cca8fe3..e2445ce94 100644 --- a/classnlohmann_1_1basic__json_ad497cbc4f80c8d79662ee6e19bf145dd.html +++ b/classnlohmann_1_1basic__json_ad497cbc4f80c8d79662ee6e19bf145dd.html @@ -308,9 +308,9 @@ template<class InteratorType , typename std::enable_if< std::is_same< I
29  std::cout << j_string << '\n';
30 }
a class to store JSON values
Definition: json.hpp:121
-
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:2825
-
iterator begin()
returns an iterator to the first element
Definition: json.hpp:2765
-
iterator find(typename object_t::key_type key)
find an element in an object
Definition: json.hpp:2705
+
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:2857
+
iterator begin()
returns an iterator to the first element
Definition: json.hpp:2797
+
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:2719
namespace for Niels Lohmann
Definition: json.hpp:56
InteratorType erase(InteratorType pos)
remove element given an iterator
Definition: json.hpp:2498
Output:
null
@@ -329,7 +329,7 @@ null
 
 
 
diff --git a/classnlohmann_1_1basic__json_ad7067a1a8ad2d88125915ada6d4d79b7.html b/classnlohmann_1_1basic__json_ad7067a1a8ad2d88125915ada6d4d79b7.html
index 83f706049..b4bbaee03 100644
--- a/classnlohmann_1_1basic__json_ad7067a1a8ad2d88125915ada6d4d79b7.html
+++ b/classnlohmann_1_1basic__json_ad7067a1a8ad2d88125915ada6d4d79b7.html
@@ -336,7 +336,7 @@ template<class CompatibleArrayType , typename std::enable_if< not std::is_
 
 
 
diff --git a/classnlohmann_1_1basic__json_ad81f3cedf09ccd70b2f3239d148c8752.html b/classnlohmann_1_1basic__json_ad81f3cedf09ccd70b2f3239d148c8752.html
index 118e27220..ab3dde5ba 100644
--- a/classnlohmann_1_1basic__json_ad81f3cedf09ccd70b2f3239d148c8752.html
+++ b/classnlohmann_1_1basic__json_ad81f3cedf09ccd70b2f3239d148c8752.html
@@ -288,7 +288,7 @@ true
 
 
 
diff --git a/classnlohmann_1_1basic__json_ad8e0c5d04f016d1b3ac7369e5c73bedf.html b/classnlohmann_1_1basic__json_ad8e0c5d04f016d1b3ac7369e5c73bedf.html
index 4dc7f959c..70e28ff54 100644
--- a/classnlohmann_1_1basic__json_ad8e0c5d04f016d1b3ac7369e5c73bedf.html
+++ b/classnlohmann_1_1basic__json_ad8e0c5d04f016d1b3ac7369e5c73bedf.html
@@ -261,9 +261,9 @@ Illustration from cppreference.com
 
14  std::cout << *it << '\n';
15 }
a class to store JSON values
Definition: json.hpp:121
-
const_iterator cbegin() const
returns a const iterator to the first element
Definition: json.hpp:2800
+
const_iterator cbegin() const
returns a const iterator to the first element
Definition: json.hpp:2832
namespace for Niels Lohmann
Definition: json.hpp:56
-
a const random access iterator for the basic_json class
Definition: json.hpp:4605
+
a const random access iterator for the basic_json class
Definition: json.hpp:4637
Output:
1
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/cbegin.cpp -o cbegin 
. @@ -275,7 +275,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_ada8e01109a60088e4db2a670d4903b54.html b/classnlohmann_1_1basic__json_ada8e01109a60088e4db2a670d4903b54.html index d9db533ad..9ee17e85f 100644 --- a/classnlohmann_1_1basic__json_ada8e01109a60088e4db2a670d4903b54.html +++ b/classnlohmann_1_1basic__json_ada8e01109a60088e4db2a670d4903b54.html @@ -295,7 +295,7 @@ out of range diff --git a/classnlohmann_1_1basic__json_adbd4c16c9ac641b2a4736bc2c6787d83.html b/classnlohmann_1_1basic__json_adbd4c16c9ac641b2a4736bc2c6787d83.html index f407d0389..bc7f36310 100644 --- a/classnlohmann_1_1basic__json_adbd4c16c9ac641b2a4736bc2c6787d83.html +++ b/classnlohmann_1_1basic__json_adbd4c16c9ac641b2a4736bc2c6787d83.html @@ -231,7 +231,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 33079e316..f59a10422 100644 --- a/classnlohmann_1_1basic__json_add77b50f69debb20e98d5a8c6c11c90c.html +++ b/classnlohmann_1_1basic__json_add77b50f69debb20e98d5a8c6c11c90c.html @@ -270,7 +270,7 @@ 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:6594
+
basic_json<> json
default JSON class
Definition: json.hpp:6626
a class to store JSON values
Definition: json.hpp:121
namespace for Niels Lohmann
Definition: json.hpp:56
Output:
[]
@@ -286,7 +286,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 09ae5c50c..c9071c95d 100644
--- a/classnlohmann_1_1basic__json_ade7bd6e0fe221fec9d3fa9b430f5ce76.html
+++ b/classnlohmann_1_1basic__json_ade7bd6e0fe221fec9d3fa9b430f5ce76.html
@@ -311,7 +311,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 3de4be344..02147a89d 100644
--- a/classnlohmann_1_1basic__json_ae2980ed978451f844e6e9a0890b637a6.html
+++ b/classnlohmann_1_1basic__json_ae2980ed978451f844e6e9a0890b637a6.html
@@ -270,7 +270,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_ae42d32c34c8014b1bf677fdb7baa5401.html b/classnlohmann_1_1basic__json_ae42d32c34c8014b1bf677fdb7baa5401.html
index f6a945ebf..038cd3597 100644
--- a/classnlohmann_1_1basic__json_ae42d32c34c8014b1bf677fdb7baa5401.html
+++ b/classnlohmann_1_1basic__json_ae42d32c34c8014b1bf677fdb7baa5401.html
@@ -285,7 +285,7 @@ template<class CompatibleStringType , typename std::enable_if< std::is_con
 
 
 
diff --git a/classnlohmann_1_1basic__json_ae928414b2805cf6ef56b4e4f8d235416.html b/classnlohmann_1_1basic__json_ae928414b2805cf6ef56b4e4f8d235416.html
index 82741d19c..bfd682e74 100644
--- a/classnlohmann_1_1basic__json_ae928414b2805cf6ef56b4e4f8d235416.html
+++ b/classnlohmann_1_1basic__json_ae928414b2805cf6ef56b4e4f8d235416.html
@@ -231,7 +231,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 a0f3e2bc7..621cf2bc9 100644
--- a/classnlohmann_1_1basic__json_ae960d2d6bc7b94fe39cc5e9f106edfa9.html
+++ b/classnlohmann_1_1basic__json_ae960d2d6bc7b94fe39cc5e9f106edfa9.html
@@ -275,7 +275,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 8610c119d..0a03bb0b1 100644
--- a/classnlohmann_1_1basic__json_aea1c863b719b4ca5b77188c171bbfafe.html
+++ b/classnlohmann_1_1basic__json_aea1c863b719b4ca5b77188c171bbfafe.html
@@ -260,7 +260,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 0a75c7d77..07481d95d 100644
--- a/classnlohmann_1_1basic__json_aeda4ec7473c17fae51e6d1eba0faf720.html
+++ b/classnlohmann_1_1basic__json_aeda4ec7473c17fae51e6d1eba0faf720.html
@@ -243,7 +243,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_af0ebd1757acb971a6504b4acabf88584.html b/classnlohmann_1_1basic__json_af0ebd1757acb971a6504b4acabf88584.html
index 85be49008..42a0ecb23 100644
--- a/classnlohmann_1_1basic__json_af0ebd1757acb971a6504b4acabf88584.html
+++ b/classnlohmann_1_1basic__json_af0ebd1757acb971a6504b4acabf88584.html
@@ -260,9 +260,9 @@ Illustration from cppreference.com
 
14  std::cout << *it << '\n';
15 }
a class to store JSON values
Definition: json.hpp:121
-
a reverse random access iterator for the basic_json class
Definition: json.hpp:5100
+
a reverse random access iterator for the basic_json class
Definition: json.hpp:5132
namespace for Niels Lohmann
Definition: json.hpp:56
-
reverse_iterator rbegin()
returns an iterator to the reverse-beginning
Definition: json.hpp:2884
+
reverse_iterator rbegin()
returns an iterator to the reverse-beginning
Definition: json.hpp:2916
Output:
5
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/rbegin.cpp -o rbegin 
. @@ -274,7 +274,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_af2730bc8ffa6b28916875c13ee7b83f5.html b/classnlohmann_1_1basic__json_af2730bc8ffa6b28916875c13ee7b83f5.html index 6e4ca15f6..15d7dd1f5 100644 --- a/classnlohmann_1_1basic__json_af2730bc8ffa6b28916875c13ee7b83f5.html +++ b/classnlohmann_1_1basic__json_af2730bc8ffa6b28916875c13ee7b83f5.html @@ -300,12 +300,12 @@ 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:6594
+
basic_json<> json
default JSON class
Definition: json.hpp:6626
a class to store JSON values
Definition: json.hpp:121
std::function< bool(int depth, parse_event_t event, basic_json &parsed)> parser_callback_t
per-element parser callback type
Definition: json.hpp:415
namespace for Niels Lohmann
Definition: json.hpp:56
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:3702
+
static basic_json parse(const string_t &s, parser_callback_t cb=nullptr)
deserialize from string
Definition: json.hpp:3734
parse_event_t
JSON callback events.
Definition: json.hpp:351
Output:
{
     "Image": {
@@ -352,7 +352,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_af3abeeb0e9676de8bc2d6aa6f6c0d6c6.html b/classnlohmann_1_1basic__json_af3abeeb0e9676de8bc2d6aa6f6c0d6c6.html
index 588e636fa..f66d31643 100644
--- a/classnlohmann_1_1basic__json_af3abeeb0e9676de8bc2d6aa6f6c0d6c6.html
+++ b/classnlohmann_1_1basic__json_af3abeeb0e9676de8bc2d6aa6f6c0d6c6.html
@@ -277,7 +277,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_af49c37bbda87f36170c67f960db3781a.html b/classnlohmann_1_1basic__json_af49c37bbda87f36170c67f960db3781a.html
index 0ffd70169..17555df6b 100644
--- a/classnlohmann_1_1basic__json_af49c37bbda87f36170c67f960db3781a.html
+++ b/classnlohmann_1_1basic__json_af49c37bbda87f36170c67f960db3781a.html
@@ -289,7 +289,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
object (unordered set of name/value pairs)
namespace for Niels Lohmann
Definition: json.hpp:56
array (ordered collection of values)
-
size_type size() const noexcept
returns the number of elements
Definition: json.hpp:3071
+
size_type size() const noexcept
returns the number of elements
Definition: json.hpp:3103
Output:
0
 1
 1
@@ -309,7 +309,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_af6b6050ccd906dddf7c9f47fe3ad62a5.html b/classnlohmann_1_1basic__json_af6b6050ccd906dddf7c9f47fe3ad62a5.html
index 8c1dca42e..22d1ad288 100644
--- a/classnlohmann_1_1basic__json_af6b6050ccd906dddf7c9f47fe3ad62a5.html
+++ b/classnlohmann_1_1basic__json_af6b6050ccd906dddf7c9f47fe3ad62a5.html
@@ -287,7 +287,7 @@ out of range
 
 
 
diff --git a/classnlohmann_1_1basic__json_af70222eb312ca0a44cd7d793b1516e2e.html b/classnlohmann_1_1basic__json_af70222eb312ca0a44cd7d793b1516e2e.html
index 889a5e1c3..c027d05bd 100644
--- a/classnlohmann_1_1basic__json_af70222eb312ca0a44cd7d793b1516e2e.html
+++ b/classnlohmann_1_1basic__json_af70222eb312ca0a44cd7d793b1516e2e.html
@@ -281,7 +281,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_af709c079de0ac3507143ea2c60699bd0.html b/classnlohmann_1_1basic__json_af709c079de0ac3507143ea2c60699bd0.html
index f528f54f5..a9f9bdb85 100644
--- a/classnlohmann_1_1basic__json_af709c079de0ac3507143ea2c60699bd0.html
+++ b/classnlohmann_1_1basic__json_af709c079de0ac3507143ea2c60699bd0.html
@@ -322,7 +322,7 @@ array: [1,2,3,4,5]
 
 
 
diff --git a/classnlohmann_1_1basic__json_af74581d177dafc38df5a126ccd358999.html b/classnlohmann_1_1basic__json_af74581d177dafc38df5a126ccd358999.html
index 9fc0b3f92..8f7e61380 100644
--- a/classnlohmann_1_1basic__json_af74581d177dafc38df5a126ccd358999.html
+++ b/classnlohmann_1_1basic__json_af74581d177dafc38df5a126ccd358999.html
@@ -311,7 +311,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 ed8c125a6..d1279debc 100644
--- a/classnlohmann_1_1basic__json_af93e556bf708cb81b22ce223af1aa727.html
+++ b/classnlohmann_1_1basic__json_af93e556bf708cb81b22ce223af1aa727.html
@@ -278,7 +278,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_afb19d4669daf3c4347763f043471b835.html b/classnlohmann_1_1basic__json_afb19d4669daf3c4347763f043471b835.html
index 2f049386a..a556936ae 100644
--- a/classnlohmann_1_1basic__json_afb19d4669daf3c4347763f043471b835.html
+++ b/classnlohmann_1_1basic__json_afb19d4669daf3c4347763f043471b835.html
@@ -261,7 +261,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
17 }
a class to store JSON values
Definition: json.hpp:121
namespace for Niels Lohmann
Definition: json.hpp:56
-
void swap(reference other) noexcept(std::is_nothrow_move_constructible< value_t >::value andstd::is_nothrow_move_assignable< value_t >::value andstd::is_nothrow_move_constructible< json_value >::value andstd::is_nothrow_move_assignable< json_value >::value)
exchanges the values
Definition: json.hpp:3338
+
void swap(reference other) noexcept(std::is_nothrow_move_constructible< value_t >::value andstd::is_nothrow_move_assignable< value_t >::value andstd::is_nothrow_move_constructible< json_value >::value andstd::is_nothrow_move_assignable< json_value >::value)
exchanges the values
Definition: json.hpp:3370
Output:
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 
. @@ -274,7 +274,7 @@ j2 = [1,2,3,4,5] diff --git a/classnlohmann_1_1basic__json_afb9664e6f30038e691f2e864e7f6a740.html b/classnlohmann_1_1basic__json_afb9664e6f30038e691f2e864e7f6a740.html index 65a205a2b..20981b7a6 100644 --- a/classnlohmann_1_1basic__json_afb9664e6f30038e691f2e864e7f6a740.html +++ b/classnlohmann_1_1basic__json_afb9664e6f30038e691f2e864e7f6a740.html @@ -286,7 +286,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/dir_68267d1309a1af8e8297ef4c3efbcdba.html index b62367b7b..6fcc68cce 100644 --- a/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ b/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -93,7 +93,7 @@ Files diff --git a/functions.html b/functions.html index e512067e5..70e321661 100644 --- a/functions.html +++ b/functions.html @@ -498,7 +498,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_enum.html b/functions_enum.html index fc025611d..789aae338 100644 --- a/functions_enum.html +++ b/functions_enum.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_func.html b/functions_func.html index b1837a70f..c5690ea12 100644 --- a/functions_func.html +++ b/functions_func.html @@ -408,7 +408,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_rela.html b/functions_rela.html index b0176b3e1..df70ca242 100644 --- a/functions_rela.html +++ b/functions_rela.html @@ -126,7 +126,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_type.html b/functions_type.html index 8215ba609..782a84855 100644 --- a/functions_type.html +++ b/functions_type.html @@ -158,7 +158,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/graph_legend.html b/graph_legend.html index 5451c794e..1366c24f6 100644 --- a/graph_legend.html +++ b/graph_legend.html @@ -143,7 +143,7 @@ A yellow dashed arrow denotes a relation between a template instance and the tem diff --git a/hierarchy.html b/hierarchy.html index 92cc245d4..fccba15a5 100644 --- a/hierarchy.html +++ b/hierarchy.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/index.html b/index.html index c140b7818..0693d71d3 100644 --- a/index.html +++ b/index.html @@ -88,7 +88,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/namespacemembers.html b/namespacemembers.html index b6c33bf49..d9013852d 100644 --- a/namespacemembers.html +++ b/namespacemembers.html @@ -95,7 +95,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/namespacemembers_type.html b/namespacemembers_type.html index e6cbb8c75..47baac8a1 100644 --- a/namespacemembers_type.html +++ b/namespacemembers_type.html @@ -95,7 +95,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/namespacenlohmann.html b/namespacenlohmann.html index d427b9758..9dc131901 100644 --- a/namespacenlohmann.html +++ b/namespacenlohmann.html @@ -109,7 +109,7 @@ Typedefs diff --git a/namespacenlohmann_a2bfd99e845a2e5cd90aeaf1b1431f474.html b/namespacenlohmann_a2bfd99e845a2e5cd90aeaf1b1431f474.html index b433c72d0..06d06b815 100644 --- a/namespacenlohmann_a2bfd99e845a2e5cd90aeaf1b1431f474.html +++ b/namespacenlohmann_a2bfd99e845a2e5cd90aeaf1b1431f474.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/pages.html b/pages.html index c089dcf4a..e2df10bf4 100644 --- a/pages.html +++ b/pages.html @@ -88,7 +88,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 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 0271ebe88..055afdb26 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 @@ -99,7 +99,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 431208162..ce3b51989 100644 --- a/structstd_1_1hash_3_01nlohmann_1_1json_01_4.html +++ b/structstd_1_1hash_3_01nlohmann_1_1json_01_4.html @@ -110,7 +110,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 74dab3797..667b20015 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 @@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/todo.html b/todo.html index 9b30267cc..d3f26b06a 100644 --- a/todo.html +++ b/todo.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');