diff --git a/annotated.html b/annotated.html index 849608eec..10660fc77 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 88a00117c..b3b410bb0 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 d36ef7e8c..1d8c6a811 100644 --- a/classnlohmann_1_1basic__json-members.html +++ b/classnlohmann_1_1basic__json-members.html @@ -222,7 +222,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/classnlohmann_1_1basic__json.html b/classnlohmann_1_1basic__json.html index 17f5935bd..99e47874f 100644 --- a/classnlohmann_1_1basic__json.html +++ b/classnlohmann_1_1basic__json.html @@ -592,7 +592,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 0a968deff..d81c5e4b5 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 eddd6b09c..e4d704bd5 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 5e142cb2a..b8af03916 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 1757f2f65..f30d5cdc7 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 4cefca084..0a017fd19 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 cf0527799..9a95c43d4 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 5ab42d61b..fc3a91847 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 bf5ed6c23..8c5165f91 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 8d71b0c7c..e96066d7e 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 656969a58..aa5df8134 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 383dcbc27..8611047b5 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 c5cf03959..09f953738 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 ae2d62be5..01f453317 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 1817f14a3..efe82e5a5 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 5d3769dd5..39f574995 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 831d4a69a..227c347e0 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 f00bde64b..f9ca54a70 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 46be07678..f89d1e321 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 e8544cae0..b07701313 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 7e15681f0..a3755f840 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 55a225ad8..3b3554e93 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 e55747c10..9eb602e19 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 892589468..27ae91049 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 7d1d9cd1d..4b4712530 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 97e06fb26..905ca209c 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 60d86a2b2..362b60b9c 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 5d0fc15d7..a03ea114f 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 446579daa..83cc4518e 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 eb4e7d6e8..6bfbdfbc5 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 d6110eba3..7b6727298 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 e09a2d3fb..312651200 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 d496b5eb3..446a78e21 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 412586e64..59ed2c468 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 8277cf542..66d61e9a3 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 55810da6a..f45311a03 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 186de1716..9b12b30aa 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 5e1138265..c5bac9c78 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 e31bf827e..41739969a 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 f99cfde2a..f7a820a4f 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 f72aac232..980190dc6 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 6a5b64b1d..9c8782322 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 97023d715..f2547d42f 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 7042c5c64..a3359b4c7 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 547332254..05a5293d7 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 ea85ebd4b..7be9d2ef3 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 82d90959e..3fa9503b9 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 1291eaf92..f24ff17ea 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 69fdb8ced..f494d3b07 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 edfa0f7c0..0b99c3eb6 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 d6da361e7..7889705ce 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 8ed4592c5..50fc38d78 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 bc9f9f77e..0ba741166 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 4ef694986..0b50009a7 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 40a786201..128889d09 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 087c0de26..68028266b 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 8b9035206..6af8ece17 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 2ae95b497..559465560 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 992a7b68f..737ed62b1 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 b3e1f15a4..d854d2e9d 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 e652654bf..488deb6e1 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 967f00751..740dcbea8 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 a207d2e2b..208e5e41b 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 a6472f2f6..48f40ca86 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 dc92ed39c..81eb4c989 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 a9e038f95..f814a203e 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 51c80afff..8095ae3ce 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 17bbdb1c5..9180ca25a 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 60a8945c2..7831ddc13 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 a6fbdaa6d..e9934e7b7 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 4c8d49e0b..e4897f2d9 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 6ff3f9833..311d968f7 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 45cef70b3..76ebfe983 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 48fb534e3..dcf6f3c81 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 febb1429b..a9207b656 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 20b285737..f5473660b 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 e869025bc..93bc8e852 100644 --- a/classnlohmann_1_1basic__json_a01a2643289b69cd71d9b3f3fc209b748.html +++ b/classnlohmann_1_1basic__json_a01a2643289b69cd71d9b3f3fc209b748.html @@ -266,9 +266,9 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::count
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:2823
- Output:
number of elements with key "two": 1
+ Output (play with this example online): 
number of elements with key "two": 1
 number of elements with key "three": 0
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/count.cpp -o count 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/count.cpp -o count 
@@ -278,7 +278,7 @@ number of elements with key "three": 0 diff --git a/classnlohmann_1_1basic__json_a034bccea9f5400650443e9f12e67b079.html b/classnlohmann_1_1basic__json_a034bccea9f5400650443e9f12e67b079.html index 0629fe577..e164955c3 100644 --- a/classnlohmann_1_1basic__json_a034bccea9f5400650443e9f12e67b079.html +++ b/classnlohmann_1_1basic__json_a034bccea9f5400650443e9f12e67b079.html @@ -279,10 +279,10 @@ In case the parameter value is not a number, a JSON null value is creat
21 }
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
42.2299995422363
+ Output (play with this example online): 
42.2299995422363
 null
 23.42
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__CompatibleNumberFloatType.cpp -o basic_json__CompatibleNumberFloatType 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__CompatibleNumberFloatType.cpp -o basic_json__CompatibleNumberFloatType 
See also
basic_json(const number_float_t)
@@ -293,7 +293,7 @@ null diff --git a/classnlohmann_1_1basic__json_a058be74840ddfec9dad9755ac8dc8b99.html b/classnlohmann_1_1basic__json_a058be74840ddfec9dad9755ac8dc8b99.html index 9e51bed99..d4c4d411c 100644 --- a/classnlohmann_1_1basic__json_a058be74840ddfec9dad9755ac8dc8b99.html +++ b/classnlohmann_1_1basic__json_a058be74840ddfec9dad9755ac8dc8b99.html @@ -266,14 +266,14 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::is_number
bool is_number() const noexcept
return whether value is a number
Definition: json.hpp:1536
- Output:
false
+ Output (play with this example online): 
false
 false
 true
 true
 false
 false
 false
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/is_number.cpp -o is_number 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/is_number.cpp -o is_number 
@@ -283,7 +283,7 @@ false diff --git a/classnlohmann_1_1basic__json_a0998ed4a76d1e5048fd043475eb7bfde.html b/classnlohmann_1_1basic__json_a0998ed4a76d1e5048fd043475eb7bfde.html index 3b62e03de..f62ca8a50 100644 --- a/classnlohmann_1_1basic__json_a0998ed4a76d1e5048fd043475eb7bfde.html +++ b/classnlohmann_1_1basic__json_a0998ed4a76d1e5048fd043475eb7bfde.html @@ -286,14 +286,14 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::max_size
size_type max_size() const noexcept
returns the maximum possible number of elements
Definition: json.hpp:3222
- Output:
0
+ Output (play with this example online): 
0
 1
 1
 1
 256204778801521550
 1152921504606846975
 1
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/max_size.cpp -o max_size 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/max_size.cpp -o max_size 
@@ -303,7 +303,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 421d6cc1e..e5ed4bc24 100644 --- a/classnlohmann_1_1basic__json_a0a7560122349628cf4942a316aa6d21f.html +++ b/classnlohmann_1_1basic__json_a0a7560122349628cf4942a316aa6d21f.html @@ -245,7 +245,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 45e4efb5a..cb35920cc 100644 --- a/classnlohmann_1_1basic__json_a0a9c6a1fccc4db365860463e8203eb38.html +++ b/classnlohmann_1_1basic__json_a0a9c6a1fccc4db365860463e8203eb38.html @@ -268,8 +268,8 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann::basic_json::object_t
ObjectType< StringType, basic_json, std::less< StringType >, AllocatorType< std::pair< const StringType, basic_json >>> object_t
a type for an object
Definition: json.hpp:189
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
{"one":1,"two":2}
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__object_t.cpp -o basic_json__object_t 
. + Output (play with this example online):
{"one":1,"two":2}
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__object_t.cpp -o basic_json__object_t 
See also
basic_json(const CompatibleObjectType&)
@@ -280,7 +280,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 4747a83e3..718ca71b2 100644 --- a/classnlohmann_1_1basic__json_a0bb6ea56c89560cce8003485bffe49d4.html +++ b/classnlohmann_1_1basic__json_a0bb6ea56c89560cce8003485bffe49d4.html @@ -281,12 +281,12 @@ template<typename CompatibleNumberIntegerType , typename std::enable_if< s
27 }
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
42
+ Output (play with this example online): 
42
 23
 1024
 17
 8
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__CompatibleIntegerNumberType.cpp -o basic_json__CompatibleIntegerNumberType 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__CompatibleIntegerNumberType.cpp -o basic_json__CompatibleIntegerNumberType 
See also
basic_json(const number_integer_t)
@@ -297,7 +297,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 09c66efe8..5e064d859 100644 --- a/classnlohmann_1_1basic__json_a0e372f4c5a90c6be7242a2d7a3709b48.html +++ b/classnlohmann_1_1basic__json_a0e372f4c5a90c6be7242a2d7a3709b48.html @@ -245,7 +245,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 23b02de7e..182ebdee9 100644 --- a/classnlohmann_1_1basic__json_a122640e7e2db1814fc7bbb3c122ec76e.html +++ b/classnlohmann_1_1basic__json_a122640e7e2db1814fc7bbb3c122ec76e.html @@ -270,7 +270,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 c7ccb712b..16f91e8f3 100644 --- a/classnlohmann_1_1basic__json_a13e5642dbfa1602c937d295a085413cc.html +++ b/classnlohmann_1_1basic__json_a13e5642dbfa1602c937d295a085413cc.html @@ -233,7 +233,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 7ecaa7adc..f59b15bad 100644 --- a/classnlohmann_1_1basic__json_a15e468968cd4d0e4fd566044d66ada24.html +++ b/classnlohmann_1_1basic__json_a15e468968cd4d0e4fd566044d66ada24.html @@ -268,8 +268,8 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json::string_t
StringType string_t
a type for a string
Definition: json.hpp:193
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
"The quick brown fox jumps over the lazy doc"
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__string_t.cpp -o basic_json__string_t 
. + Output (play with this example online):
"The quick brown fox jumps over the lazy doc"
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__string_t.cpp -o basic_json__string_t 
See also
basic_json(const typename string_t::value_type*)
basic_json(const CompatibleStringType&)
@@ -282,7 +282,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 f1d5cdff0..1b5aac515 100644 --- a/classnlohmann_1_1basic__json_a16a275d0201e9aedc87c933c764b8869.html +++ b/classnlohmann_1_1basic__json_a16a275d0201e9aedc87c933c764b8869.html @@ -282,9 +282,9 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann::basic_json::at
reference at(size_type idx)
access specified array element with bounds checking
Definition: json.hpp:2139
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
"il brutto"
+ Output (play with this example online): 
"il brutto"
 out of range
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/at__object_t_key_type_const.cpp -o at__object_t_key_type_const 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/at__object_t_key_type_const.cpp -o at__object_t_key_type_const 
@@ -294,7 +294,7 @@ out of range diff --git a/classnlohmann_1_1basic__json_a190d719446e7016879c4b961c9cf9072.html b/classnlohmann_1_1basic__json_a190d719446e7016879c4b961c9cf9072.html index ecf9219df..c7dbb773b 100644 --- a/classnlohmann_1_1basic__json_a190d719446e7016879c4b961c9cf9072.html +++ b/classnlohmann_1_1basic__json_a190d719446e7016879c4b961c9cf9072.html @@ -270,8 +270,8 @@ template<typename T , typename std::enable_if< not(std::is_same< T, int
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::number_integer_t
NumberIntegerType number_integer_t
a type for a number (integer)
Definition: json.hpp:197
- Output:
42
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__number_integer_t.cpp -o basic_json__number_integer_t 
. + Output (play with this example online):
42
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__number_integer_t.cpp -o basic_json__number_integer_t 
See also
basic_json(const int)
@@ -282,7 +282,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 ae423c87d..f25cdad72 100644 --- a/classnlohmann_1_1basic__json_a231b02148577b69a154b2ce2c87a5522.html +++ b/classnlohmann_1_1basic__json_a231b02148577b69a154b2ce2c87a5522.html @@ -268,7 +268,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 92841e68f..a6d5d92a7 100644 --- a/classnlohmann_1_1basic__json_a2448b2777e8a3e48614e1b3c41b96f7c.html +++ b/classnlohmann_1_1basic__json_a2448b2777e8a3e48614e1b3c41b96f7c.html @@ -264,8 +264,8 @@ template<template< typename U, typename V, typename...Args > class Obje
12 }
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
"The quick brown fox jumps over the lazy doc"
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__string_t_value_type.cpp -o basic_json__string_t_value_type 
. + Output (play with this example online):
"The quick brown fox jumps over the lazy doc"
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__string_t_value_type.cpp -o basic_json__string_t_value_type 
See also
basic_json(const string_t&)
basic_json(const CompatibleStringType&)
@@ -278,7 +278,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 534bb64af..1f99d8b97 100644 --- a/classnlohmann_1_1basic__json_a266c4dd24d11a86e4831523af5d9df4d.html +++ b/classnlohmann_1_1basic__json_a266c4dd24d11a86e4831523af5d9df4d.html @@ -288,7 +288,7 @@ This function is required for compatibility reasons with Clang.
30 }
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
2
+ Output (play with this example online): 
2
 
 {
     "one": 1,
@@ -307,7 +307,7 @@ This function is required for compatibility reasons with Clang.
     "three": 3,
     "two": 2
 }
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/operatorarray__key_type.cpp -o operatorarray__key_type 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/operatorarray__key_type.cpp -o operatorarray__key_type 
@@ -317,7 +317,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 4aea0841d..875c4276a 100644 --- a/classnlohmann_1_1basic__json_a2adfc8d24bea3908398cbf325b5dc1d7.html +++ b/classnlohmann_1_1basic__json_a2adfc8d24bea3908398cbf325b5dc1d7.html @@ -265,8 +265,8 @@ Illustration from cppreference.com
nlohmann::basic_json::const_reverse_iterator
a const reverse random access iterator for the basic_json class
Definition: json.hpp:5214
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::crbegin
const_reverse_iterator crbegin() const
returns a const reverse iterator to the last element
Definition: json.hpp:3040
- Output:
5
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/crbegin.cpp -o crbegin 
. + Output (play with this example online):
5
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/crbegin.cpp -o crbegin 
@@ -276,7 +276,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a2bb1b109282149119a070be4ac76f820.html b/classnlohmann_1_1basic__json_a2bb1b109282149119a070be4ac76f820.html index fdc56b357..ba7ea8dee 100644 --- a/classnlohmann_1_1basic__json_a2bb1b109282149119a070be4ac76f820.html +++ b/classnlohmann_1_1basic__json_a2bb1b109282149119a070be4ac76f820.html @@ -266,14 +266,14 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann::basic_json::is_object
bool is_object() const noexcept
return whether value is an object
Definition: json.hpp:1589
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
false
+ Output (play with this example online): 
false
 false
 false
 false
 true
 false
 false
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/is_object.cpp -o is_object 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/is_object.cpp -o is_object 
@@ -283,7 +283,7 @@ false diff --git a/classnlohmann_1_1basic__json_a31af4b416e9ccb373291a645da7f83d7.html b/classnlohmann_1_1basic__json_a31af4b416e9ccb373291a645da7f83d7.html index 24948e288..f13a486f3 100644 --- a/classnlohmann_1_1basic__json_a31af4b416e9ccb373291a645da7f83d7.html +++ b/classnlohmann_1_1basic__json_a31af4b416e9ccb373291a645da7f83d7.html @@ -282,14 +282,14 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json::value_t::number_float
number value (floating-point)
nlohmann::basic_json::value_t::boolean
boolean value
nlohmann::basic_json::value_t::number_integer
number value (integer)
- Output:
true
+ Output (play with this example online): 
true
 true
 true
 true
 true
 true
 true
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/operator__value_t.cpp -o operator__value_t 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/operator__value_t.cpp -o operator__value_t 
@@ -299,7 +299,7 @@ true diff --git a/classnlohmann_1_1basic__json_a33f1632cfdbf460b4913f4e8a43dd9e4.html b/classnlohmann_1_1basic__json_a33f1632cfdbf460b4913f4e8a43dd9e4.html index a5d7b6cda..486c084f7 100644 --- a/classnlohmann_1_1basic__json_a33f1632cfdbf460b4913f4e8a43dd9e4.html +++ b/classnlohmann_1_1basic__json_a33f1632cfdbf460b4913f4e8a43dd9e4.html @@ -263,9 +263,9 @@ template<template< typename U, typename V, typename...Args > class Obje
16 }
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
null
+ Output (play with this example online): 
null
 23
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__moveconstructor.cpp -o basic_json__moveconstructor 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__moveconstructor.cpp -o basic_json__moveconstructor 
@@ -275,7 +275,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 2b3e3d1b4..4f794dc87 100644 --- a/classnlohmann_1_1basic__json_a34d6a60dd99e9f33b8273a1c8db5669b.html +++ b/classnlohmann_1_1basic__json_a34d6a60dd99e9f33b8273a1c8db5669b.html @@ -276,7 +276,7 @@ template<template< typename U, typename V, typename...Args > class Obje
18 }
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
{"one":1,"two":2}
+ Output (play with this example online): 
{"one":1,"two":2}
 
 [1,2,4,8,16]
 
@@ -293,7 +293,7 @@ template<template< typename U, typename V, typename...Args > class Obje
   16
 ]
 
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/operator_serialize.cpp -o operator_serialize 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/operator_serialize.cpp -o operator_serialize 
@@ -303,7 +303,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 c8bad26e0..f6ed60c3e 100644 --- a/classnlohmann_1_1basic__json_a429c2606865483ff357cccc1b1c46569.html +++ b/classnlohmann_1_1basic__json_a429c2606865483ff357cccc1b1c46569.html @@ -245,7 +245,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 32363ae84..0924cb6b1 100644 --- a/classnlohmann_1_1basic__json_a4361aa791f3980abb239e4155a3450cb.html +++ b/classnlohmann_1_1basic__json_a4361aa791f3980abb239e4155a3450cb.html @@ -266,8 +266,8 @@ Illustration from cppreference.com
nlohmann::basic_json::cbegin
const_iterator cbegin() const
returns a const iterator to the first element
Definition: json.hpp:2892
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::const_iterator
a const random access iterator for the basic_json class
Definition: json.hpp:4697
- Output:
1
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/cbegin.cpp -o cbegin 
. + Output (play with this example online):
1
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/cbegin.cpp -o cbegin 
@@ -277,7 +277,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a444d8376d63d7a5edb85f33bc5976c14.html b/classnlohmann_1_1basic__json_a444d8376d63d7a5edb85f33bc5976c14.html index 8e81cb3dd..19b975c50 100644 --- a/classnlohmann_1_1basic__json_a444d8376d63d7a5edb85f33bc5976c14.html +++ b/classnlohmann_1_1basic__json_a444d8376d63d7a5edb85f33bc5976c14.html @@ -308,12 +308,12 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::json
basic_json<> json
default JSON class
Definition: json.hpp:6687
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
{}
+ Output (play with this example online): 
{}
 {"one":1,"two":2}
 [1,2,3,4]
 {"one":[1],"two":[1,2]}
 [[[1],"one"],[[1,2],"two"]]
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__list_init_t.cpp -o basic_json__list_init_t 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__list_init_t.cpp -o basic_json__list_init_t 
See also
basic_json array(list_init_t) - create a JSON array value from an initializer list
basic_json object(list_init_t) - create a JSON object value from an initializer list
@@ -326,7 +326,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 87d6485d1..7c27b7a65 100644 --- a/classnlohmann_1_1basic__json_a4943b7f16ddc4e0df33c0cae7ef14471.html +++ b/classnlohmann_1_1basic__json_a4943b7f16ddc4e0df33c0cae7ef14471.html @@ -268,8 +268,8 @@ Illustration from cppreference.com
nlohmann::basic_json::const_reverse_iterator
a const reverse random access iterator for the basic_json class
Definition: json.hpp:5214
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::crend
const_reverse_iterator crend() const
returns a const reverse iterator to one before the first
Definition: json.hpp:3063
- Output:
1
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/crend.cpp -o crend 
. + Output (play with this example online):
1
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/crend.cpp -o crend 
@@ -279,7 +279,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a4ad3f27ecece8f644e8dca69a97eb67f.html b/classnlohmann_1_1basic__json_a4ad3f27ecece8f644e8dca69a97eb67f.html index c211e4a00..662d0f1bb 100644 --- a/classnlohmann_1_1basic__json_a4ad3f27ecece8f644e8dca69a97eb67f.html +++ b/classnlohmann_1_1basic__json_a4ad3f27ecece8f644e8dca69a97eb67f.html @@ -268,8 +268,8 @@ Illustration from cppreference.com
nlohmann::basic_json::const_reverse_iterator
a const reverse random access iterator for the basic_json class
Definition: json.hpp:5214
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::crend
const_reverse_iterator crend() const
returns a const reverse iterator to one before the first
Definition: json.hpp:3063
- Output:
1
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/crend.cpp -o crend 
. + Output (play with this example online):
1
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/crend.cpp -o crend 
@@ -279,7 +279,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a4bf695ddf4a00ea8feea2c725ec847f1.html b/classnlohmann_1_1basic__json_a4bf695ddf4a00ea8feea2c725ec847f1.html index 79c96d3a5..f07e91fe8 100644 --- a/classnlohmann_1_1basic__json_a4bf695ddf4a00ea8feea2c725ec847f1.html +++ b/classnlohmann_1_1basic__json_a4bf695ddf4a00ea8feea2c725ec847f1.html @@ -245,7 +245,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 344da3f2e..28fe39de2 100644 --- a/classnlohmann_1_1basic__json_a4d688b5ff534d3ab4e284b3191061529.html +++ b/classnlohmann_1_1basic__json_a4d688b5ff534d3ab4e284b3191061529.html @@ -265,8 +265,8 @@ Illustration from cppreference.com
nlohmann::basic_json::const_reverse_iterator
a const reverse random access iterator for the basic_json class
Definition: json.hpp:5214
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::crbegin
const_reverse_iterator crbegin() const
returns a const reverse iterator to the last element
Definition: json.hpp:3040
- Output:
5
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/crbegin.cpp -o crbegin 
. + Output (play with this example online):
5
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/crbegin.cpp -o crbegin 
@@ -276,7 +276,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a53590b99e380c464a83a0a5edf6da9ab.html b/classnlohmann_1_1basic__json_a53590b99e380c464a83a0a5edf6da9ab.html index c60122e21..9131b6ac9 100644 --- a/classnlohmann_1_1basic__json_a53590b99e380c464a83a0a5edf6da9ab.html +++ b/classnlohmann_1_1basic__json_a53590b99e380c464a83a0a5edf6da9ab.html @@ -271,11 +271,11 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::array
static basic_json array(list_init_t init=list_init_t())
explicitly create an array from an initializer list
Definition: json.hpp:1026
- Output:
[]
+ Output (play with this example online): 
[]
 []
 [1,2,3,4]
 [["one",1],["two",2]]
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/array.cpp -o array 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/array.cpp -o array 
See also
basic_json(list_init_t, bool, value_t) - create a JSON value from an initializer list
basic_json object(list_init_t) - create a JSON object value from an initializer list
@@ -288,7 +288,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 635277887..4660e8d1e 100644 --- a/classnlohmann_1_1basic__json_a572cdf681c75b42c2bc38a1fbe993eca.html +++ b/classnlohmann_1_1basic__json_a572cdf681c75b42c2bc38a1fbe993eca.html @@ -293,7 +293,7 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json::value_t::object
object (unordered set of name/value pairs)
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::value_t::array
array (ordered collection of values)
- Output:
true
+ Output (play with this example online): 
true
 false
 false
 false
@@ -302,7 +302,7 @@ true
 false
 true
 false
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/empty.cpp -o empty 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/empty.cpp -o empty 
@@ -312,7 +312,7 @@ false diff --git a/classnlohmann_1_1basic__json_a57703688bee6b9736ab3a430d8d246f2.html b/classnlohmann_1_1basic__json_a57703688bee6b9736ab3a430d8d246f2.html index b50bf9f53..453f5a1c4 100644 --- a/classnlohmann_1_1basic__json_a57703688bee6b9736ab3a430d8d246f2.html +++ b/classnlohmann_1_1basic__json_a57703688bee6b9736ab3a430d8d246f2.html @@ -278,10 +278,10 @@ template<template< typename U, typename V, typename...Args > class Obje
24 }
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
4
+ Output (play with this example online): 
4
 [1,2,3,4,6]
 [1,2,3,4,6,null,null,null,null,null,11]
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/operatorarray__size_type.cpp -o operatorarray__size_type 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/operatorarray__size_type.cpp -o operatorarray__size_type 
@@ -291,7 +291,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 1b6adf1d3..7cd5b8665 100644 --- a/classnlohmann_1_1basic__json_a57a96ab3ff1ce7b48a754129fb12c982.html +++ b/classnlohmann_1_1basic__json_a57a96ab3ff1ce7b48a754129fb12c982.html @@ -245,7 +245,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 2332a6b34..56e64152e 100644 --- a/classnlohmann_1_1basic__json_a5a2d4dbcdbc8ea065b87daf52cd786b9.html +++ b/classnlohmann_1_1basic__json_a5a2d4dbcdbc8ea065b87daf52cd786b9.html @@ -256,8 +256,8 @@ template<template< typename U, typename V, typename...Args > class Obje
12 }
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
null
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json.cpp -o basic_json 
. + Output (play with this example online):
null
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json.cpp -o basic_json 
See also
basic_json(std::nullptr_t)
@@ -268,7 +268,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a5c8bb5200f5eac10d31e26be46e5b1ac.html b/classnlohmann_1_1basic__json_a5c8bb5200f5eac10d31e26be46e5b1ac.html index 2b73f9d18..056979a68 100644 --- a/classnlohmann_1_1basic__json_a5c8bb5200f5eac10d31e26be46e5b1ac.html +++ b/classnlohmann_1_1basic__json_a5c8bb5200f5eac10d31e26be46e5b1ac.html @@ -266,7 +266,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 d2b596d98..cb8b9bf88 100644 --- a/classnlohmann_1_1basic__json_a5e34c5435e557d0bf666bd7311211405.html +++ b/classnlohmann_1_1basic__json_a5e34c5435e557d0bf666bd7311211405.html @@ -276,7 +276,7 @@ template<template< typename U, typename V, typename...Args > class Obje
18 }
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
{"one":1,"two":2}
+ Output (play with this example online): 
{"one":1,"two":2}
 
 [1,2,4,8,16]
 
@@ -293,7 +293,7 @@ template<template< typename U, typename V, typename...Args > class Obje
   16
 ]
 
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/operator_serialize.cpp -o operator_serialize 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/operator_serialize.cpp -o operator_serialize 
@@ -303,7 +303,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 7e27b7f3c..59ee138e7 100644 --- a/classnlohmann_1_1basic__json_a5f0aad50ed7e8aec3128fe018c18b3fe.html +++ b/classnlohmann_1_1basic__json_a5f0aad50ed7e8aec3128fe018c18b3fe.html @@ -304,7 +304,7 @@ template<typename ValueType , typename std::enable_if< not std::is_pointer
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::get
ValueType get() const
get a value (explicit)
Definition: json.hpp:1974
- Output:
1
+ Output (play with this example online): 
1
 42 42
 17.23 17
 Hello, world!
@@ -315,7 +315,7 @@ number: {"floating-point":17.23,"integer":42}
 null: null
 boolean: true
 array: [1,2,3,4,5]
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/get__ValueType_const.cpp -o get__ValueType_const 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/get__ValueType_const.cpp -o get__ValueType_const 
See also
operator ValueType() const for implicit conversion
get() for pointer-member access
@@ -328,7 +328,7 @@ array: [1,2,3,4,5] diff --git a/classnlohmann_1_1basic__json_a5fd8b54389698edf0c08e2dd001f610b.html b/classnlohmann_1_1basic__json_a5fd8b54389698edf0c08e2dd001f610b.html index c18018a04..fe8fb5c26 100644 --- a/classnlohmann_1_1basic__json_a5fd8b54389698edf0c08e2dd001f610b.html +++ b/classnlohmann_1_1basic__json_a5fd8b54389698edf0c08e2dd001f610b.html @@ -233,7 +233,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 e6dcdbe18..6a5670bba 100644 --- a/classnlohmann_1_1basic__json_a60ca396028b8d9714c6e10efbf475af6.html +++ b/classnlohmann_1_1basic__json_a60ca396028b8d9714c6e10efbf475af6.html @@ -286,7 +286,7 @@ template<template< typename U, typename V, typename...Args > class Obje
23 }
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
{
+ Output (play with this example online): 
{
   "array": [
     1,
     2,
@@ -299,7 +299,7 @@ template<template< typename U, typename V, typename...Args > class Obje
   "number": 23,
   "string": "Hello, world!"
 }
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/operator_deserialize.cpp -o operator_deserialize 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/operator_deserialize.cpp -o operator_deserialize 
See also
parse(std::istream&, parser_callback_t) for a variant with a parser callback function to filter values while parsing
@@ -310,7 +310,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 28cbd99ca..84ae98272 100644 --- a/classnlohmann_1_1basic__json_a62136b62f0ec60c0f2b5a3ce9aaa19b4.html +++ b/classnlohmann_1_1basic__json_a62136b62f0ec60c0f2b5a3ce9aaa19b4.html @@ -266,14 +266,14 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann::basic_json::is_boolean
bool is_boolean() const noexcept
return whether value is a boolean
Definition: json.hpp:1518
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
false
+ Output (play with this example online): 
false
 true
 false
 false
 false
 false
 false
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/is_boolean.cpp -o is_boolean 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/is_boolean.cpp -o is_boolean 
@@ -283,7 +283,7 @@ false diff --git a/classnlohmann_1_1basic__json_a63691315292df8e1522b00d37ebb1ffc.html b/classnlohmann_1_1basic__json_a63691315292df8e1522b00d37ebb1ffc.html index d9ce97e83..9ebb7e7e5 100644 --- a/classnlohmann_1_1basic__json_a63691315292df8e1522b00d37ebb1ffc.html +++ b/classnlohmann_1_1basic__json_a63691315292df8e1522b00d37ebb1ffc.html @@ -233,7 +233,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 7665bf43d..8c5930fe8 100644 --- a/classnlohmann_1_1basic__json_a652414dd930cb3af3b6f454cc535a23e.html +++ b/classnlohmann_1_1basic__json_a652414dd930cb3af3b6f454cc535a23e.html @@ -288,10 +288,10 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann::basic_json::at
reference at(size_type idx)
access specified array element with bounds checking
Definition: json.hpp:2139
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
"il brutto"
+ Output (play with this example online): 
"il brutto"
 {"the bad":"il cattivo","the good":"il buono","the ugly":"il brutto"}
 out of range
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/at__object_t_key_type.cpp -o at__object_t_key_type 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/at__object_t_key_type.cpp -o at__object_t_key_type 
@@ -301,7 +301,7 @@ out of range diff --git a/classnlohmann_1_1basic__json_a656939a3dc9a6047e4afacd9e11b83a6.html b/classnlohmann_1_1basic__json_a656939a3dc9a6047e4afacd9e11b83a6.html index 6f5b988a1..274f50e01 100644 --- a/classnlohmann_1_1basic__json_a656939a3dc9a6047e4afacd9e11b83a6.html +++ b/classnlohmann_1_1basic__json_a656939a3dc9a6047e4afacd9e11b83a6.html @@ -272,9 +272,9 @@ template<typename PointerType , typename std::enable_if< std::is_pointer&l
nlohmann::basic_json::get_ptr
PointerType get_ptr() noexcept
get a pointer value (implicit)
Definition: json.hpp:2055
nlohmann::basic_json::number_integer_t
NumberIntegerType number_integer_t
a type for a number (integer)
Definition: json.hpp:197
nlohmann::basic_json::number_float_t
NumberFloatType number_float_t
a type for a number (floating-point)
Definition: json.hpp:199
- Output:
17 17 17 17
+ Output (play with this example online): 
17 17 17 17
 true
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/get_ptr.cpp -o get_ptr 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/get_ptr.cpp -o get_ptr 
@@ -284,7 +284,7 @@ true diff --git a/classnlohmann_1_1basic__json_a6944904b3b59769b1cf62ac2532cbe33.html b/classnlohmann_1_1basic__json_a6944904b3b59769b1cf62ac2532cbe33.html index b550156be..4da37c320 100644 --- a/classnlohmann_1_1basic__json_a6944904b3b59769b1cf62ac2532cbe33.html +++ b/classnlohmann_1_1basic__json_a6944904b3b59769b1cf62ac2532cbe33.html @@ -233,7 +233,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 c1991fb5e..4a11cbaf4 100644 --- a/classnlohmann_1_1basic__json_a6a67c72ba65322bfcb28d170617dcdff.html +++ b/classnlohmann_1_1basic__json_a6a67c72ba65322bfcb28d170617dcdff.html @@ -245,7 +245,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 c37ab5064..28d30f449 100644 --- a/classnlohmann_1_1basic__json_a6a7f45095675ac6fd1d018a0e41874be.html +++ b/classnlohmann_1_1basic__json_a6a7f45095675ac6fd1d018a0e41874be.html @@ -302,10 +302,10 @@ template<class InputIT , typename std::enable_if< std::is_same< InputIT
nlohmann::basic_json::begin
iterator begin()
returns an iterator to the first element
Definition: json.hpp:2857
nlohmann::basic_json::find
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:2779
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
["bravo","charly"]
+ Output (play with this example online): 
["bravo","charly"]
 42
 {"one":"eins"}
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__InputIt_InputIt.cpp -o basic_json__InputIt_InputIt 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__InputIt_InputIt.cpp -o basic_json__InputIt_InputIt 
@@ -315,7 +315,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 f533b6f1f..ca567c3e4 100644 --- a/classnlohmann_1_1basic__json_a6bbd3e72a870f1ba81ff6886b063b0fe.html +++ b/classnlohmann_1_1basic__json_a6bbd3e72a870f1ba81ff6886b063b0fe.html @@ -233,7 +233,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 c717aa4af..71e4083c4 100644 --- a/classnlohmann_1_1basic__json_a6dff6a02a2be250b8f8dc2f47be65544.html +++ b/classnlohmann_1_1basic__json_a6dff6a02a2be250b8f8dc2f47be65544.html @@ -269,8 +269,8 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::erase
InteratorType erase(InteratorType pos)
remove element given an iterator
Definition: json.hpp:2558
- Output:
[0,1,3,4,5]
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/erase__size_type.cpp -o erase__size_type 
. + Output (play with this example online):
[0,1,3,4,5]
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/erase__size_type.cpp -o erase__size_type 
@@ -280,7 +280,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 f742c00a6..b91cab2d3 100644 --- a/classnlohmann_1_1basic__json_a6e2e21da48f5d9471716cd868a068327.html +++ b/classnlohmann_1_1basic__json_a6e2e21da48f5d9471716cd868a068327.html @@ -266,7 +266,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 caf213389..2b5205143 100644 --- a/classnlohmann_1_1basic__json_a72ba20783ecb3eec98bd6a3b870d565c.html +++ b/classnlohmann_1_1basic__json_a72ba20783ecb3eec98bd6a3b870d565c.html @@ -269,8 +269,8 @@ Illustration from cppreference.com
nlohmann::basic_json::cend
const_iterator cend() const
returns a const iterator to one past the last element
Definition: json.hpp:2952
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::const_iterator
a const random access iterator for the basic_json class
Definition: json.hpp:4697
- Output:
5
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/cend.cpp -o cend 
. + Output (play with this example online):
5
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/cend.cpp -o cend 
@@ -280,7 +280,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a749e58042d8069f4f048ee4d23c43f63.html b/classnlohmann_1_1basic__json_a749e58042d8069f4f048ee4d23c43f63.html index 32719739f..fc6bc49d5 100644 --- a/classnlohmann_1_1basic__json_a749e58042d8069f4f048ee4d23c43f63.html +++ b/classnlohmann_1_1basic__json_a749e58042d8069f4f048ee4d23c43f63.html @@ -245,7 +245,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 b8e4bdee7..5c578e6d1 100644 --- a/classnlohmann_1_1basic__json_a74a943800c7f103d0990d7eef82c6453.html +++ b/classnlohmann_1_1basic__json_a74a943800c7f103d0990d7eef82c6453.html @@ -266,7 +266,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 6923a1237..d00c579db 100644 --- a/classnlohmann_1_1basic__json_a74ccfa471a0c061876b247f820f3c741.html +++ b/classnlohmann_1_1basic__json_a74ccfa471a0c061876b247f820f3c741.html @@ -318,7 +318,7 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json::parse_event_t::key
the parser read a key of a value in an object
nlohmann::basic_json::parse
static basic_json parse(const string_t &s, parser_callback_t cb=nullptr)
deserialize from string
Definition: json.hpp:3794
nlohmann::basic_json::parse_event_t
parse_event_t
JSON callback events.
Definition: json.hpp:351
- Output:
{
+ Output (play with this example online): 
{
     "Image": {
         "Animated": false,
         "Height": 600,
@@ -352,7 +352,7 @@ template<template< typename U, typename V, typename...Args > class Obje
         "Width": 800
     }
 }
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/parse__istream__parser_callback_t.cpp -o parse__istream__parser_callback_t 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/parse__istream__parser_callback_t.cpp -o parse__istream__parser_callback_t 
See also
parse(const string_t&, parser_callback_t) for a version that reads from a string
@@ -363,7 +363,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 5f80f1ca3..2e090b282 100644 --- a/classnlohmann_1_1basic__json_a75a1754e0d39f33095d3102a8bdb9881.html +++ b/classnlohmann_1_1basic__json_a75a1754e0d39f33095d3102a8bdb9881.html @@ -303,13 +303,13 @@ template<class InteratorType , typename std::enable_if< std::is_same< I
nlohmann::basic_json::find
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:2779
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::erase
InteratorType erase(InteratorType pos)
remove element given an iterator
Definition: json.hpp:2558
- Output:
null
+ Output (play with this example online): 
null
 null
 null
 {"one":1}
 [1,2,8,16]
 null
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/erase__IteratorType.cpp -o erase__IteratorType 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/erase__IteratorType.cpp -o erase__IteratorType 
@@ -319,7 +319,7 @@ null diff --git a/classnlohmann_1_1basic__json_a793e5c1da2fc7de7a04b19eadbb3f2cb.html b/classnlohmann_1_1basic__json_a793e5c1da2fc7de7a04b19eadbb3f2cb.html index 91d942d4d..2290842f0 100644 --- a/classnlohmann_1_1basic__json_a793e5c1da2fc7de7a04b19eadbb3f2cb.html +++ b/classnlohmann_1_1basic__json_a793e5c1da2fc7de7a04b19eadbb3f2cb.html @@ -299,14 +299,14 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json::value_t::number_float
number value (floating-point)
nlohmann::basic_json::value_t::boolean
boolean value
nlohmann::basic_json::value_t::number_integer
number value (integer)
- Output:
null
+ Output (play with this example online): 
null
 false
 0
 0
 {}
 []
 ""
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__value_t.cpp -o basic_json__value_t 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__value_t.cpp -o basic_json__value_t 
@@ -316,7 +316,7 @@ false diff --git a/classnlohmann_1_1basic__json_a7c08f966200af98db0313a3b517ce0a9.html b/classnlohmann_1_1basic__json_a7c08f966200af98db0313a3b517ce0a9.html index 807fc32e7..e68c3f3bf 100644 --- a/classnlohmann_1_1basic__json_a7c08f966200af98db0313a3b517ce0a9.html +++ b/classnlohmann_1_1basic__json_a7c08f966200af98db0313a3b517ce0a9.html @@ -268,8 +268,8 @@ Illustration from cppreference.com
nlohmann::basic_json::reverse_iterator
a reverse random access iterator for the basic_json class
Definition: json.hpp:5192
nlohmann::basic_json::rend
reverse_iterator rend()
returns an iterator to the reverse-end
Definition: json.hpp:3008
nlohmann
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 
. + Output (play with this example online):
1
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/rend.cpp -o rend 
@@ -279,7 +279,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a7c19a5c3be6cc755377ee41eade78baf.html b/classnlohmann_1_1basic__json_a7c19a5c3be6cc755377ee41eade78baf.html index 2be9e0369..bd9f37aef 100644 --- a/classnlohmann_1_1basic__json_a7c19a5c3be6cc755377ee41eade78baf.html +++ b/classnlohmann_1_1basic__json_a7c19a5c3be6cc755377ee41eade78baf.html @@ -268,10 +268,10 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json::end
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:2917
nlohmann::basic_json::find
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:2779
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
"two" was found: true
+ Output (play with this example online): 
"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 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/find__key_type.cpp -o find__key_type 
@@ -281,7 +281,7 @@ value at key "two": 2 diff --git a/classnlohmann_1_1basic__json_a7d0db3b728d820d4984df78d97d2b104.html b/classnlohmann_1_1basic__json_a7d0db3b728d820d4984df78d97d2b104.html index cae29ce93..005a64702 100644 --- a/classnlohmann_1_1basic__json_a7d0db3b728d820d4984df78d97d2b104.html +++ b/classnlohmann_1_1basic__json_a7d0db3b728d820d4984df78d97d2b104.html @@ -233,7 +233,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 015013d92..239b1c67a 100644 --- a/classnlohmann_1_1basic__json_a7d1b990f2c12fecb57db1504fdadd0bb.html +++ b/classnlohmann_1_1basic__json_a7d1b990f2c12fecb57db1504fdadd0bb.html @@ -271,9 +271,9 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::erase
InteratorType erase(InteratorType pos)
remove element given an iterator
Definition: json.hpp:2558
- Output:
{"two":2}
+ Output (play with this example online): 
{"two":2}
 1 0
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/erase__key_type.cpp -o erase__key_type 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/erase__key_type.cpp -o erase__key_type 
@@ -283,7 +283,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 fb577b738..4f8c93eb8 100644 --- a/classnlohmann_1_1basic__json_a7dab69b10b98e7bc694339720e37fb2b.html +++ b/classnlohmann_1_1basic__json_a7dab69b10b98e7bc694339720e37fb2b.html @@ -268,10 +268,10 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json::end
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:2917
nlohmann::basic_json::find
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:2779
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
"two" was found: true
+ Output (play with this example online): 
"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 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/find__key_type.cpp -o find__key_type 
@@ -281,7 +281,7 @@ value at key "two": 2 diff --git a/classnlohmann_1_1basic__json_a80a89ddbe4cb7ef15b049febee208cc8.html b/classnlohmann_1_1basic__json_a80a89ddbe4cb7ef15b049febee208cc8.html index 1d65ccbc5..6fb8f7c4b 100644 --- a/classnlohmann_1_1basic__json_a80a89ddbe4cb7ef15b049febee208cc8.html +++ b/classnlohmann_1_1basic__json_a80a89ddbe4cb7ef15b049febee208cc8.html @@ -272,10 +272,10 @@ In case the parameter value is not a number, a JSON null value is creat
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::number_float_t
NumberFloatType number_float_t
a type for a number (floating-point)
Definition: json.hpp:199
- Output:
3.14159265358979
+ Output (play with this example online): 
3.14159265358979
 null
 null
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__number_float_t.cpp -o basic_json__number_float_t 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__number_float_t.cpp -o basic_json__number_float_t 
@@ -285,7 +285,7 @@ null diff --git a/classnlohmann_1_1basic__json_a80ceaa3bdd346292273b309e08525c1c.html b/classnlohmann_1_1basic__json_a80ceaa3bdd346292273b309e08525c1c.html index 3698d44dc..860502e54 100644 --- a/classnlohmann_1_1basic__json_a80ceaa3bdd346292273b309e08525c1c.html +++ b/classnlohmann_1_1basic__json_a80ceaa3bdd346292273b309e08525c1c.html @@ -233,7 +233,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 77591fad2..74f32f18e 100644 --- a/classnlohmann_1_1basic__json_a83cbbfbf5d3ecbad6de8ece0be6b36c4.html +++ b/classnlohmann_1_1basic__json_a83cbbfbf5d3ecbad6de8ece0be6b36c4.html @@ -278,13 +278,13 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json::value_t::object
object (unordered set of name/value pairs)
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::value_t::array
array (ordered collection of values)
- Output:
true
+ Output (play with this example online): 
true
 17
 23.42
 1
 1
 "Hello, world"
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/front.cpp -o front 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/front.cpp -o front 
@@ -294,7 +294,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 27fcc7a8c..6d69a3bf9 100644 --- a/classnlohmann_1_1basic__json_a87db51b6b936fb2ea293cdbc8702dcb8.html +++ b/classnlohmann_1_1basic__json_a87db51b6b936fb2ea293cdbc8702dcb8.html @@ -266,7 +266,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 32dbb40f7..74713d39c 100644 --- a/classnlohmann_1_1basic__json_a8b526709d395142b68d21abfbfff17c3.html +++ b/classnlohmann_1_1basic__json_a8b526709d395142b68d21abfbfff17c3.html @@ -278,13 +278,13 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json::value_t::object
object (unordered set of name/value pairs)
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::value_t::array
array (ordered collection of values)
- Output:
true
+ Output (play with this example online): 
true
 17
 23.42
 1
 1
 "Hello, world"
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/front.cpp -o front 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/front.cpp -o front 
@@ -294,7 +294,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 88a45358e..b727ca4ec 100644 --- a/classnlohmann_1_1basic__json_a8c40cd9ead4de7c82f28268bdf0ec98a.html +++ b/classnlohmann_1_1basic__json_a8c40cd9ead4de7c82f28268bdf0ec98a.html @@ -290,14 +290,14 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::clear
void clear() noexcept
clears the contents
Definition: json.hpp:3282
- Output:
null
+ Output (play with this example online): 
null
 false
 0
 0
 {}
 []
 ""
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/clear.cpp -o clear 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/clear.cpp -o clear 
@@ -307,7 +307,7 @@ false diff --git a/classnlohmann_1_1basic__json_a8e34088252a3ee6b2377f3a1f26dd1ba.html b/classnlohmann_1_1basic__json_a8e34088252a3ee6b2377f3a1f26dd1ba.html index 898b9f75a..d7c52e6dd 100644 --- a/classnlohmann_1_1basic__json_a8e34088252a3ee6b2377f3a1f26dd1ba.html +++ b/classnlohmann_1_1basic__json_a8e34088252a3ee6b2377f3a1f26dd1ba.html @@ -268,8 +268,8 @@ template<template< typename U, typename V, typename...Args > class Obje
15 }
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
2
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/operatorarray__key_type_const.cpp -o operatorarray__key_type_const 
. + Output (play with this example online):
2
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/operatorarray__key_type_const.cpp -o operatorarray__key_type_const 
@@ -279,7 +279,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 28da1a9da..e00fe71a5 100644 --- a/classnlohmann_1_1basic__json_a930e14150ffa067bcf56d35cb00271e1.html +++ b/classnlohmann_1_1basic__json_a930e14150ffa067bcf56d35cb00271e1.html @@ -252,8 +252,8 @@ template<template< typename U, typename V, typename...Args > class Obje
12 }
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
null
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__nullptr_t.cpp -o basic_json__nullptr_t 
. + Output (play with this example online):
null
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__nullptr_t.cpp -o basic_json__nullptr_t 
See also
basic_json()
@@ -264,7 +264,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 8a2d1cec1..ce8cf1513 100644 --- a/classnlohmann_1_1basic__json_a951a76ba057b3be948e7ba5c2c01cd5a.html +++ b/classnlohmann_1_1basic__json_a951a76ba057b3be948e7ba5c2c01cd5a.html @@ -301,11 +301,11 @@ template<class CompatibleObjectType , typename std::enable_if< std::is_con
41 }
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
{"one":1,"three":3,"two":2}
+ Output (play with this example online): 
{"one":1,"three":3,"two":2}
 {"one":1.2,"three":3.4,"two":2.3}
 {"one":true,"three":false,"two":true}
 {"one":true,"three":false,"two":true}
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__CompatibleObjectType.cpp -o basic_json__CompatibleObjectType 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__CompatibleObjectType.cpp -o basic_json__CompatibleObjectType 
See also
basic_json(const object_t&)
@@ -316,7 +316,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 dab700937..3604eadaa 100644 --- a/classnlohmann_1_1basic__json_a9d508dc7eb7023cd17b3c6958ea7c4ee.html +++ b/classnlohmann_1_1basic__json_a9d508dc7eb7023cd17b3c6958ea7c4ee.html @@ -266,14 +266,14 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann::basic_json::is_structured
bool is_structured() const noexcept
return whether type is structured
Definition: json.hpp:1484
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
false
+ Output (play with this example online): 
false
 false
 false
 false
 true
 true
 false
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/is_structured.cpp -o is_structured 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/is_structured.cpp -o is_structured 
@@ -283,7 +283,7 @@ false diff --git a/classnlohmann_1_1basic__json_a9daafb4c15ed5a008cb825bbd8c29d87.html b/classnlohmann_1_1basic__json_a9daafb4c15ed5a008cb825bbd8c29d87.html index a6038019e..5eaf074ee 100644 --- a/classnlohmann_1_1basic__json_a9daafb4c15ed5a008cb825bbd8c29d87.html +++ b/classnlohmann_1_1basic__json_a9daafb4c15ed5a008cb825bbd8c29d87.html @@ -271,8 +271,8 @@ template<typename T , std::size_t n>
15 }
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
2
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/operatorarray__key_type_const.cpp -o operatorarray__key_type_const 
. + Output (play with this example online):
2
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/operatorarray__key_type_const.cpp -o operatorarray__key_type_const 
@@ -282,7 +282,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 035032529..9ee48ef9a 100644 --- a/classnlohmann_1_1basic__json_aa1f3b3f1dca79392d6727b81f9668c6c.html +++ b/classnlohmann_1_1basic__json_aa1f3b3f1dca79392d6727b81f9668c6c.html @@ -278,13 +278,13 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::value_t::array
array (ordered collection of values)
nlohmann::basic_json::back
reference back()
access the last element
Definition: json.hpp:2502
- Output:
true
+ Output (play with this example online): 
true
 17
 23.42
 2
 16
 "Hello, world"
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/back.cpp -o back 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/back.cpp -o back 
@@ -294,7 +294,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 42a4487b2..c74e969cc 100644 --- a/classnlohmann_1_1basic__json_aa23ac5808b9aa1a08d18e3ebea25c7ce.html +++ b/classnlohmann_1_1basic__json_aa23ac5808b9aa1a08d18e3ebea25c7ce.html @@ -233,7 +233,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 6ede33162..e17c1a992 100644 --- a/classnlohmann_1_1basic__json_aa5413178b8041f7ac685dec4b040dd2c.html +++ b/classnlohmann_1_1basic__json_aa5413178b8041f7ac685dec4b040dd2c.html @@ -269,8 +269,8 @@ Illustration from cppreference.com
nlohmann::basic_json::cend
const_iterator cend() const
returns a const iterator to one past the last element
Definition: json.hpp:2952
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::const_iterator
a const random access iterator for the basic_json class
Definition: json.hpp:4697
- Output:
5
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/cend.cpp -o cend 
. + Output (play with this example online):
5
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/cend.cpp -o cend 
@@ -280,7 +280,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_aa5a06ef7009d3a8c72cc173f1f5da760.html b/classnlohmann_1_1basic__json_aa5a06ef7009d3a8c72cc173f1f5da760.html index 3c5d682d1..a4fc5b547 100644 --- a/classnlohmann_1_1basic__json_aa5a06ef7009d3a8c72cc173f1f5da760.html +++ b/classnlohmann_1_1basic__json_aa5a06ef7009d3a8c72cc173f1f5da760.html @@ -266,14 +266,14 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann::basic_json::is_number_integer
bool is_number_integer() const noexcept
return whether value is an integer number
Definition: json.hpp:1554
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
false
+ Output (play with this example online): 
false
 false
 true
 false
 false
 false
 false
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/is_number_integer.cpp -o is_number_integer 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/is_number_integer.cpp -o is_number_integer 
@@ -283,7 +283,7 @@ false diff --git a/classnlohmann_1_1basic__json_aa6a24b176f9599a21d662cc5f8e1ca76.html b/classnlohmann_1_1basic__json_aa6a24b176f9599a21d662cc5f8e1ca76.html index ca14ae43d..ba6cf5074 100644 --- a/classnlohmann_1_1basic__json_aa6a24b176f9599a21d662cc5f8e1ca76.html +++ b/classnlohmann_1_1basic__json_aa6a24b176f9599a21d662cc5f8e1ca76.html @@ -251,7 +251,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 325c8ed31..4e6815ffa 100644 --- a/classnlohmann_1_1basic__json_aa71e977d31f470689883ac60d16ea4ac.html +++ b/classnlohmann_1_1basic__json_aa71e977d31f470689883ac60d16ea4ac.html @@ -273,9 +273,9 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::swap
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:3430
- Output:
value = {"array":["Snap","Crackle","Pop"]}
+ Output (play with this example online): 
value = {"array":["Snap","Crackle","Pop"]}
 array = [1,2,3,4]
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/swap__array_t.cpp -o swap__array_t 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/swap__array_t.cpp -o swap__array_t 
@@ -285,7 +285,7 @@ array = [1,2,3,4] diff --git a/classnlohmann_1_1basic__json_aa8e533b4290ade5bf5a33104a69b202a.html b/classnlohmann_1_1basic__json_aa8e533b4290ade5bf5a33104a69b202a.html index 07fd2a1bb..0a994e40b 100644 --- a/classnlohmann_1_1basic__json_aa8e533b4290ade5bf5a33104a69b202a.html +++ b/classnlohmann_1_1basic__json_aa8e533b4290ade5bf5a33104a69b202a.html @@ -266,7 +266,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 5963c2675..6aa07659a 100644 --- a/classnlohmann_1_1basic__json_aac185a137428a7337aa620de07bfbbd7.html +++ b/classnlohmann_1_1basic__json_aac185a137428a7337aa620de07bfbbd7.html @@ -259,7 +259,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 d8fb9788e..afdf6059e 100644 --- a/classnlohmann_1_1basic__json_aacd442b66140c764c594ac8ad7dfd5b3.html +++ b/classnlohmann_1_1basic__json_aacd442b66140c764c594ac8ad7dfd5b3.html @@ -270,7 +270,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 0e616eb0e..59dcdd8d9 100644 --- a/classnlohmann_1_1basic__json_aacf6c869f6a9c66ac1bc99e93f310044.html +++ b/classnlohmann_1_1basic__json_aacf6c869f6a9c66ac1bc99e93f310044.html @@ -233,7 +233,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 f1248a42d..6d64ec61d 100644 --- a/classnlohmann_1_1basic__json_aaf363408931d76472ded14017e59c9e8.html +++ b/classnlohmann_1_1basic__json_aaf363408931d76472ded14017e59c9e8.html @@ -286,7 +286,7 @@ template<template< typename U, typename V, typename...Args > class Obje
23 }
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
{
+ Output (play with this example online): 
{
   "array": [
     1,
     2,
@@ -299,7 +299,7 @@ template<template< typename U, typename V, typename...Args > class Obje
   "number": 23,
   "string": "Hello, world!"
 }
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/operator_deserialize.cpp -o operator_deserialize 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/operator_deserialize.cpp -o operator_deserialize 
See also
parse(std::istream&, parser_callback_t) for a variant with a parser callback function to filter values while parsing
@@ -310,7 +310,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 93fe4144f..75d551a4b 100644 --- a/classnlohmann_1_1basic__json_aafa839f2a74dc1b5060314b3423143b8.html +++ b/classnlohmann_1_1basic__json_aafa839f2a74dc1b5060314b3423143b8.html @@ -233,7 +233,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 37cc61aad..abc48c24e 100644 --- a/classnlohmann_1_1basic__json_ab2162bc76e10d8736cab9b2039956054.html +++ b/classnlohmann_1_1basic__json_ab2162bc76e10d8736cab9b2039956054.html @@ -268,8 +268,8 @@ Illustration from cppreference.com
nlohmann::basic_json::iterator
a random access iterator for the basic_json class
Definition: json.hpp:4181
nlohmann::basic_json::end
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:2917
nlohmann
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 
. + Output (play with this example online):
5
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/end.cpp -o end 
@@ -279,7 +279,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_ab2fa1c4df15db5de07144b5c15c6f0f6.html b/classnlohmann_1_1basic__json_ab2fa1c4df15db5de07144b5c15c6f0f6.html index 2cc85cc8b..5d1c471f7 100644 --- a/classnlohmann_1_1basic__json_ab2fa1c4df15db5de07144b5c15c6f0f6.html +++ b/classnlohmann_1_1basic__json_ab2fa1c4df15db5de07144b5c15c6f0f6.html @@ -266,14 +266,14 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::is_primitive
bool is_primitive() const noexcept
return whether type is primitive
Definition: json.hpp:1466
- Output:
true
+ Output (play with this example online): 
true
 true
 true
 true
 false
 false
 true
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/is_primitive.cpp -o is_primitive 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/is_primitive.cpp -o is_primitive 
@@ -283,7 +283,7 @@ true diff --git a/classnlohmann_1_1basic__json_ab8682827348d8eb61507bbe8c7829ce8.html b/classnlohmann_1_1basic__json_ab8682827348d8eb61507bbe8c7829ce8.html index d4accdd31..314f2c706 100644 --- a/classnlohmann_1_1basic__json_ab8682827348d8eb61507bbe8c7829ce8.html +++ b/classnlohmann_1_1basic__json_ab8682827348d8eb61507bbe8c7829ce8.html @@ -266,14 +266,14 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::is_number_float
bool is_number_float() const noexcept
return whether value is a floating-point number
Definition: json.hpp:1572
- Output:
false
+ Output (play with this example online): 
false
 false
 false
 true
 false
 false
 false
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/is_number_float.cpp -o is_number_float 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/is_number_float.cpp -o is_number_float 
@@ -283,7 +283,7 @@ false diff --git a/classnlohmann_1_1basic__json_ab9da2afc6f77295f25252725fde142a6.html b/classnlohmann_1_1basic__json_ab9da2afc6f77295f25252725fde142a6.html index d2c92de21..98eac96d8 100644 --- a/classnlohmann_1_1basic__json_ab9da2afc6f77295f25252725fde142a6.html +++ b/classnlohmann_1_1basic__json_ab9da2afc6f77295f25252725fde142a6.html @@ -278,13 +278,13 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::value_t::array
array (ordered collection of values)
nlohmann::basic_json::back
reference back()
access the last element
Definition: json.hpp:2502
- Output:
true
+ Output (play with this example online): 
true
 17
 23.42
 2
 16
 "Hello, world"
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/back.cpp -o back 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/back.cpp -o back 
@@ -294,7 +294,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 fc7b8b330..f3a11a03a 100644 --- a/classnlohmann_1_1basic__json_abb086fd840bedb05e0aee67f70eba1a9.html +++ b/classnlohmann_1_1basic__json_abb086fd840bedb05e0aee67f70eba1a9.html @@ -266,14 +266,14 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann::basic_json::is_null
bool is_null() const noexcept
return whether value is null
Definition: json.hpp:1501
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
true
+ Output (play with this example online): 
true
 false
 false
 false
 false
 false
 false
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/is_null.cpp -o is_null 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/is_null.cpp -o is_null 
@@ -283,7 +283,7 @@ false diff --git a/classnlohmann_1_1basic__json_abc2b49c2c44c61a15d4b272a85b41064.html b/classnlohmann_1_1basic__json_abc2b49c2c44c61a15d4b272a85b41064.html index 513b42887..e17520e7d 100644 --- a/classnlohmann_1_1basic__json_abc2b49c2c44c61a15d4b272a85b41064.html +++ b/classnlohmann_1_1basic__json_abc2b49c2c44c61a15d4b272a85b41064.html @@ -266,14 +266,14 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::is_string
bool is_string() const noexcept
return whether value is a string
Definition: json.hpp:1623
- Output:
false
+ Output (play with this example online): 
false
 false
 false
 false
 false
 false
 true
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/is_string.cpp -o is_string 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/is_string.cpp -o is_string 
@@ -283,7 +283,7 @@ true diff --git a/classnlohmann_1_1basic__json_ac4011bd0781e51afe4994d2b09fd27e9.html b/classnlohmann_1_1basic__json_ac4011bd0781e51afe4994d2b09fd27e9.html index 11b3a4c26..82f0b6248 100644 --- a/classnlohmann_1_1basic__json_ac4011bd0781e51afe4994d2b09fd27e9.html +++ b/classnlohmann_1_1basic__json_ac4011bd0781e51afe4994d2b09fd27e9.html @@ -233,7 +233,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_ac66fedfefc284420b01124cd24cb06c2.html b/classnlohmann_1_1basic__json_ac66fedfefc284420b01124cd24cb06c2.html index 23391ee56..457be6cc0 100644 --- a/classnlohmann_1_1basic__json_ac66fedfefc284420b01124cd24cb06c2.html +++ b/classnlohmann_1_1basic__json_ac66fedfefc284420b01124cd24cb06c2.html @@ -272,9 +272,9 @@ template<typename PointerType , typename std::enable_if< std::is_pointer&l
nlohmann::basic_json::get
ValueType get() const
get a value (explicit)
Definition: json.hpp:1974
nlohmann::basic_json::number_integer_t
NumberIntegerType number_integer_t
a type for a number (integer)
Definition: json.hpp:197
nlohmann::basic_json::number_float_t
NumberFloatType number_float_t
a type for a number (floating-point)
Definition: json.hpp:199
- Output:
17 17 17 17
+ Output (play with this example online): 
17 17 17 17
 true
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/get__PointerType.cpp -o get__PointerType 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/get__PointerType.cpp -o get__PointerType 
See also
get_ptr() for explicit pointer-member access
@@ -285,7 +285,7 @@ true diff --git a/classnlohmann_1_1basic__json_ac82abedf356d252e0589850c3d8b35ba.html b/classnlohmann_1_1basic__json_ac82abedf356d252e0589850c3d8b35ba.html index 03052e6b5..59dc7533c 100644 --- a/classnlohmann_1_1basic__json_ac82abedf356d252e0589850c3d8b35ba.html +++ b/classnlohmann_1_1basic__json_ac82abedf356d252e0589850c3d8b35ba.html @@ -233,7 +233,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 218232bfa..ce95d28fd 100644 --- a/classnlohmann_1_1basic__json_ac943391891fcde0a71a15ce990e0f7f4.html +++ b/classnlohmann_1_1basic__json_ac943391891fcde0a71a15ce990e0f7f4.html @@ -273,9 +273,9 @@ template<template< typename U, typename V, typename...Args > class Obje
16 }
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
["one","two",3,4.5,false] = ["one","two",3,4.5,false]
+ Output (play with this example online): 
["one","two",3,4.5,false] = ["one","two",3,4.5,false]
 true
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__basic_json.cpp -o basic_json__basic_json 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__basic_json.cpp -o basic_json__basic_json 
@@ -285,7 +285,7 @@ true diff --git a/classnlohmann_1_1basic__json_acbf7f957ecb6ce19cdc5b40b5d6b6333.html b/classnlohmann_1_1basic__json_acbf7f957ecb6ce19cdc5b40b5d6b6333.html index 0d48f7093..1bb9293cd 100644 --- a/classnlohmann_1_1basic__json_acbf7f957ecb6ce19cdc5b40b5d6b6333.html +++ b/classnlohmann_1_1basic__json_acbf7f957ecb6ce19cdc5b40b5d6b6333.html @@ -262,8 +262,8 @@ template<template< typename U, typename V, typename...Args > class Obje
15 }
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
17
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__const_int.cpp -o basic_json__const_int 
. + Output (play with this example online):
17
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__const_int.cpp -o basic_json__const_int 
See also
basic_json(const number_integer_t)
@@ -274,7 +274,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 c7395e6ae..b78bd2c5d 100644 --- a/classnlohmann_1_1basic__json_acdf4445333649ec94198f09a62144884.html +++ b/classnlohmann_1_1basic__json_acdf4445333649ec94198f09a62144884.html @@ -265,8 +265,8 @@ Illustration from cppreference.com
nlohmann::basic_json::iterator
a random access iterator for the basic_json class
Definition: json.hpp:4181
nlohmann::basic_json::begin
iterator begin()
returns an iterator to the first element
Definition: json.hpp:2857
nlohmann
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 
. + Output (play with this example online):
1
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/begin.cpp -o begin 
@@ -276,7 +276,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_ace8338e57fdb11e1955c2a0c2d782069.html b/classnlohmann_1_1basic__json_ace8338e57fdb11e1955c2a0c2d782069.html index a917531fc..8833a0dfc 100644 --- a/classnlohmann_1_1basic__json_ace8338e57fdb11e1955c2a0c2d782069.html +++ b/classnlohmann_1_1basic__json_ace8338e57fdb11e1955c2a0c2d782069.html @@ -233,7 +233,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 94babf556..a52c0c288 100644 --- a/classnlohmann_1_1basic__json_ad1fea64ed433a6f4e7408c8c7bbc4a37.html +++ b/classnlohmann_1_1basic__json_ad1fea64ed433a6f4e7408c8c7bbc4a37.html @@ -248,7 +248,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 19b14af69..a6b07e474 100644 --- a/classnlohmann_1_1basic__json_ad2c4513cef5d8db760c4b2d871eea42c.html +++ b/classnlohmann_1_1basic__json_ad2c4513cef5d8db760c4b2d871eea42c.html @@ -244,7 +244,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 b1f7579b6..1cd92a256 100644 --- a/classnlohmann_1_1basic__json_ad497cbc4f80c8d79662ee6e19bf145dd.html +++ b/classnlohmann_1_1basic__json_ad497cbc4f80c8d79662ee6e19bf145dd.html @@ -315,13 +315,13 @@ template<class InteratorType , typename std::enable_if< std::is_same< I
nlohmann::basic_json::find
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:2779
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::erase
InteratorType erase(InteratorType pos)
remove element given an iterator
Definition: json.hpp:2558
- Output:
null
+ Output (play with this example online): 
null
 null
 null
 {"one":1}
 [1,8,16]
 null
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/erase__IteratorType_IteratorType.cpp -o erase__IteratorType_IteratorType 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/erase__IteratorType_IteratorType.cpp -o erase__IteratorType_IteratorType 
@@ -331,7 +331,7 @@ null diff --git a/classnlohmann_1_1basic__json_ad7067a1a8ad2d88125915ada6d4d79b7.html b/classnlohmann_1_1basic__json_ad7067a1a8ad2d88125915ada6d4d79b7.html index 1b3d91298..04e86e8b6 100644 --- a/classnlohmann_1_1basic__json_ad7067a1a8ad2d88125915ada6d4d79b7.html +++ b/classnlohmann_1_1basic__json_ad7067a1a8ad2d88125915ada6d4d79b7.html @@ -318,7 +318,7 @@ template<class CompatibleArrayType , typename std::enable_if< not std::is_
58 }
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
[1,2,3,4]
+ Output (play with this example online): 
[1,2,3,4]
 [1.2,2.3,3.4,5.6]
 [true,true,false,true]
 [12345678909876,23456789098765,34567890987654,45678909876543]
@@ -327,7 +327,7 @@ template<class CompatibleArrayType , typename std::enable_if< not std::is_
 ["four","three","two","one"]
 ["four","one","one","two"]
 ["four","two","one","one"]
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__CompatibleArrayType.cpp -o basic_json__CompatibleArrayType 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__CompatibleArrayType.cpp -o basic_json__CompatibleArrayType 
See also
basic_json(const array_t&)
@@ -338,7 +338,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 0ce42bd48..083e99a71 100644 --- a/classnlohmann_1_1basic__json_ad81f3cedf09ccd70b2f3239d148c8752.html +++ b/classnlohmann_1_1basic__json_ad81f3cedf09ccd70b2f3239d148c8752.html @@ -273,14 +273,14 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json::value_t::boolean
boolean value
nlohmann::basic_json::value_t::number_integer
number value (integer)
nlohmann::basic_json::type
value_t type() const noexcept
return the type of the JSON value (explicit)
Definition: json.hpp:1447
- Output:
true
+ Output (play with this example online): 
true
 true
 true
 true
 true
 true
 true
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/type.cpp -o type 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/type.cpp -o type 
@@ -290,7 +290,7 @@ true diff --git a/classnlohmann_1_1basic__json_ad8e0c5d04f016d1b3ac7369e5c73bedf.html b/classnlohmann_1_1basic__json_ad8e0c5d04f016d1b3ac7369e5c73bedf.html index 23511ed8d..21986c83f 100644 --- a/classnlohmann_1_1basic__json_ad8e0c5d04f016d1b3ac7369e5c73bedf.html +++ b/classnlohmann_1_1basic__json_ad8e0c5d04f016d1b3ac7369e5c73bedf.html @@ -266,8 +266,8 @@ Illustration from cppreference.com
nlohmann::basic_json::cbegin
const_iterator cbegin() const
returns a const iterator to the first element
Definition: json.hpp:2892
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::const_iterator
a const random access iterator for the basic_json class
Definition: json.hpp:4697
- Output:
1
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/cbegin.cpp -o cbegin 
. + Output (play with this example online):
1
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/cbegin.cpp -o cbegin 
@@ -277,7 +277,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_ada8e01109a60088e4db2a670d4903b54.html b/classnlohmann_1_1basic__json_ada8e01109a60088e4db2a670d4903b54.html index ad7de6339..a6adafcf1 100644 --- a/classnlohmann_1_1basic__json_ada8e01109a60088e4db2a670d4903b54.html +++ b/classnlohmann_1_1basic__json_ada8e01109a60088e4db2a670d4903b54.html @@ -284,10 +284,10 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json::at
reference at(size_type idx)
access specified array element with bounds checking
Definition: json.hpp:2139
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::array
static basic_json array(list_init_t init=list_init_t())
explicitly create an array from an initializer list
Definition: json.hpp:1026
- Output:
"third"
+ Output (play with this example online): 
"third"
 ["first","second","third","fourth"]
 out of range
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/at__size_type.cpp -o at__size_type 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/at__size_type.cpp -o at__size_type 
@@ -297,7 +297,7 @@ out of range diff --git a/classnlohmann_1_1basic__json_adbd4c16c9ac641b2a4736bc2c6787d83.html b/classnlohmann_1_1basic__json_adbd4c16c9ac641b2a4736bc2c6787d83.html index a3387bb1a..0f0ab923d 100644 --- a/classnlohmann_1_1basic__json_adbd4c16c9ac641b2a4736bc2c6787d83.html +++ b/classnlohmann_1_1basic__json_adbd4c16c9ac641b2a4736bc2c6787d83.html @@ -233,7 +233,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 f1531f31d..b5817b632 100644 --- a/classnlohmann_1_1basic__json_add77b50f69debb20e98d5a8c6c11c90c.html +++ b/classnlohmann_1_1basic__json_add77b50f69debb20e98d5a8c6c11c90c.html @@ -275,10 +275,10 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::json
basic_json<> json
default JSON class
Definition: json.hpp:6687
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
[]
+ Output (play with this example online): 
[]
 ["Hello"]
 ["Hello","Hello","Hello","Hello","Hello"]
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__size_type_basic_json.cpp -o basic_json__size_type_basic_json 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__size_type_basic_json.cpp -o basic_json__size_type_basic_json 
@@ -288,7 +288,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 013e63c71..b3f830ade 100644 --- a/classnlohmann_1_1basic__json_ade7bd6e0fe221fec9d3fa9b430f5ce76.html +++ b/classnlohmann_1_1basic__json_ade7bd6e0fe221fec9d3fa9b430f5ce76.html @@ -268,7 +268,7 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::dump
string_t dump(const int indent=-1) const
serialization
Definition: json.hpp:1418
- Output:
{"one":1,"two":2}
+ Output (play with this example online): 
{"one":1,"two":2}
 
 {"one":1,"two":2}
 
@@ -302,7 +302,7 @@ template<template< typename U, typename V, typename...Args > class Obje
     16
 ]
 
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/dump.cpp -o dump 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/dump.cpp -o dump 
See also
https://docs.python.org/2/library/json.html#json.dump
@@ -313,7 +313,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_ae19d3fe7f9ded97236715406e94ab979.html b/classnlohmann_1_1basic__json_ae19d3fe7f9ded97236715406e94ab979.html index 3644caf80..31f3d5a0a 100644 --- a/classnlohmann_1_1basic__json_ae19d3fe7f9ded97236715406e94ab979.html +++ b/classnlohmann_1_1basic__json_ae19d3fe7f9ded97236715406e94ab979.html @@ -272,9 +272,9 @@ template<typename PointerType , typename std::enable_if< std::is_pointer&l
nlohmann::basic_json::get_ptr
PointerType get_ptr() noexcept
get a pointer value (implicit)
Definition: json.hpp:2055
nlohmann::basic_json::number_integer_t
NumberIntegerType number_integer_t
a type for a number (integer)
Definition: json.hpp:197
nlohmann::basic_json::number_float_t
NumberFloatType number_float_t
a type for a number (floating-point)
Definition: json.hpp:199
- Output:
17 17 17 17
+ Output (play with this example online): 
17 17 17 17
 true
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/get_ptr.cpp -o get_ptr 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/get_ptr.cpp -o get_ptr 
@@ -284,7 +284,7 @@ true diff --git a/classnlohmann_1_1basic__json_ae2980ed978451f844e6e9a0890b637a6.html b/classnlohmann_1_1basic__json_ae2980ed978451f844e6e9a0890b637a6.html index 0ad791671..f69461c6b 100644 --- a/classnlohmann_1_1basic__json_ae2980ed978451f844e6e9a0890b637a6.html +++ b/classnlohmann_1_1basic__json_ae2980ed978451f844e6e9a0890b637a6.html @@ -260,9 +260,9 @@ template<template< typename U, typename V, typename...Args > class Obje
14 }
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
true
+ Output (play with this example online): 
true
 false
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__boolean_t.cpp -o basic_json__boolean_t 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__boolean_t.cpp -o basic_json__boolean_t 
@@ -272,7 +272,7 @@ false diff --git a/classnlohmann_1_1basic__json_ae42d32c34c8014b1bf677fdb7baa5401.html b/classnlohmann_1_1basic__json_ae42d32c34c8014b1bf677fdb7baa5401.html index de95535c3..93c5fcb6a 100644 --- a/classnlohmann_1_1basic__json_ae42d32c34c8014b1bf677fdb7baa5401.html +++ b/classnlohmann_1_1basic__json_ae42d32c34c8014b1bf677fdb7baa5401.html @@ -275,8 +275,8 @@ template<class CompatibleStringType , typename std::enable_if< std::is_con
15 }
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
"The quick brown fox jumps over the lazy dog."
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__CompatibleStringType.cpp -o basic_json__CompatibleStringType 
. + Output (play with this example online):
"The quick brown fox jumps over the lazy dog."
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__CompatibleStringType.cpp -o basic_json__CompatibleStringType 
See also
basic_json(const string_t&)
@@ -287,7 +287,7 @@ template<class CompatibleStringType , typename std::enable_if< std::is_con diff --git a/classnlohmann_1_1basic__json_ae50f22a1c646b8627e88f1313cceffd4.html b/classnlohmann_1_1basic__json_ae50f22a1c646b8627e88f1313cceffd4.html index 2932f1001..53a240f11 100644 --- a/classnlohmann_1_1basic__json_ae50f22a1c646b8627e88f1313cceffd4.html +++ b/classnlohmann_1_1basic__json_ae50f22a1c646b8627e88f1313cceffd4.html @@ -272,9 +272,9 @@ template<typename PointerType , typename std::enable_if< std::is_pointer&l
nlohmann::basic_json::get
ValueType get() const
get a value (explicit)
Definition: json.hpp:1974
nlohmann::basic_json::number_integer_t
NumberIntegerType number_integer_t
a type for a number (integer)
Definition: json.hpp:197
nlohmann::basic_json::number_float_t
NumberFloatType number_float_t
a type for a number (floating-point)
Definition: json.hpp:199
- Output:
17 17 17 17
+ Output (play with this example online): 
17 17 17 17
 true
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/get__PointerType.cpp -o get__PointerType 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/get__PointerType.cpp -o get__PointerType 
See also
get_ptr() for explicit pointer-member access
@@ -285,7 +285,7 @@ true diff --git a/classnlohmann_1_1basic__json_ae928414b2805cf6ef56b4e4f8d235416.html b/classnlohmann_1_1basic__json_ae928414b2805cf6ef56b4e4f8d235416.html index e28ce7ca0..4331d930d 100644 --- a/classnlohmann_1_1basic__json_ae928414b2805cf6ef56b4e4f8d235416.html +++ b/classnlohmann_1_1basic__json_ae928414b2805cf6ef56b4e4f8d235416.html @@ -233,7 +233,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 2c0016eba..b28b0a893 100644 --- a/classnlohmann_1_1basic__json_ae960d2d6bc7b94fe39cc5e9f106edfa9.html +++ b/classnlohmann_1_1basic__json_ae960d2d6bc7b94fe39cc5e9f106edfa9.html @@ -266,8 +266,8 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann::basic_json::at
reference at(size_type idx)
access specified array element with bounds checking
Definition: json.hpp:2139
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
"third"
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/operatorarray__size_type_const.cpp -o operatorarray__size_type_const 
. + Output (play with this example online):
"third"
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/operatorarray__size_type_const.cpp -o operatorarray__size_type_const 
@@ -277,7 +277,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 6ec23f14e..306fec45b 100644 --- a/classnlohmann_1_1basic__json_aea1c863b719b4ca5b77188c171bbfafe.html +++ b/classnlohmann_1_1basic__json_aea1c863b719b4ca5b77188c171bbfafe.html @@ -262,7 +262,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 6ea86ee97..8d1588f27 100644 --- a/classnlohmann_1_1basic__json_aeda4ec7473c17fae51e6d1eba0faf720.html +++ b/classnlohmann_1_1basic__json_aeda4ec7473c17fae51e6d1eba0faf720.html @@ -245,7 +245,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 236101b76..0bd5430e7 100644 --- a/classnlohmann_1_1basic__json_af0ebd1757acb971a6504b4acabf88584.html +++ b/classnlohmann_1_1basic__json_af0ebd1757acb971a6504b4acabf88584.html @@ -265,8 +265,8 @@ Illustration from cppreference.com
nlohmann::basic_json::reverse_iterator
a reverse random access iterator for the basic_json class
Definition: json.hpp:5192
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::rbegin
reverse_iterator rbegin()
returns an iterator to the reverse-beginning
Definition: json.hpp:2976
- Output:
5
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/rbegin.cpp -o rbegin 
. + Output (play with this example online):
5
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/rbegin.cpp -o rbegin 
@@ -276,7 +276,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_af2730bc8ffa6b28916875c13ee7b83f5.html b/classnlohmann_1_1basic__json_af2730bc8ffa6b28916875c13ee7b83f5.html index b54d1226d..92183497d 100644 --- a/classnlohmann_1_1basic__json_af2730bc8ffa6b28916875c13ee7b83f5.html +++ b/classnlohmann_1_1basic__json_af2730bc8ffa6b28916875c13ee7b83f5.html @@ -309,7 +309,7 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json::parse_event_t::key
the parser read a key of a value in an object
nlohmann::basic_json::parse
static basic_json parse(const string_t &s, parser_callback_t cb=nullptr)
deserialize from string
Definition: json.hpp:3794
nlohmann::basic_json::parse_event_t
parse_event_t
JSON callback events.
Definition: json.hpp:351
- Output:
{
+ Output (play with this example online): 
{
     "Image": {
         "Animated": false,
         "Height": 600,
@@ -343,7 +343,7 @@ template<template< typename U, typename V, typename...Args > class Obje
         "Width": 800
     }
 }
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/parse__string__parser_callback_t.cpp -o parse__string__parser_callback_t 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/parse__string__parser_callback_t.cpp -o parse__string__parser_callback_t 
See also
parse(std::istream&, parser_callback_t) for a version that reads from an input stream
@@ -354,7 +354,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 36589d918..cb0396c1b 100644 --- a/classnlohmann_1_1basic__json_af3abeeb0e9676de8bc2d6aa6f6c0d6c6.html +++ b/classnlohmann_1_1basic__json_af3abeeb0e9676de8bc2d6aa6f6c0d6c6.html @@ -267,9 +267,9 @@ template<template< typename U, typename V, typename...Args > class Obje
17 }
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
23
+ Output (play with this example online): 
23
 23
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__copyassignment.cpp -o basic_json__copyassignment 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__copyassignment.cpp -o basic_json__copyassignment 
@@ -279,7 +279,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 234a8709e..d670a4f9c 100644 --- a/classnlohmann_1_1basic__json_af49c37bbda87f36170c67f960db3781a.html +++ b/classnlohmann_1_1basic__json_af49c37bbda87f36170c67f960db3781a.html @@ -292,7 +292,7 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::value_t::array
array (ordered collection of values)
nlohmann::basic_json::size
size_type size() const noexcept
returns the number of elements
Definition: json.hpp:3163
- Output:
0
+ Output (play with this example online): 
0
 1
 1
 1
@@ -301,7 +301,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 5
 0
 1
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/size.cpp -o size 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/size.cpp -o size 
@@ -311,7 +311,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 d05e16bdb..f682d4e68 100644 --- a/classnlohmann_1_1basic__json_af6b6050ccd906dddf7c9f47fe3ad62a5.html +++ b/classnlohmann_1_1basic__json_af6b6050ccd906dddf7c9f47fe3ad62a5.html @@ -277,9 +277,9 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann::basic_json::at
reference at(size_type idx)
access specified array element with bounds checking
Definition: json.hpp:2139
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
"third"
+ Output (play with this example online): 
"third"
 out of range
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/at__size_type_const.cpp -o at__size_type_const 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/at__size_type_const.cpp -o at__size_type_const 
@@ -289,7 +289,7 @@ out of range diff --git a/classnlohmann_1_1basic__json_af70222eb312ca0a44cd7d793b1516e2e.html b/classnlohmann_1_1basic__json_af70222eb312ca0a44cd7d793b1516e2e.html index a19224f97..6c7b3d094 100644 --- a/classnlohmann_1_1basic__json_af70222eb312ca0a44cd7d793b1516e2e.html +++ b/classnlohmann_1_1basic__json_af70222eb312ca0a44cd7d793b1516e2e.html @@ -266,14 +266,14 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json::is_array
bool is_array() const noexcept
return whether value is an array
Definition: json.hpp:1606
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
false
+ Output (play with this example online): 
false
 false
 false
 false
 false
 true
 false
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/is_array.cpp -o is_array 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/is_array.cpp -o is_array 
@@ -283,7 +283,7 @@ false diff --git a/classnlohmann_1_1basic__json_af709c079de0ac3507143ea2c60699bd0.html b/classnlohmann_1_1basic__json_af709c079de0ac3507143ea2c60699bd0.html index eb8583b70..e91bb74f2 100644 --- a/classnlohmann_1_1basic__json_af709c079de0ac3507143ea2c60699bd0.html +++ b/classnlohmann_1_1basic__json_af709c079de0ac3507143ea2c60699bd0.html @@ -303,7 +303,7 @@ template<typename ValueType , typename std::enable_if< not std::is_pointer
49 }
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
1
+ Output (play with this example online): 
1
 42 42
 17.23 17
 Hello, world!
@@ -314,7 +314,7 @@ number: {"floating-point":17.23,"integer":42}
 null: null
 boolean: true
 array: [1,2,3,4,5]
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/operator__ValueType.cpp -o operator__ValueType 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/operator__ValueType.cpp -o operator__ValueType 
@@ -324,7 +324,7 @@ array: [1,2,3,4,5] diff --git a/classnlohmann_1_1basic__json_af74581d177dafc38df5a126ccd358999.html b/classnlohmann_1_1basic__json_af74581d177dafc38df5a126ccd358999.html index 35474d481..38fe6efda 100644 --- a/classnlohmann_1_1basic__json_af74581d177dafc38df5a126ccd358999.html +++ b/classnlohmann_1_1basic__json_af74581d177dafc38df5a126ccd358999.html @@ -284,7 +284,7 @@ template<template< typename U, typename V, typename...Args > class Obje
30 }
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
2
+ Output (play with this example online): 
2
 
 {
     "one": 1,
@@ -303,7 +303,7 @@ template<template< typename U, typename V, typename...Args > class Obje
     "three": 3,
     "two": 2
 }
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/operatorarray__key_type.cpp -o operatorarray__key_type 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/operatorarray__key_type.cpp -o operatorarray__key_type 
@@ -313,7 +313,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 98d15f3af..95ec725ef 100644 --- a/classnlohmann_1_1basic__json_af93e556bf708cb81b22ce223af1aa727.html +++ b/classnlohmann_1_1basic__json_af93e556bf708cb81b22ce223af1aa727.html @@ -268,8 +268,8 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json::array_t
ArrayType< basic_json, AllocatorType< basic_json >> array_t
a type for an array
Definition: json.hpp:191
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
- Output:
["one","two",3,4.5,false]
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__array_t.cpp -o basic_json__array_t 
. + Output (play with this example online):
["one","two",3,4.5,false]
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__array_t.cpp -o basic_json__array_t 
See also
basic_json(const CompatibleArrayType&)
@@ -280,7 +280,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 71a1f6c79..1fbc1c350 100644 --- a/classnlohmann_1_1basic__json_afb19d4669daf3c4347763f043471b835.html +++ b/classnlohmann_1_1basic__json_afb19d4669daf3c4347763f043471b835.html @@ -264,9 +264,9 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::swap
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:3430
- Output:
j1 = {"e":2.71828182845905,"pi":3.14159265358979}
+ Output (play with this example online): 
j1 = {"e":2.71828182845905,"pi":3.14159265358979}
 j2 = [1,2,3,4,5]
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/swap__reference.cpp -o swap__reference 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/swap__reference.cpp -o swap__reference 
@@ -276,7 +276,7 @@ j2 = [1,2,3,4,5] diff --git a/classnlohmann_1_1basic__json_afb9664e6f30038e691f2e864e7f6a740.html b/classnlohmann_1_1basic__json_afb9664e6f30038e691f2e864e7f6a740.html index 2994dc007..77b1ca158 100644 --- a/classnlohmann_1_1basic__json_afb9664e6f30038e691f2e864e7f6a740.html +++ b/classnlohmann_1_1basic__json_afb9664e6f30038e691f2e864e7f6a740.html @@ -272,10 +272,10 @@ template<template< typename U, typename V, typename...Args > class Obje
nlohmann::basic_json
a class to store JSON values
Definition: json.hpp:121
nlohmann
namespace for Niels Lohmann
Definition: json.hpp:56
nlohmann::basic_json::object
static basic_json object(list_init_t init=list_init_t())
explicitly create an object from an initializer list
Definition: json.hpp:1061
- Output:
{}
+ Output (play with this example online): 
{}
 {}
 {"one":1,"two":2}
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/object.cpp -o object 
. +
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/object.cpp -o object 
See also
basic_json(list_init_t, bool, value_t) - create a JSON value from an initializer list
basic_json array(list_init_t) - create a JSON array value from an initializer list
@@ -288,7 +288,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/dir_68267d1309a1af8e8297ef4c3efbcdba.html index b7956f631..289eb0399 100644 --- a/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ b/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -93,7 +93,7 @@ Files diff --git a/functions.html b/functions.html index fb3aab583..adb7a8339 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 7c09876cf..6d81bb928 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 cd69deb6e..1d6ec6eb0 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 7bf23ad90..a569b7615 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 e0f36ab05..f966c7e79 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 b36434d0f..df5c5749a 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 fc5fb0da7..e5593ed93 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 8d06a8099..6a8896811 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 f25539ba2..1224085cd 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 3f8a12c3b..31795103b 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 79b85215a..d8c6633e5 100644 --- a/namespacenlohmann.html +++ b/namespacenlohmann.html @@ -109,7 +109,7 @@ Typedefs diff --git a/namespacenlohmann_a2bfd99e845a2e5cd90aeaf1b1431f474.html b/namespacenlohmann_a2bfd99e845a2e5cd90aeaf1b1431f474.html index e322b3605..a8d3a11ae 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 cf91d162c..ce4f32181 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 c4dba8557..f084598b2 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 0cadc5aff..3b7fbae66 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 a3d2f9974..a96f764a7 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 267c93e6f..e9bc4b338 100644 --- a/todo.html +++ b/todo.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');