diff --git a/Nodes.xml b/Nodes.xml index 5552bfb8a..4f7f49a01 100644 --- a/Nodes.xml +++ b/Nodes.xml @@ -13,10 +13,6 @@ All namespacemembers.html - - Functions - namespacemembers_func.html - Typedefs namespacemembers_type.html @@ -35,23 +31,6 @@ nlohmann namespacenlohmann.html - - anonymous_namespace{json.hpp} - namespacenlohmann_1_1anonymous__namespace_02json_8hpp_03.html - - - has_mapped_type - structnlohmann_1_1anonymous__namespace_02json_8hpp_03_1_1has__mapped__type.html - - - value - structnlohmann_1_1anonymous__namespace_02json_8hpp_03_1_1has__mapped__type_af1817f143485abec957f317fff256756.html - af1817f143485abec957f317fff256756ac200aa9e414ceaf8dd26882ae1714752 - - - - - basic_json classnlohmann_1_1basic__json.html @@ -1183,10 +1162,6 @@ nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, AllocatorType > classnlohmann_1_1basic__json.html - - nlohmann::anonymous_namespace{json.hpp}::has_mapped_type< T > - structnlohmann_1_1anonymous__namespace_02json_8hpp_03_1_1has__mapped__type.html - std::hash< nlohmann::json > structstd_1_1hash_3_01nlohmann_1_1json_01_4.html @@ -1317,10 +1292,6 @@ Enumerations functions_enum.html - - Enumerator - functions_eval.html - Related Functions functions_rela.html diff --git a/Tokens.xml b/Tokens.xml index 606cc48b9..51aaa89e0 100644 --- a/Tokens.xml +++ b/Tokens.xml @@ -1752,7 +1752,7 @@ classnlohmann_1_1basic__json_a231b02148577b69a154b2ce2c87a5522.html a231b02148577b69a154b2ce2c87a5522a94708897ec9db8647dfe695714c98e46 - (internal) indicates the parser callback chose not to keep the value + discarded by the the parser callback function @@ -1906,7 +1906,7 @@ classnlohmann_1_1basic__json_a231b02148577b69a154b2ce2c87a5522.html a231b02148577b69a154b2ce2c87a5522a94708897ec9db8647dfe695714c98e46 - (internal) indicates the parser callback chose not to keep the value + discarded by the the parser callback function @@ -2283,6 +2283,7 @@ classnlohmann_1_1basic__json_1_1const__iterator_ada3100cdb8700566051828f1355fa745.html ada3100cdb8700566051828f1355fa745 + allow basic_json to access private members @@ -2292,7 +2293,7 @@ nlohmann::basic_json::iterator classnlohmann_1_1basic__json_1_1iterator.html - a random access iterator for the basic_json class + a mutable random access iterator for the basic_json class json.hpp @@ -2914,6 +2915,7 @@ classnlohmann_1_1basic__json_1_1json__reverse__iterator_a5ee9ec91a6ddcd8d72278d681361626f.html a5ee9ec91a6ddcd8d72278d681361626f + the reference type for the pointed-to element @@ -3081,49 +3083,6 @@ namespacenlohmann_1_1anonymous__namespace_02json_8hpp_03.html unnamed namespace with internal helper functions - - - approx - cpp - func - nlohmann::anonymous_namespace{json.hpp} - - namespacenlohmann_1_1anonymous__namespace_02json_8hpp_03_a174856a407e2478a8d172232c13597dd.html - a174856a407e2478a8d172232c13597dd - "equality" comparison for floating point numbers - json.hpp - - - - nlohmann::anonymous_namespace{json.hpp}::has_mapped_type - c - tmplt - nlohmann::anonymous_namespace{json.hpp}::has_mapped_type - - structnlohmann_1_1anonymous__namespace_02json_8hpp_03_1_1has__mapped__type.html - Helper to determine whether there&#39;s a key_type for T. - json.hpp - - - - value - cpp - econst - nlohmann::anonymous_namespace{json.hpp}::has_mapped_type - - structnlohmann_1_1anonymous__namespace_02json_8hpp_03_1_1has__mapped__type_af1817f143485abec957f317fff256756.html - af1817f143485abec957f317fff256756ac200aa9e414ceaf8dd26882ae1714752 - - - - value - cpp - econst - nlohmann::anonymous_namespace{json.hpp}::has_mapped_type - - structnlohmann_1_1anonymous__namespace_02json_8hpp_03_1_1has__mapped__type_af1817f143485abec957f317fff256756.html - af1817f143485abec957f317fff256756ac200aa9e414ceaf8dd26882ae1714752 - std::hash< nlohmann::json > diff --git a/annotated.html b/annotated.html index fee71e0d0..d53decf83 100644 --- a/annotated.html +++ b/annotated.html @@ -90,12 +90,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
Here are the classes, structs, unions and interfaces with brief descriptions:
[detail level 123]
- - - - - - + + + +
 NnlohmannNamespace for Niels Lohmann
 Nanonymous_namespace{json.hpp}Unnamed namespace with internal helper functions
 Chas_mapped_typeHelper to determine whether there's a key_type for T
 Cbasic_jsonClass to store JSON values
 Cconst_iteratorConst random access iterator for the basic_json class
 CiteratorRandom access iterator for the basic_json class
 Cjson_reverse_iteratorTemplate for a reverse iterator class
 Cbasic_jsonClass to store JSON values
 Cconst_iteratorConst random access iterator for the basic_json class
 CiteratorMutable random access iterator for the basic_json class
 Cjson_reverse_iteratorTemplate for a reverse iterator class
 NstdSTL namespace
 Chash< nlohmann::json >Hash value for JSON objects
@@ -103,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/classes.html b/classes.html index 9dcab6efb..0a284d2cb 100644 --- a/classes.html +++ b/classes.html @@ -90,23 +90,20 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
B | C | H | I | J
- - - - - - + + + +
  b  
+
  c  
  h  
  i  
-
basic_json (nlohmann)   has_mapped_type (nlohmann::anonymous_namespace{json.hpp})   basic_json::iterator (nlohmann)   
  c  
-
hash< nlohmann::json > (std)   
  j  
-
basic_json::const_iterator (nlohmann)   basic_json::json_reverse_iterator (nlohmann)   
  j  
+
basic_json (nlohmann)   basic_json::const_iterator (nlohmann)   hash< nlohmann::json > (std)   basic_json::iterator (nlohmann)   basic_json::json_reverse_iterator (nlohmann)   
B | C | H | I | J
diff --git a/classnlohmann_1_1basic__json-members.html b/classnlohmann_1_1basic__json-members.html index 5d0ec15a0..3a117bbfd 100644 --- a/classnlohmann_1_1basic__json-members.html +++ b/classnlohmann_1_1basic__json-members.html @@ -231,7 +231,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/classnlohmann_1_1basic__json.html b/classnlohmann_1_1basic__json.html index 96c66c986..b59c7531a 100644 --- a/classnlohmann_1_1basic__json.html +++ b/classnlohmann_1_1basic__json.html @@ -106,10 +106,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

Classes

class  const_iterator - a const random access iterator for the basic_json class More...
+ a const random access iterator for the basic_json class More...
  class  iterator - a random access iterator for the basic_json class More...
+ a mutable random access iterator for the basic_json class More...
  class  json_reverse_iterator  a template for a reverse iterator class More...
@@ -148,7 +148,7 @@ Public Types  
container types
using value_type = basic_json - the type of elements in a basic_json container More...
+ the type of elements in a basic_json container More...
  using reference = value_type &  the type of an element reference More...
@@ -172,10 +172,10 @@ Public Types  the type of an element const pointer More...
  using reverse_iterator = json_reverse_iterator< typename basic_json::iterator > - a reverse iterator for a basic_json container More...
+ a reverse iterator for a basic_json container More...
  using const_reverse_iterator = json_reverse_iterator< typename basic_json::const_iterator > - a const reverse iterator for a basic_json container More...
+ a const reverse iterator for a basic_json container More...
 
JSON value data types
using object_t = ObjectType< StringType, basic_json, std::less< StringType >, AllocatorType< std::pair< const StringType, basic_json >>> @@ -597,38 +597,37 @@ class nlohmann::basic_json
Requirements
The class satisfies the following concept requirements:
-
Note
ObjectType trick from http://stackoverflow.com/a/9860911
See also
RFC 7159 http://rfc7159.net/rfc7159
diff --git a/classnlohmann_1_1basic__json_1_1const__iterator-members.html b/classnlohmann_1_1basic__json_1_1const__iterator-members.html index 96149c557..0669636f4 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator-members.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator-members.html @@ -128,7 +128,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/classnlohmann_1_1basic__json_1_1const__iterator.html b/classnlohmann_1_1basic__json_1_1const__iterator.html index f740b9ea1..5753f4a69 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator.html @@ -97,8 +97,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

a const random access iterator for the basic_json class -

+

a const random access iterator for the basic_json class + More...

#include <json.hpp>

@@ -201,12 +201,22 @@ Public Member Functions +

Friends

class basic_json
 allow basic_json to access private members More...
 
-
+

Detailed Description

+

template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class AllocatorType = std::allocator>
+class nlohmann::basic_json::const_iterator

+ +

This class implements a const iterator for the basic_json class. From this class, the iterator class is derived.

+
Requirements
The class satisfies the following concept requirements:
    +
  • RandomAccessIterator: The iterator that can be moved to point (forward and backward) to any element in constant time.
  • +
+
+
diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a019087161350d393f3e4ac841cdd3dbd.html b/classnlohmann_1_1basic__json_1_1const__iterator_a019087161350d393f3e4ac841cdd3dbd.html index 0c5e7f63c..9674e148b 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a019087161350d393f3e4ac841cdd3dbd.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a019087161350d393f3e4ac841cdd3dbd.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a17e5f5d3598e6901f3c1c1f7dc60589f.html b/classnlohmann_1_1basic__json_1_1const__iterator_a17e5f5d3598e6901f3c1c1f7dc60589f.html index a4bda4a3a..42ba238d6 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a17e5f5d3598e6901f3c1c1f7dc60589f.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a17e5f5d3598e6901f3c1c1f7dc60589f.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a1cba94e5a67ee52bc66b898a4e08359d.html b/classnlohmann_1_1basic__json_1_1const__iterator_a1cba94e5a67ee52bc66b898a4e08359d.html index acc8addad..381d285d3 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a1cba94e5a67ee52bc66b898a4e08359d.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a1cba94e5a67ee52bc66b898a4e08359d.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a301749e9779adafd395369ac36df93df.html b/classnlohmann_1_1basic__json_1_1const__iterator_a301749e9779adafd395369ac36df93df.html index b8ca38e9a..62e27491a 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a301749e9779adafd395369ac36df93df.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a301749e9779adafd395369ac36df93df.html @@ -150,7 +150,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a3555206044cce80680f3ea662760e561.html b/classnlohmann_1_1basic__json_1_1const__iterator_a3555206044cce80680f3ea662760e561.html index 44a7b8065..705fd269a 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a3555206044cce80680f3ea662760e561.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a3555206044cce80680f3ea662760e561.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_a36086a699b95e06976c11367b7d6ba53.html b/classnlohmann_1_1basic__json_1_1const__iterator_a36086a699b95e06976c11367b7d6ba53.html index 1f191ef12..28dfac93c 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a36086a699b95e06976c11367b7d6ba53.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a36086a699b95e06976c11367b7d6ba53.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a4632d8307fc315f21e2ecc9ba5aa6346.html b/classnlohmann_1_1basic__json_1_1const__iterator_a4632d8307fc315f21e2ecc9ba5aa6346.html index e000e4345..ef5c5cbd4 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a4632d8307fc315f21e2ecc9ba5aa6346.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a4632d8307fc315f21e2ecc9ba5aa6346.html @@ -150,7 +150,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a4f7ac43b0ab34c387b1ae1a8e9c08467.html b/classnlohmann_1_1basic__json_1_1const__iterator_a4f7ac43b0ab34c387b1ae1a8e9c08467.html index 75182ae18..ace66de16 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a4f7ac43b0ab34c387b1ae1a8e9c08467.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a4f7ac43b0ab34c387b1ae1a8e9c08467.html @@ -139,7 +139,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a5aff013c03c1bdc248346c249bec7b67.html b/classnlohmann_1_1basic__json_1_1const__iterator_a5aff013c03c1bdc248346c249bec7b67.html index 174efefad..8ec7247d5 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a5aff013c03c1bdc248346c249bec7b67.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a5aff013c03c1bdc248346c249bec7b67.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a62cad59e006eb7fa594c2c5b65a76610.html b/classnlohmann_1_1basic__json_1_1const__iterator_a62cad59e006eb7fa594c2c5b65a76610.html index cf23dffd1..20f0eff24 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a62cad59e006eb7fa594c2c5b65a76610.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a62cad59e006eb7fa594c2c5b65a76610.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a67848d4b7bfa576434ad9807147b5870.html b/classnlohmann_1_1basic__json_1_1const__iterator_a67848d4b7bfa576434ad9807147b5870.html index ba94de08a..1bde8b844 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a67848d4b7bfa576434ad9807147b5870.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a67848d4b7bfa576434ad9807147b5870.html @@ -139,7 +139,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a6b3e43d2f45fa611825dbdf4e88fffe2.html b/classnlohmann_1_1basic__json_1_1const__iterator_a6b3e43d2f45fa611825dbdf4e88fffe2.html index 1c7dc207d..7c85cdb1d 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a6b3e43d2f45fa611825dbdf4e88fffe2.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a6b3e43d2f45fa611825dbdf4e88fffe2.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a83454954e4e16be3d5316f9322e91a34.html b/classnlohmann_1_1basic__json_1_1const__iterator_a83454954e4e16be3d5316f9322e91a34.html index 7364ba14c..7b3e22231 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a83454954e4e16be3d5316f9322e91a34.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a83454954e4e16be3d5316f9322e91a34.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a86a1771e6658d0b14868df6c197d2353.html b/classnlohmann_1_1basic__json_1_1const__iterator_a86a1771e6658d0b14868df6c197d2353.html index 738810df8..17d13c428 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a86a1771e6658d0b14868df6c197d2353.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a86a1771e6658d0b14868df6c197d2353.html @@ -150,7 +150,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a8d024cbc99db0d8106899f9fd9973735.html b/classnlohmann_1_1basic__json_1_1const__iterator_a8d024cbc99db0d8106899f9fd9973735.html index 65791f0d7..e8aa27d81 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a8d024cbc99db0d8106899f9fd9973735.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a8d024cbc99db0d8106899f9fd9973735.html @@ -150,7 +150,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_ab74b39747a9dad60650a57133fca85b3.html b/classnlohmann_1_1basic__json_1_1const__iterator_ab74b39747a9dad60650a57133fca85b3.html index d2878f632..5ec560662 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_ab74b39747a9dad60650a57133fca85b3.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_ab74b39747a9dad60650a57133fca85b3.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_ab7dacd8e3ee9b3756bfcdb87dd55a515.html b/classnlohmann_1_1basic__json_1_1const__iterator_ab7dacd8e3ee9b3756bfcdb87dd55a515.html index d96785d08..20a1eb1b7 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_ab7dacd8e3ee9b3756bfcdb87dd55a515.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_ab7dacd8e3ee9b3756bfcdb87dd55a515.html @@ -150,7 +150,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_ab9d31bf0d0b4d7310c858a04ce84a52f.html b/classnlohmann_1_1basic__json_1_1const__iterator_ab9d31bf0d0b4d7310c858a04ce84a52f.html index 3fc6ea851..384e4ab27 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_ab9d31bf0d0b4d7310c858a04ce84a52f.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_ab9d31bf0d0b4d7310c858a04ce84a52f.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_abb1921cbf0ad4036c83bc6303e22171f.html b/classnlohmann_1_1basic__json_1_1const__iterator_abb1921cbf0ad4036c83bc6303e22171f.html index 5fe2868f1..af16ad806 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_abb1921cbf0ad4036c83bc6303e22171f.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_abb1921cbf0ad4036c83bc6303e22171f.html @@ -150,7 +150,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_abbacd95955c602efc9a58ed1ffdb46c4.html b/classnlohmann_1_1basic__json_1_1const__iterator_abbacd95955c602efc9a58ed1ffdb46c4.html index e50a3c60a..d1ce416dc 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_abbacd95955c602efc9a58ed1ffdb46c4.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_abbacd95955c602efc9a58ed1ffdb46c4.html @@ -150,7 +150,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_ac36b9187de43721a4bf1b052578bb80b.html b/classnlohmann_1_1basic__json_1_1const__iterator_ac36b9187de43721a4bf1b052578bb80b.html index b64fcaec0..cb1170775 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_ac36b9187de43721a4bf1b052578bb80b.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_ac36b9187de43721a4bf1b052578bb80b.html @@ -139,7 +139,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_ac634a659837f5aebc97125e031de23b5.html b/classnlohmann_1_1basic__json_1_1const__iterator_ac634a659837f5aebc97125e031de23b5.html index d096a71c9..24ec5a83c 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_ac634a659837f5aebc97125e031de23b5.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_ac634a659837f5aebc97125e031de23b5.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_acea5b75d1087e2a92833946d9dc547ff.html b/classnlohmann_1_1basic__json_1_1const__iterator_acea5b75d1087e2a92833946d9dc547ff.html index c9863a750..da9273682 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_acea5b75d1087e2a92833946d9dc547ff.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_acea5b75d1087e2a92833946d9dc547ff.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_ada3100cdb8700566051828f1355fa745.html b/classnlohmann_1_1basic__json_1_1const__iterator_ada3100cdb8700566051828f1355fa745.html index f140dccab..df403b2ca 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_ada3100cdb8700566051828f1355fa745.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_ada3100cdb8700566051828f1355fa745.html @@ -147,7 +147,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_adb50d6043ace464d9f694869724d7fb2.html b/classnlohmann_1_1basic__json_1_1const__iterator_adb50d6043ace464d9f694869724d7fb2.html index 299543133..1966a6299 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_adb50d6043ace464d9f694869724d7fb2.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_adb50d6043ace464d9f694869724d7fb2.html @@ -139,7 +139,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_adda9a4bd7f0edb9cb39dc0dca3d4a286.html b/classnlohmann_1_1basic__json_1_1const__iterator_adda9a4bd7f0edb9cb39dc0dca3d4a286.html index 0915e3762..ddbf342f6 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_adda9a4bd7f0edb9cb39dc0dca3d4a286.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_adda9a4bd7f0edb9cb39dc0dca3d4a286.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_adf6f9d3f8f8d8b1ccedabb4f04c098ad.html b/classnlohmann_1_1basic__json_1_1const__iterator_adf6f9d3f8f8d8b1ccedabb4f04c098ad.html index d10c0c396..0bc546557 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_adf6f9d3f8f8d8b1ccedabb4f04c098ad.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_adf6f9d3f8f8d8b1ccedabb4f04c098ad.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_ae480d5c86e5e1129d53d1e19782017a6.html b/classnlohmann_1_1basic__json_1_1const__iterator_ae480d5c86e5e1129d53d1e19782017a6.html index 70c9029c8..c5102337f 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_ae480d5c86e5e1129d53d1e19782017a6.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_ae480d5c86e5e1129d53d1e19782017a6.html @@ -139,7 +139,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_aebd099d9a70ffe760242ef24046c9002.html b/classnlohmann_1_1basic__json_1_1const__iterator_aebd099d9a70ffe760242ef24046c9002.html index 713251c37..238f728a2 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_aebd099d9a70ffe760242ef24046c9002.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_aebd099d9a70ffe760242ef24046c9002.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_af34f68f1ce670e7f25ce267b2b1e64ab.html b/classnlohmann_1_1basic__json_1_1const__iterator_af34f68f1ce670e7f25ce267b2b1e64ab.html index 02bdec49f..d7fd73cbc 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_af34f68f1ce670e7f25ce267b2b1e64ab.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_af34f68f1ce670e7f25ce267b2b1e64ab.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_af55564e391b23e41abe78bc4bbe4edcb.html b/classnlohmann_1_1basic__json_1_1const__iterator_af55564e391b23e41abe78bc4bbe4edcb.html index 8cd40862d..0998d84b8 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_af55564e391b23e41abe78bc4bbe4edcb.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_af55564e391b23e41abe78bc4bbe4edcb.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator-members.html b/classnlohmann_1_1basic__json_1_1iterator-members.html index 3f38c7623..5c72bf2b9 100644 --- a/classnlohmann_1_1basic__json_1_1iterator-members.html +++ b/classnlohmann_1_1basic__json_1_1iterator-members.html @@ -135,7 +135,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/classnlohmann_1_1basic__json_1_1iterator.html b/classnlohmann_1_1basic__json_1_1iterator.html index 54888703a..f63fc53bd 100644 --- a/classnlohmann_1_1basic__json_1_1iterator.html +++ b/classnlohmann_1_1basic__json_1_1iterator.html @@ -96,8 +96,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

a random access iterator for the basic_json class -

+

a mutable random access iterator for the basic_json class + More...

#include <json.hpp>

@@ -255,10 +255,19 @@ Public Member Functions
 return the value of an iterator More...
 
-
+

Detailed Description

+

template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class AllocatorType = std::allocator>
+class nlohmann::basic_json::iterator

+ +
Requirements
The class satisfies the following concept requirements:
    +
  • RandomAccessIterator: The iterator that can be moved to point (forward and backward) to any element in constant time.
  • +
  • OutputIterator: It is possible to write to the pointed-to element.
  • +
+
+
diff --git a/classnlohmann_1_1basic__json_1_1iterator_a037e5f3de196ff4cea8a95a8a4e35882.html b/classnlohmann_1_1basic__json_1_1iterator_a037e5f3de196ff4cea8a95a8a4e35882.html index 97c8a8f81..231bef690 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a037e5f3de196ff4cea8a95a8a4e35882.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a037e5f3de196ff4cea8a95a8a4e35882.html @@ -139,7 +139,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a0a43bd93e6e46645ed0b93d3af7bfe22.html b/classnlohmann_1_1basic__json_1_1iterator_a0a43bd93e6e46645ed0b93d3af7bfe22.html index 24e26e5f5..7097c9c4e 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a0a43bd93e6e46645ed0b93d3af7bfe22.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a0a43bd93e6e46645ed0b93d3af7bfe22.html @@ -140,7 +140,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a0c0acb68cc2a50a0e8782f860184883f.html b/classnlohmann_1_1basic__json_1_1iterator_a0c0acb68cc2a50a0e8782f860184883f.html index 0a48abb35..bb01621c0 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a0c0acb68cc2a50a0e8782f860184883f.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a0c0acb68cc2a50a0e8782f860184883f.html @@ -140,7 +140,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a0eb7ac9b746fb6f931ae728f70f92a8e.html b/classnlohmann_1_1basic__json_1_1iterator_a0eb7ac9b746fb6f931ae728f70f92a8e.html index 7487a187b..6a608b5bd 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a0eb7ac9b746fb6f931ae728f70f92a8e.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a0eb7ac9b746fb6f931ae728f70f92a8e.html @@ -140,7 +140,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a1220b360a07b0605f7d2f4b3cfd16736.html b/classnlohmann_1_1basic__json_1_1iterator_a1220b360a07b0605f7d2f4b3cfd16736.html index 70554e221..49cf7b601 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a1220b360a07b0605f7d2f4b3cfd16736.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a1220b360a07b0605f7d2f4b3cfd16736.html @@ -139,7 +139,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a21d32a4547ba4cbadd8b435a6a0d0e1b.html b/classnlohmann_1_1basic__json_1_1iterator_a21d32a4547ba4cbadd8b435a6a0d0e1b.html index ec2784f8b..b97e54976 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a21d32a4547ba4cbadd8b435a6a0d0e1b.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a21d32a4547ba4cbadd8b435a6a0d0e1b.html @@ -139,7 +139,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a302d810a0685f8d39368eaa65c833acf.html b/classnlohmann_1_1basic__json_1_1iterator_a302d810a0685f8d39368eaa65c833acf.html index c98f5d517..27b464384 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a302d810a0685f8d39368eaa65c833acf.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a302d810a0685f8d39368eaa65c833acf.html @@ -140,7 +140,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a33277dbf06ac5c1e7102e26f6b5e2c00.html b/classnlohmann_1_1basic__json_1_1iterator_a33277dbf06ac5c1e7102e26f6b5e2c00.html index e763930f0..9e229cb57 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a33277dbf06ac5c1e7102e26f6b5e2c00.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a33277dbf06ac5c1e7102e26f6b5e2c00.html @@ -139,7 +139,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a4ae612fa9eb59784047b40f0419db65d.html b/classnlohmann_1_1basic__json_1_1iterator_a4ae612fa9eb59784047b40f0419db65d.html index ec8acd9b3..3be329499 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a4ae612fa9eb59784047b40f0419db65d.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a4ae612fa9eb59784047b40f0419db65d.html @@ -140,7 +140,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a4f6e03ae3bb674ebf0b727f74957c12f.html b/classnlohmann_1_1basic__json_1_1iterator_a4f6e03ae3bb674ebf0b727f74957c12f.html index c7dcd5e7c..ee273925e 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a4f6e03ae3bb674ebf0b727f74957c12f.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a4f6e03ae3bb674ebf0b727f74957c12f.html @@ -139,7 +139,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a7031e759ee52d1283aada0ff81108a5e.html b/classnlohmann_1_1basic__json_1_1iterator_a7031e759ee52d1283aada0ff81108a5e.html index 11721d736..8f3bedd46 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a7031e759ee52d1283aada0ff81108a5e.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a7031e759ee52d1283aada0ff81108a5e.html @@ -140,7 +140,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a799627115ae852c4bb9ca2042ce0aa94.html b/classnlohmann_1_1basic__json_1_1iterator_a799627115ae852c4bb9ca2042ce0aa94.html index 86730ab5f..92af3d042 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a799627115ae852c4bb9ca2042ce0aa94.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a799627115ae852c4bb9ca2042ce0aa94.html @@ -140,7 +140,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a94285e2ade0bfef829b81377bbbca6cf.html b/classnlohmann_1_1basic__json_1_1iterator_a94285e2ade0bfef829b81377bbbca6cf.html index e37776d2d..93c6f5668 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a94285e2ade0bfef829b81377bbbca6cf.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a94285e2ade0bfef829b81377bbbca6cf.html @@ -140,7 +140,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a9fcfda575b08d0c73b6274cdbbe7f184.html b/classnlohmann_1_1basic__json_1_1iterator_a9fcfda575b08d0c73b6274cdbbe7f184.html index ac76329d8..8dee51afd 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a9fcfda575b08d0c73b6274cdbbe7f184.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a9fcfda575b08d0c73b6274cdbbe7f184.html @@ -140,7 +140,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_aa2bd10afdcfc70acb8eaabbd2f6496f0.html b/classnlohmann_1_1basic__json_1_1iterator_aa2bd10afdcfc70acb8eaabbd2f6496f0.html index 0cb80cf73..520508cce 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_aa2bd10afdcfc70acb8eaabbd2f6496f0.html +++ b/classnlohmann_1_1basic__json_1_1iterator_aa2bd10afdcfc70acb8eaabbd2f6496f0.html @@ -128,7 +128,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_ab220a0cc3fe410fbae4524208bd5834f.html b/classnlohmann_1_1basic__json_1_1iterator_ab220a0cc3fe410fbae4524208bd5834f.html index 857d967fe..622156802 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_ab220a0cc3fe410fbae4524208bd5834f.html +++ b/classnlohmann_1_1basic__json_1_1iterator_ab220a0cc3fe410fbae4524208bd5834f.html @@ -140,7 +140,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_ab5cf753cb2f8ce53b9f3e54c39e50ee3.html b/classnlohmann_1_1basic__json_1_1iterator_ab5cf753cb2f8ce53b9f3e54c39e50ee3.html index 904987820..2cd9402a0 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_ab5cf753cb2f8ce53b9f3e54c39e50ee3.html +++ b/classnlohmann_1_1basic__json_1_1iterator_ab5cf753cb2f8ce53b9f3e54c39e50ee3.html @@ -140,7 +140,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_abaebf4e21956dd20d9f862fa5647d32d.html b/classnlohmann_1_1basic__json_1_1iterator_abaebf4e21956dd20d9f862fa5647d32d.html index 5d5ad086a..d01d9eb76 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_abaebf4e21956dd20d9f862fa5647d32d.html +++ b/classnlohmann_1_1basic__json_1_1iterator_abaebf4e21956dd20d9f862fa5647d32d.html @@ -128,7 +128,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_af64127418c567660d92b1afdfe9676db.html b/classnlohmann_1_1basic__json_1_1iterator_af64127418c567660d92b1afdfe9676db.html index 3f01c9b19..131236544 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_af64127418c567660d92b1afdfe9676db.html +++ b/classnlohmann_1_1basic__json_1_1iterator_af64127418c567660d92b1afdfe9676db.html @@ -139,7 +139,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_afe65b5a0572c7bfdd7ccc942bb8e9fe2.html b/classnlohmann_1_1basic__json_1_1iterator_afe65b5a0572c7bfdd7ccc942bb8e9fe2.html index 01852fafa..f203348ba 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_afe65b5a0572c7bfdd7ccc942bb8e9fe2.html +++ b/classnlohmann_1_1basic__json_1_1iterator_afe65b5a0572c7bfdd7ccc942bb8e9fe2.html @@ -128,7 +128,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator-members.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator-members.html index 56fb051ba..523e6ae33 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator-members.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator-members.html @@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator.html index a026e3974..18d376d8f 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

a template for a reverse iterator class -

+ More...

#include <json.hpp>

@@ -107,6 +107,7 @@ Public Types +
 shortcut to the reverse iterator adaptor More...
 
using reference = typename Base::reference
 the reference type for the pointed-to element More...
 

@@ -151,10 +152,26 @@ Public Member Functions

 return the value of an iterator More...
 
-
+

Detailed Description

+

template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class AllocatorType = std::allocator>
+template<typename Base>
+class nlohmann::basic_json::json_reverse_iterator< Base >

+ +
Template Parameters
+ + +
Basethe base iterator type to reverse. Valid types are iterator (to create reverse_iterator) and const_iterator (to create const_reverse_iterator).
+
+
+
Requirements
The class satisfies the following concept requirements:
    +
  • RandomAccessIterator: The iterator that can be moved to point (forward and backward) to any element in constant time.
  • +
  • OutputIterator: It is possible to write to the pointed-to element (only if Base is iterator).
  • +
+
+
diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a03e542423284327d3801cf078f1c2b44.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a03e542423284327d3801cf078f1c2b44.html index 3556cd635..0bc03363d 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a03e542423284327d3801cf078f1c2b44.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a03e542423284327d3801cf078f1c2b44.html @@ -137,7 +137,7 @@ template<typename Base > diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a0b494ef7570d031216f907d2c85ec323.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a0b494ef7570d031216f907d2c85ec323.html index 74d2d2c06..b82239220 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a0b494ef7570d031216f907d2c85ec323.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a0b494ef7570d031216f907d2c85ec323.html @@ -137,7 +137,7 @@ template<typename Base > diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a15e9cf4c5a43238e82ab69c4a295c491.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a15e9cf4c5a43238e82ab69c4a295c491.html index 5a29ec531..a36ec5d7f 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a15e9cf4c5a43238e82ab69c4a295c491.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a15e9cf4c5a43238e82ab69c4a295c491.html @@ -136,7 +136,7 @@ template<typename Base > diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a1c84e6d1f047ab4105fa665f455158a7.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a1c84e6d1f047ab4105fa665f455158a7.html index 1c6aa2b5f..e55334c2c 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a1c84e6d1f047ab4105fa665f455158a7.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a1c84e6d1f047ab4105fa665f455158a7.html @@ -137,7 +137,7 @@ template<typename Base > diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a2a1dc92fbec862883c8b89755c787c99.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a2a1dc92fbec862883c8b89755c787c99.html index 42b31abb5..3fae480e0 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a2a1dc92fbec862883c8b89755c787c99.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a2a1dc92fbec862883c8b89755c787c99.html @@ -137,7 +137,7 @@ template<typename Base > diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a5ee9ec91a6ddcd8d72278d681361626f.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a5ee9ec91a6ddcd8d72278d681361626f.html index dbc8a4f03..4ba493e98 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a5ee9ec91a6ddcd8d72278d681361626f.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a5ee9ec91a6ddcd8d72278d681361626f.html @@ -125,7 +125,7 @@ template<typename Base > diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a61d31531e0dfc5448e7fa15678b05bbe.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a61d31531e0dfc5448e7fa15678b05bbe.html index 6ac30f008..2b4a609b3 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a61d31531e0dfc5448e7fa15678b05bbe.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a61d31531e0dfc5448e7fa15678b05bbe.html @@ -136,7 +136,7 @@ template<typename Base > diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a6bd38ed124df0332ba3263a9176b0101.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a6bd38ed124df0332ba3263a9176b0101.html index 37f24d159..6b3b837dd 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a6bd38ed124df0332ba3263a9176b0101.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a6bd38ed124df0332ba3263a9176b0101.html @@ -137,7 +137,7 @@ template<typename Base > diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a70086e392779ecbbc9e6845b2be126a0.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a70086e392779ecbbc9e6845b2be126a0.html index 6b91b05cf..577fab684 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a70086e392779ecbbc9e6845b2be126a0.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a70086e392779ecbbc9e6845b2be126a0.html @@ -137,7 +137,7 @@ template<typename Base > diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_aa82b48aee07baee284f8340b37ec6864.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_aa82b48aee07baee284f8340b37ec6864.html index 6b7eafc29..a93ef52e0 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_aa82b48aee07baee284f8340b37ec6864.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_aa82b48aee07baee284f8340b37ec6864.html @@ -137,7 +137,7 @@ template<typename Base > diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ab6245ab29d8481ef2a2351c02cc31d4d.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ab6245ab29d8481ef2a2351c02cc31d4d.html index 30f50c504..4423c2c4e 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ab6245ab29d8481ef2a2351c02cc31d4d.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ab6245ab29d8481ef2a2351c02cc31d4d.html @@ -125,7 +125,7 @@ template<typename Base > diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ac427d8f61858c13b7c16649bfbf75e76.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ac427d8f61858c13b7c16649bfbf75e76.html index cefdadef7..4425643b0 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ac427d8f61858c13b7c16649bfbf75e76.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ac427d8f61858c13b7c16649bfbf75e76.html @@ -137,7 +137,7 @@ template<typename Base > diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ad3d6837b6f97065625c6c65f62f4b6d4.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ad3d6837b6f97065625c6c65f62f4b6d4.html index 08e4c9aba..6590bef58 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ad3d6837b6f97065625c6c65f62f4b6d4.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ad3d6837b6f97065625c6c65f62f4b6d4.html @@ -136,7 +136,7 @@ template<typename Base > diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ae988bd36b7d098b1157871f83b2d6265.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ae988bd36b7d098b1157871f83b2d6265.html index ca781a954..21eb38090 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ae988bd36b7d098b1157871f83b2d6265.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_ae988bd36b7d098b1157871f83b2d6265.html @@ -137,7 +137,7 @@ template<typename Base > diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_af972fce017b24906236ab235857a11a8.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_af972fce017b24906236ab235857a11a8.html index 9c3a644f0..4a8cb1dab 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_af972fce017b24906236ab235857a11a8.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_af972fce017b24906236ab235857a11a8.html @@ -136,7 +136,7 @@ template<typename Base > diff --git a/classnlohmann_1_1basic__json_a01a2643289b69cd71d9b3f3fc209b748.html b/classnlohmann_1_1basic__json_a01a2643289b69cd71d9b3f3fc209b748.html index 4a62fd69a..19706331e 100644 --- a/classnlohmann_1_1basic__json_a01a2643289b69cd71d9b3f3fc209b748.html +++ b/classnlohmann_1_1basic__json_a01a2643289b69cd71d9b3f3fc209b748.html @@ -272,9 +272,9 @@ template<template< typename U, typename V, typename...Args > class Obje
16  std::cout << "number of elements with key \"two\": " << count_two << '\n';
17  std::cout << "number of elements with key \"three\": " << count_three << '\n';
18 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
-
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:3110
+
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:3134
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 
@@ -287,7 +287,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 e63f1f8cb..a30cd675e 100644 --- a/classnlohmann_1_1basic__json_a034bccea9f5400650443e9f12e67b079.html +++ b/classnlohmann_1_1basic__json_a034bccea9f5400650443e9f12e67b079.html @@ -286,13 +286,13 @@ In case the parameter value is not a number, a JSON null value is creat
19  std::cout << j_nan << '\n';
20  std::cout << j23 << '\n';
21 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
Output (play with this example online):
42.2299995422363
 null
 23.42
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__CompatibleNumberFloatType.cpp -o basic_json__CompatibleNumberFloatType 
-
See also
basic_json(const number_float_t)
+
See also
basic_json(const number_float_t)
@@ -302,7 +302,7 @@ null diff --git a/classnlohmann_1_1basic__json_a058be74840ddfec9dad9755ac8dc8b99.html b/classnlohmann_1_1basic__json_a058be74840ddfec9dad9755ac8dc8b99.html index fd8118be4..8e5750bf1 100644 --- a/classnlohmann_1_1basic__json_a058be74840ddfec9dad9755ac8dc8b99.html +++ b/classnlohmann_1_1basic__json_a058be74840ddfec9dad9755ac8dc8b99.html @@ -272,9 +272,9 @@ template<template< typename U, typename V, typename...Args > class Obje
23  std::cout << j_array.is_number() << '\n';
24  std::cout << j_string.is_number() << '\n';
25 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
-
bool is_number() const noexcept
return whether value is a number
Definition: json.hpp:1818
+
bool is_number() const noexcept
return whether value is a number
Definition: json.hpp:1842
Output (play with this example online):
false
 false
 true
@@ -292,7 +292,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_a0998ed4a76d1e5048fd043475eb7bfde.html b/classnlohmann_1_1basic__json_a0998ed4a76d1e5048fd043475eb7bfde.html
index d3f48b2fe..e9285cf26 100644
--- a/classnlohmann_1_1basic__json_a0998ed4a76d1e5048fd043475eb7bfde.html
+++ b/classnlohmann_1_1basic__json_a0998ed4a76d1e5048fd043475eb7bfde.html
@@ -244,25 +244,25 @@ template<template< typename U, typename V, typename...Args > class Obje
   
 
 
-

Returns the maximum number of elements a JSON value is able to hold due to system or library implementation limitations, i.e. std::distance(begin(), end()) for the JSON value.

+

Returns the maximum number of elements a JSON value is able to hold due to system or library implementation limitations, i.e. std::distance(begin(), end()) for the JSON value.

Returns
The return value depends on the different types and is defined as follows: - + - + - + - +
Value type return value
null 0 (same as size())
null 0 (same as size())
boolean 1 (same as size())
boolean 1 (same as size())
string 1 (same as size())
string 1 (same as size())
number 1 (same as size())
number 1 (same as size())
object result of function object_t::max_size()
array result of function array_t::max_size()
-
Complexity
Constant, as long as array_t and object_t satisfy the Container concept; that is, their max_size() functions have constant complexity.
+
Complexity
Constant, as long as array_t and object_t satisfy the Container concept; that is, their max_size() functions have constant complexity.
Requirements
This function satisfies the Container requirements:
  • The complexity is constant.
  • Has the semantics of returning b.size() where b is the largest possible JSON value.
  • @@ -292,9 +292,9 @@ template<template< typename U, typename V, typename...Args > class Obje
    22  std::cout << j_array.max_size() << '\n';
    23  std::cout << j_string.max_size() << '\n';
    24 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    +
    a class to store JSON values
    Definition: json.hpp:159
    namespace for Niels Lohmann
    Definition: json.hpp:55
    -
    size_type max_size() const noexcept
    returns the maximum possible number of elements
    Definition: json.hpp:3509
    +
    size_type max_size() const noexcept
    returns the maximum possible number of elements
    Definition: json.hpp:3507
Output (play with this example online):
0
 1
 1
@@ -312,7 +312,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 ebb123145..784a4fbb8 100644
--- a/classnlohmann_1_1basic__json_a0a7560122349628cf4942a316aa6d21f.html
+++ b/classnlohmann_1_1basic__json_a0a7560122349628cf4942a316aa6d21f.html
@@ -283,9 +283,9 @@ template<template< typename U, typename V, typename...Args > class Obje
 
22  std::cout << array << '\n';
23  std::cout << null << '\n';
24 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
-
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3629
+
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3627
Output (play with this example online):
[1,2,3,4,5]
 null
 [1,2,3,4,5,6,7]
@@ -300,7 +300,7 @@ null
 
 
 
diff --git a/classnlohmann_1_1basic__json_a0a9c6a1fccc4db365860463e8203eb38.html b/classnlohmann_1_1basic__json_a0a9c6a1fccc4db365860463e8203eb38.html
index d421dca65..582d4da77 100644
--- a/classnlohmann_1_1basic__json_a0a9c6a1fccc4db365860463e8203eb38.html
+++ b/classnlohmann_1_1basic__json_a0a9c6a1fccc4db365860463e8203eb38.html
@@ -274,12 +274,12 @@ template<template< typename U, typename V, typename...Args > class Obje
 
13  // serialize the JSON object
14  std::cout << j << '\n';
15 }
-
a class to store JSON values
Definition: json.hpp:136
-
ObjectType< StringType, basic_json, std::less< StringType >, AllocatorType< std::pair< const StringType, basic_json >>> object_t
a type for an object
Definition: json.hpp:273
+
a class to store JSON values
Definition: json.hpp:159
+
ObjectType< StringType, basic_json, std::less< StringType >, AllocatorType< std::pair< const StringType, basic_json >>> object_t
a type for an object
Definition: json.hpp:304
namespace for Niels Lohmann
Definition: json.hpp:55
Output (play with this example online):
{"one":1,"two":2}
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__object_t.cpp -o basic_json__object_t 
-
See also
basic_json(const CompatibleObjectType&)
+
See also
basic_json(const CompatibleObjectType&)
@@ -289,7 +289,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 6bad7d752..05b5845a2 100644 --- a/classnlohmann_1_1basic__json_a0bb6ea56c89560cce8003485bffe49d4.html +++ b/classnlohmann_1_1basic__json_a0bb6ea56c89560cce8003485bffe49d4.html @@ -288,7 +288,7 @@ template<typename CompatibleNumberIntegerType , typename std::enable_if< s
25  std::cout << j17 << '\n';
26  std::cout << j8 << '\n';
27 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
Output (play with this example online):
42
 23
@@ -296,7 +296,7 @@ template<typename CompatibleNumberIntegerType , typename std::enable_if< s
 17
 8
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__CompatibleIntegerNumberType.cpp -o basic_json__CompatibleIntegerNumberType 
-
See also
basic_json(const number_integer_t)
+
See also
basic_json(const number_integer_t)
@@ -306,7 +306,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 2b6a6d10a..ab6715bab 100644 --- a/classnlohmann_1_1basic__json_a0e372f4c5a90c6be7242a2d7a3709b48.html +++ b/classnlohmann_1_1basic__json_a0e372f4c5a90c6be7242a2d7a3709b48.html @@ -258,7 +258,7 @@ template<template< typename U, typename V, typename...Args > class Obje -
Complexity
Logarithmic in the size of the container, O(log(size())).
+
Complexity
Logarithmic in the size of the container, O(log(size())).
Example
The example shows how push_back and += can be used to add elements to a JSON object. Note how the null value was silently converted to a JSON object.
1 #include <json.hpp>
2 
3 using namespace nlohmann;
@@ -283,9 +283,9 @@ template<template< typename U, typename V, typename...Args > class Obje
22  std::cout << object << '\n';
23  std::cout << null << '\n';
24 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
-
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3629
+
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3627
Output (play with this example online):
{"one":1,"two":2}
 null
 {"four":4,"one":1,"three":3,"two":2}
@@ -300,7 +300,7 @@ null
 
 
 
diff --git a/classnlohmann_1_1basic__json_a122640e7e2db1814fc7bbb3c122ec76e.html b/classnlohmann_1_1basic__json_a122640e7e2db1814fc7bbb3c122ec76e.html
index a54ae9a0c..cfb689113 100644
--- a/classnlohmann_1_1basic__json_a122640e7e2db1814fc7bbb3c122ec76e.html
+++ b/classnlohmann_1_1basic__json_a122640e7e2db1814fc7bbb3c122ec76e.html
@@ -292,7 +292,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
21  std::cout << number_1 << " == " << number_2 << " " << (number_1 == number_2) << '\n';
22  std::cout << string_1 << " == " << string_2 << " " << (string_1 == string_2) << '\n';
23 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
Output (play with this example online):
[1,2,3] == [1,2,4] false
 {"A":"a","B":"b"} == {"A":"a","B":"b"} true
@@ -308,7 +308,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 26aa5e509..1472d3c93 100644
--- a/classnlohmann_1_1basic__json_a13e5642dbfa1602c937d295a085413cc.html
+++ b/classnlohmann_1_1basic__json_a13e5642dbfa1602c937d295a085413cc.html
@@ -242,7 +242,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 d1ed1726b..0aeb4fc0b 100644
--- a/classnlohmann_1_1basic__json_a15e468968cd4d0e4fd566044d66ada24.html
+++ b/classnlohmann_1_1basic__json_a15e468968cd4d0e4fd566044d66ada24.html
@@ -274,14 +274,14 @@ template<template< typename U, typename V, typename...Args > class Obje
 
13  // serialize the JSON array
14  std::cout << j << '\n';
15 }
-
StringType string_t
a type for a string
Definition: json.hpp:356
-
a class to store JSON values
Definition: json.hpp:136
+
StringType string_t
a type for a string
Definition: json.hpp:387
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
Output (play with this example online):
"The quick brown fox jumps over the lazy doc"
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__string_t.cpp -o basic_json__string_t 
-
See also
basic_json(const typename string_t::value_type*)
+
See also
basic_json(const typename string_t::value_type*)
-basic_json(const CompatibleStringType&)
+basic_json(const CompatibleStringType&)
@@ -291,7 +291,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a1683189bd539313b5559f07961166c8b.html b/classnlohmann_1_1basic__json_a1683189bd539313b5559f07961166c8b.html index 61cd240ad..d1b99b464 100644 --- a/classnlohmann_1_1basic__json_a1683189bd539313b5559f07961166c8b.html +++ b/classnlohmann_1_1basic__json_a1683189bd539313b5559f07961166c8b.html @@ -242,7 +242,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 b587b68f3..906fdf7b3 100644 --- a/classnlohmann_1_1basic__json_a16a275d0201e9aedc87c933c764b8869.html +++ b/classnlohmann_1_1basic__json_a16a275d0201e9aedc87c933c764b8869.html @@ -256,7 +256,7 @@ template<template< typename U, typename V, typename...Args > class Obje
Exceptions
- +
std::domain_errorif JSON is not an object
std::out_of_rangeif the key key is is not stored in the object; that is, find(key) == end()
std::out_of_rangeif the key key is is not stored in the object; that is, find(key) == end()
@@ -288,8 +288,8 @@ template<template< typename U, typename V, typename...Args > class Obje
25  std::cout << "out of range" << '\n';
26  }
27 }
-
a class to store JSON values
Definition: json.hpp:136
-
reference at(size_type idx)
access specified array element with bounds checking
Definition: json.hpp:2426
+
a class to store JSON values
Definition: json.hpp:159
+
reference at(size_type idx)
access specified array element with bounds checking
Definition: json.hpp:2450
namespace for Niels Lohmann
Definition: json.hpp:55
Output (play with this example online):
"il brutto"
 out of range
@@ -303,7 +303,7 @@ out of range
 
 
 
diff --git a/classnlohmann_1_1basic__json_a190d719446e7016879c4b961c9cf9072.html b/classnlohmann_1_1basic__json_a190d719446e7016879c4b961c9cf9072.html
index 271b23adf..687b1ea68 100644
--- a/classnlohmann_1_1basic__json_a190d719446e7016879c4b961c9cf9072.html
+++ b/classnlohmann_1_1basic__json_a190d719446e7016879c4b961c9cf9072.html
@@ -276,12 +276,12 @@ template<typename T , typename std::enable_if< not(std::is_same< T, int
 
12  // serialize the JSON numbers
13  std::cout << j << '\n';
14 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
-
NumberIntegerType number_integer_t
a type for a number (integer)
Definition: json.hpp:444
+
NumberIntegerType number_integer_t
a type for a number (integer)
Definition: json.hpp:475
Output (play with this example online):
42
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__number_integer_t.cpp -o basic_json__number_integer_t 
-
See also
basic_json(const int)
+
See also
basic_json(const int)
@@ -291,7 +291,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 4fa8b365d..ce7854819 100644 --- a/classnlohmann_1_1basic__json_a231b02148577b69a154b2ce2c87a5522.html +++ b/classnlohmann_1_1basic__json_a231b02148577b69a154b2ce2c87a5522.html @@ -265,7 +265,7 @@ template<template< typename U, typename V, typename...Args > class Obje

number value (floating-point)

discarded  -

(internal) indicates the parser callback chose not to keep the value

+

discarded by the the parser callback function

@@ -277,7 +277,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 37cadc5ad..7ed925f84 100644 --- a/classnlohmann_1_1basic__json_a2448b2777e8a3e48614e1b3c41b96f7c.html +++ b/classnlohmann_1_1basic__json_a2448b2777e8a3e48614e1b3c41b96f7c.html @@ -271,13 +271,13 @@ template<template< typename U, typename V, typename...Args > class Obje
10  // serialize the JSON array
11  std::cout << j << '\n';
12 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
Output (play with this example online):
"The quick brown fox jumps over the lazy doc"
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__string_t_value_type.cpp -o basic_json__string_t_value_type 
-
See also
basic_json(const string_t&)
+
See also
basic_json(const string_t&)
-basic_json(const CompatibleStringType&)
+basic_json(const CompatibleStringType&)
@@ -287,7 +287,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 de9937359..3c76d8372 100644 --- a/classnlohmann_1_1basic__json_a266c4dd24d11a86e4831523af5d9df4d.html +++ b/classnlohmann_1_1basic__json_a266c4dd24d11a86e4831523af5d9df4d.html @@ -295,7 +295,7 @@ This function is required for compatibility reasons with Clang.
28  // output changed object
29  std::cout << std::setw(4) << object << '\n';
30 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
Output (play with this example online):
2
 
@@ -326,7 +326,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 be9497f75..67b2d0def 100644
--- a/classnlohmann_1_1basic__json_a2adfc8d24bea3908398cbf325b5dc1d7.html
+++ b/classnlohmann_1_1basic__json_a2adfc8d24bea3908398cbf325b5dc1d7.html
@@ -252,7 +252,7 @@ Illustration from cppreference.com
  
Complexity
Constant.
Requirements
This function satisfies the ReversibleContainer requirements:
  • The complexity is constant.
  • -
  • Has the semantics of const_cast<const basic_json&>(*this).rbegin().
  • +
  • Has the semantics of const_cast<const basic_json&>(*this).rbegin().
Example
The following code shows an example for crbegin.
1 #include <json.hpp>
@@ -270,10 +270,10 @@ Illustration from cppreference.com
13  // serialize the element that the iterator points to
14  std::cout << *it << '\n';
15 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
-
const_reverse_iterator crbegin() const
returns a const reverse iterator to the last element
Definition: json.hpp:3327
-
a template for a reverse iterator class
Definition: json.hpp:176
+
const_reverse_iterator crbegin() const
returns a const reverse iterator to the last element
Definition: json.hpp:3333
+
a template for a reverse iterator class
Definition: json.hpp:204
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 
@@ -285,7 +285,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a2bb1b109282149119a070be4ac76f820.html b/classnlohmann_1_1basic__json_a2bb1b109282149119a070be4ac76f820.html index 9efaecd4d..ff498d257 100644 --- a/classnlohmann_1_1basic__json_a2bb1b109282149119a070be4ac76f820.html +++ b/classnlohmann_1_1basic__json_a2bb1b109282149119a070be4ac76f820.html @@ -272,8 +272,8 @@ template<template< typename U, typename V, typename...Args > class Obje
23  std::cout << j_array.is_object() << '\n';
24  std::cout << j_string.is_object() << '\n';
25 }
-
a class to store JSON values
Definition: json.hpp:136
-
bool is_object() const noexcept
return whether value is an object
Definition: json.hpp:1871
+
a class to store JSON values
Definition: json.hpp:159
+
bool is_object() const noexcept
return whether value is an object
Definition: json.hpp:1895
namespace for Niels Lohmann
Definition: json.hpp:55
Output (play with this example online):
false
 false
@@ -292,7 +292,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_a31af4b416e9ccb373291a645da7f83d7.html b/classnlohmann_1_1basic__json_a31af4b416e9ccb373291a645da7f83d7.html
index c3e834415..44ea26668 100644
--- a/classnlohmann_1_1basic__json_a31af4b416e9ccb373291a645da7f83d7.html
+++ b/classnlohmann_1_1basic__json_a31af4b416e9ccb373291a645da7f83d7.html
@@ -281,11 +281,11 @@ template<template< typename U, typename V, typename...Args > class Obje
 
32  std::cout << (t_array == json::value_t::array) << '\n';
33  std::cout << (t_string == json::value_t::string) << '\n';
34 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
object (unordered set of name/value pairs)
namespace for Niels Lohmann
Definition: json.hpp:55
-
value_t
the JSON type enumeration
Definition: json.hpp:520
+
value_t
the JSON type enumeration
Definition: json.hpp:551
array (ordered collection of values)
number value (floating-point)
@@ -308,7 +308,7 @@ true diff --git a/classnlohmann_1_1basic__json_a33f1632cfdbf460b4913f4e8a43dd9e4.html b/classnlohmann_1_1basic__json_a33f1632cfdbf460b4913f4e8a43dd9e4.html index db62d7f0b..7ac07a880 100644 --- a/classnlohmann_1_1basic__json_a33f1632cfdbf460b4913f4e8a43dd9e4.html +++ b/classnlohmann_1_1basic__json_a33f1632cfdbf460b4913f4e8a43dd9e4.html @@ -270,7 +270,7 @@ template<template< typename U, typename V, typename...Args > class Obje
14  std::cout << a << '\n';
15  std::cout << b << '\n';
16 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
Output (play with this example online):
null
 23
@@ -284,7 +284,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 c74c5cc30..0633577a6 100644
--- a/classnlohmann_1_1basic__json_a34d6a60dd99e9f33b8273a1c8db5669b.html
+++ b/classnlohmann_1_1basic__json_a34d6a60dd99e9f33b8273a1c8db5669b.html
@@ -283,7 +283,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
16  std::cout << std::setw(4) << j_object << "\n\n";
17  std::cout << std::setw(2) << j_array << "\n\n";
18 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
Output (play with this example online):
{"one":1,"two":2}
 
@@ -312,7 +312,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 fb3cd1cf7..47f0a491f 100644
--- a/classnlohmann_1_1basic__json_a429c2606865483ff357cccc1b1c46569.html
+++ b/classnlohmann_1_1basic__json_a429c2606865483ff357cccc1b1c46569.html
@@ -283,9 +283,9 @@ template<template< typename U, typename V, typename...Args > class Obje
 
22  std::cout << array << '\n';
23  std::cout << null << '\n';
24 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
-
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3629
+
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3627
Output (play with this example online):
[1,2,3,4,5]
 null
 [1,2,3,4,5,6,7]
@@ -300,7 +300,7 @@ null
 
 
 
diff --git a/classnlohmann_1_1basic__json_a4361aa791f3980abb239e4155a3450cb.html b/classnlohmann_1_1basic__json_a4361aa791f3980abb239e4155a3450cb.html
index 4861f8e75..654b29ea5 100644
--- a/classnlohmann_1_1basic__json_a4361aa791f3980abb239e4155a3450cb.html
+++ b/classnlohmann_1_1basic__json_a4361aa791f3980abb239e4155a3450cb.html
@@ -253,7 +253,7 @@ Illustration from cppreference.com
 
Complexity
Constant.
Requirements
This function satisfies the Container requirements:
  • The complexity is constant.
  • -
  • Has the semantics of const_cast<const basic_json&>(*this).begin().
  • +
  • Has the semantics of const_cast<const basic_json&>(*this).begin().
Example
The following code shows an example for cbegin.
1 #include <json.hpp>
@@ -271,10 +271,10 @@ Illustration from cppreference.com
13  // serialize the element that the iterator points to
14  std::cout << *it << '\n';
15 }
-
a class to store JSON values
Definition: json.hpp:136
-
const_iterator cbegin() const
returns a const iterator to the first element
Definition: json.hpp:3179
+
a class to store JSON values
Definition: json.hpp:159
+
const_iterator cbegin() const
returns a const iterator to the first element
Definition: json.hpp:3198
namespace for Niels Lohmann
Definition: json.hpp:55
-
a const random access iterator for the basic_json class
Definition: json.hpp:4877
+
a const random access iterator for the basic_json class
Definition: json.hpp:4870
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 
@@ -286,7 +286,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a4943b7f16ddc4e0df33c0cae7ef14471.html b/classnlohmann_1_1basic__json_a4943b7f16ddc4e0df33c0cae7ef14471.html index 0b227b4d8..95ee4cf2d 100644 --- a/classnlohmann_1_1basic__json_a4943b7f16ddc4e0df33c0cae7ef14471.html +++ b/classnlohmann_1_1basic__json_a4943b7f16ddc4e0df33c0cae7ef14471.html @@ -252,7 +252,7 @@ Illustration from cppreference.com
Complexity
Constant.
Requirements
This function satisfies the ReversibleContainer requirements:
  • The complexity is constant.
  • -
  • Has the semantics of const_cast<const basic_json&>(*this).rend().
  • +
  • Has the semantics of const_cast<const basic_json&>(*this).rend().
Example
The following code shows an example for crend.
1 #include <json.hpp>
@@ -273,10 +273,10 @@ Illustration from cppreference.com
16  // serialize the element that the iterator points to
17  std::cout << *it << '\n';
18 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
-
const_reverse_iterator crend() const
returns a const reverse iterator to one before the first
Definition: json.hpp:3350
-
a template for a reverse iterator class
Definition: json.hpp:176
+
const_reverse_iterator crend() const
returns a const reverse iterator to one before the first
Definition: json.hpp:3354
+
a template for a reverse iterator class
Definition: json.hpp:204
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 
@@ -288,7 +288,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a4ad3f27ecece8f644e8dca69a97eb67f.html b/classnlohmann_1_1basic__json_a4ad3f27ecece8f644e8dca69a97eb67f.html index f311216ba..86aa9dc83 100644 --- a/classnlohmann_1_1basic__json_a4ad3f27ecece8f644e8dca69a97eb67f.html +++ b/classnlohmann_1_1basic__json_a4ad3f27ecece8f644e8dca69a97eb67f.html @@ -252,7 +252,7 @@ Illustration from cppreference.com
Complexity
Constant.
Requirements
This function satisfies the ReversibleContainer requirements:
  • The complexity is constant.
  • -
  • Has the semantics of const_cast<const basic_json&>(*this).rend().
  • +
  • Has the semantics of const_cast<const basic_json&>(*this).rend().
Example
The following code shows an example for crend.
1 #include <json.hpp>
@@ -273,10 +273,10 @@ Illustration from cppreference.com
16  // serialize the element that the iterator points to
17  std::cout << *it << '\n';
18 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
-
const_reverse_iterator crend() const
returns a const reverse iterator to one before the first
Definition: json.hpp:3350
-
a template for a reverse iterator class
Definition: json.hpp:176
+
const_reverse_iterator crend() const
returns a const reverse iterator to one before the first
Definition: json.hpp:3354
+
a template for a reverse iterator class
Definition: json.hpp:204
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 
@@ -288,7 +288,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a4bf695ddf4a00ea8feea2c725ec847f1.html b/classnlohmann_1_1basic__json_a4bf695ddf4a00ea8feea2c725ec847f1.html index 115cded0c..f21ec2cc1 100644 --- a/classnlohmann_1_1basic__json_a4bf695ddf4a00ea8feea2c725ec847f1.html +++ b/classnlohmann_1_1basic__json_a4bf695ddf4a00ea8feea2c725ec847f1.html @@ -278,10 +278,10 @@ template<template< typename U, typename V, typename...Args > class Obje
17  std::cout << "value = " << value << '\n';
18  std::cout << "object = " << object << '\n';
19 }
-
a class to store JSON values
Definition: json.hpp:136
-
ObjectType< StringType, basic_json, std::less< StringType >, AllocatorType< std::pair< const StringType, basic_json >>> object_t
a type for an object
Definition: json.hpp:273
+
a class to store JSON values
Definition: json.hpp:159
+
ObjectType< StringType, basic_json, std::less< StringType >, AllocatorType< std::pair< const StringType, basic_json >>> object_t
a type for an object
Definition: json.hpp:304
namespace for Niels Lohmann
Definition: json.hpp:55
-
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:3938
+
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:3934
Output (play with this example online):
value = {"translation":{"cow":"Kuh","dog":"Hund"}}
 object = {"one":"eins","two":"zwei"}
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/swap__object_t.cpp -o swap__object_t 
@@ -294,7 +294,7 @@ object = {"one":"eins","two":"zwei"} diff --git a/classnlohmann_1_1basic__json_a4d688b5ff534d3ab4e284b3191061529.html b/classnlohmann_1_1basic__json_a4d688b5ff534d3ab4e284b3191061529.html index 8acdef6c6..14cf0e4d8 100644 --- a/classnlohmann_1_1basic__json_a4d688b5ff534d3ab4e284b3191061529.html +++ b/classnlohmann_1_1basic__json_a4d688b5ff534d3ab4e284b3191061529.html @@ -252,7 +252,7 @@ Illustration from cppreference.com
Complexity
Constant.
Requirements
This function satisfies the ReversibleContainer requirements:
  • The complexity is constant.
  • -
  • Has the semantics of const_cast<const basic_json&>(*this).rbegin().
  • +
  • Has the semantics of const_cast<const basic_json&>(*this).rbegin().
Example
The following code shows an example for crbegin.
1 #include <json.hpp>
@@ -270,10 +270,10 @@ Illustration from cppreference.com
13  // serialize the element that the iterator points to
14  std::cout << *it << '\n';
15 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
-
const_reverse_iterator crbegin() const
returns a const reverse iterator to the last element
Definition: json.hpp:3327
-
a template for a reverse iterator class
Definition: json.hpp:176
+
const_reverse_iterator crbegin() const
returns a const reverse iterator to the last element
Definition: json.hpp:3333
+
a template for a reverse iterator class
Definition: json.hpp:204
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 
@@ -285,7 +285,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a55edaf09e1f7785463475f809d987cee.html b/classnlohmann_1_1basic__json_a55edaf09e1f7785463475f809d987cee.html index e5736d1b4..269537a99 100644 --- a/classnlohmann_1_1basic__json_a55edaf09e1f7785463475f809d987cee.html +++ b/classnlohmann_1_1basic__json_a55edaf09e1f7785463475f809d987cee.html @@ -264,7 +264,7 @@ template<template< typename U, typename V, typename...Args > class Obje

Inserts count copies of value before iterator pos.

Parameters
- +
[in]positerator before which the content will be inserted; may be the end() iterator
[in]positerator before which the content will be inserted; may be the end() iterator
[in]countnumber of copies of value to insert
[in]valueelement to insert
@@ -295,10 +295,10 @@ template<template< typename U, typename V, typename...Args > class Obje
14  std::cout << *new_pos << '\n';
15  std::cout << v << '\n';
16 }
-
a class to store JSON values
Definition: json.hpp:136
-
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3144
+
a class to store JSON values
Definition: json.hpp:159
+
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3166
namespace for Niels Lohmann
Definition: json.hpp:55
-
iterator insert(const_iterator pos, const basic_json &value)
inserts element
Definition: json.hpp:3758
+
iterator insert(const_iterator pos, const basic_json &value)
inserts element
Definition: json.hpp:3756
Output (play with this example online):
7
 [1,2,7,7,7,7,7,7,7,3,4]
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/insert__count.cpp -o insert__count 
@@ -311,7 +311,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 59a4fe7ee..175796a7c 100644 --- a/classnlohmann_1_1basic__json_a572cdf681c75b42c2bc38a1fbe993eca.html +++ b/classnlohmann_1_1basic__json_a572cdf681c75b42c2bc38a1fbe993eca.html @@ -262,10 +262,10 @@ template<template< typename U, typename V, typename...Args > class Obje array result of function array_t::empty() -
Complexity
Constant, as long as array_t and object_t satisfy the Container concept; that is, their empty() functions have constant complexity.
+
Complexity
Constant, as long as array_t and object_t satisfy the Container concept; that is, their empty() functions have constant complexity.
Requirements
This function satisfies the Container requirements:
  • The complexity is constant.
  • -
  • Has the semantics of begin() == end().
  • +
  • Has the semantics of begin() == end().
Example
The following code uses empty to check if a json object contains any elements.
1 #include <json.hpp>
@@ -297,8 +297,8 @@ template<template< typename U, typename V, typename...Args > class Obje
27  std::cout << j_array_empty.empty() << '\n';
28  std::cout << j_string.empty() << '\n';
29 }
-
a class to store JSON values
Definition: json.hpp:136
-
bool empty() const noexcept
checks whether the container is empty
Definition: json.hpp:3394
+
a class to store JSON values
Definition: json.hpp:159
+
bool empty() const noexcept
checks whether the container is empty
Definition: json.hpp:3396
object (unordered set of name/value pairs)
namespace for Niels Lohmann
Definition: json.hpp:55
array (ordered collection of values)
@@ -321,7 +321,7 @@ false
diff --git a/classnlohmann_1_1basic__json_a57703688bee6b9736ab3a430d8d246f2.html b/classnlohmann_1_1basic__json_a57703688bee6b9736ab3a430d8d246f2.html index a13b1dd05..cf93e68fe 100644 --- a/classnlohmann_1_1basic__json_a57703688bee6b9736ab3a430d8d246f2.html +++ b/classnlohmann_1_1basic__json_a57703688bee6b9736ab3a430d8d246f2.html @@ -246,7 +246,7 @@ template<template< typename U, typename V, typename...Args > class Obje

Returns a reference to the element at specified location idx.

-
Note
If idx is beyond the range of the array (i.e., idx >= size()), then the array is silently filled up with null values to make idx a valid reference to the last stored element.
+
Note
If idx is beyond the range of the array (i.e., idx >= size()), then the array is silently filled up with null values to make idx a valid reference to the last stored element.
Parameters
@@ -260,7 +260,7 @@ template<template< typename U, typename V, typename...Args > class Obje
[in]idxindex of the element to access
-
Complexity
Constant if idx is in the range of the array. Otherwise linear in idx - size().
+
Complexity
Constant if idx is in the range of the array. Otherwise linear in idx - size().
Example
The example below shows how array elements can be read and written using [] operator. Note the addition of null values.
1 #include <json.hpp>
2 
3 using namespace nlohmann;
@@ -285,7 +285,7 @@ template<template< typename U, typename V, typename...Args > class Obje
22  // output changed array
23  std::cout << array << '\n';
24 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
Output (play with this example online):
4
 [1,2,3,4,6]
@@ -300,7 +300,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 34ac8d9d5..a1d83759a 100644 --- a/classnlohmann_1_1basic__json_a57a96ab3ff1ce7b48a754129fb12c982.html +++ b/classnlohmann_1_1basic__json_a57a96ab3ff1ce7b48a754129fb12c982.html @@ -278,10 +278,10 @@ template<template< typename U, typename V, typename...Args > class Obje
17  std::cout << "value = " << value << '\n';
18  std::cout << "string = " << string << '\n';
19 }
-
StringType string_t
a type for a string
Definition: json.hpp:356
-
a class to store JSON values
Definition: json.hpp:136
+
StringType string_t
a type for a string
Definition: json.hpp:387
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
-
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:3938
+
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:3934
Output (play with this example online):
value = ["the good","the fast","the ugly"]
 string = the bad
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/swap__string_t.cpp -o swap__string_t 
@@ -294,7 +294,7 @@ string = the bad diff --git a/classnlohmann_1_1basic__json_a5a2d4dbcdbc8ea065b87daf52cd786b9.html b/classnlohmann_1_1basic__json_a5a2d4dbcdbc8ea065b87daf52cd786b9.html index ccd522aef..4b0323788 100644 --- a/classnlohmann_1_1basic__json_a5a2d4dbcdbc8ea065b87daf52cd786b9.html +++ b/classnlohmann_1_1basic__json_a5a2d4dbcdbc8ea065b87daf52cd786b9.html @@ -248,7 +248,7 @@ template<template< typename U, typename V, typename...Args > class Obje
Complexity
Constant.
Requirements
This function satisfies the Container requirements:
  • The complexity is constant.
  • -
  • As postcondition, it holds: basic_json().empty() == true.
  • +
  • As postcondition, it holds: basic_json().empty() == true.
Example
The following code shows the constructor for a null JSON value.
1 #include <json.hpp>
@@ -263,11 +263,11 @@ template<template< typename U, typename V, typename...Args > class Obje
10  // serialize the JSON null value
11  std::cout << j << '\n';
12 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
Output (play with this example online):
null
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json.cpp -o basic_json 
-
See also
basic_json(std::nullptr_t)
+
See also
basic_json(std::nullptr_t)
@@ -277,7 +277,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 2610f9586..e5c1f0b15 100644 --- a/classnlohmann_1_1basic__json_a5c8bb5200f5eac10d31e26be46e5b1ac.html +++ b/classnlohmann_1_1basic__json_a5c8bb5200f5eac10d31e26be46e5b1ac.html @@ -288,7 +288,7 @@ template<template< typename U, typename V, typename...Args > class Obje
21  std::cout << number_1 << " == " << number_2 << " " << (number_1 > number_2) << '\n';
22  std::cout << string_1 << " == " << string_2 << " " << (string_1 > string_2) << '\n';
23 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
Output (play with this example online):
[1,2,3] == [1,2,4] false
 {"A":"a","B":"b"} == {"A":"a","B":"b"} false
@@ -304,7 +304,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 50628dc1f..6742301fd 100644
--- a/classnlohmann_1_1basic__json_a5e34c5435e557d0bf666bd7311211405.html
+++ b/classnlohmann_1_1basic__json_a5e34c5435e557d0bf666bd7311211405.html
@@ -283,7 +283,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
16  std::cout << std::setw(4) << j_object << "\n\n";
17  std::cout << std::setw(2) << j_array << "\n\n";
18 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
Output (play with this example online):
{"one":1,"two":2}
 
@@ -312,7 +312,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 30de6ec56..4c7011898 100644
--- a/classnlohmann_1_1basic__json_a5f0aad50ed7e8aec3128fe018c18b3fe.html
+++ b/classnlohmann_1_1basic__json_a5f0aad50ed7e8aec3128fe018c18b3fe.html
@@ -310,9 +310,9 @@ template<typename ValueType , typename std::enable_if< not std::is_pointer
 
47  std::cout << i.first << ": " << i.second << '\n';
48  }
49 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
-
ValueType get() const
get a value (explicit)
Definition: json.hpp:2261
+
ValueType get() const
get a value (explicit)
Definition: json.hpp:2285
Output (play with this example online):
1
 42 42
 17.23 17
@@ -337,7 +337,7 @@ array: [1,2,3,4,5]
 
 
 
diff --git a/classnlohmann_1_1basic__json_a5fd8b54389698edf0c08e2dd001f610b.html b/classnlohmann_1_1basic__json_a5fd8b54389698edf0c08e2dd001f610b.html
index 0604f1b5a..575f7b5e8 100644
--- a/classnlohmann_1_1basic__json_a5fd8b54389698edf0c08e2dd001f610b.html
+++ b/classnlohmann_1_1basic__json_a5fd8b54389698edf0c08e2dd001f610b.html
@@ -242,7 +242,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 0223f38e2..b6fad5399 100644
--- a/classnlohmann_1_1basic__json_a60ca396028b8d9714c6e10efbf475af6.html
+++ b/classnlohmann_1_1basic__json_a60ca396028b8d9714c6e10efbf475af6.html
@@ -293,7 +293,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
21  // serialize JSON
22  std::cout << std::setw(2) << j << '\n';
23 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
Output (play with this example online):
{
   "array": [
@@ -309,7 +309,7 @@ template<template< typename U, typename V, typename...Args > class Obje
   "string": "Hello, world!"
 }
 
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
+
See also
parse(std::istream&, parser_callback_t) for a variant with a parser callback function to filter values while parsing
@@ -319,7 +319,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 386f01fb2..77d6b6479 100644 --- a/classnlohmann_1_1basic__json_a62136b62f0ec60c0f2b5a3ce9aaa19b4.html +++ b/classnlohmann_1_1basic__json_a62136b62f0ec60c0f2b5a3ce9aaa19b4.html @@ -272,8 +272,8 @@ template<template< typename U, typename V, typename...Args > class Obje
23  std::cout << j_array.is_boolean() << '\n';
24  std::cout << j_string.is_boolean() << '\n';
25 }
-
a class to store JSON values
Definition: json.hpp:136
-
bool is_boolean() const noexcept
return whether value is a boolean
Definition: json.hpp:1800
+
a class to store JSON values
Definition: json.hpp:159
+
bool is_boolean() const noexcept
return whether value is a boolean
Definition: json.hpp:1824
namespace for Niels Lohmann
Definition: json.hpp:55
Output (play with this example online):
false
 true
@@ -292,7 +292,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_a63691315292df8e1522b00d37ebb1ffc.html b/classnlohmann_1_1basic__json_a63691315292df8e1522b00d37ebb1ffc.html
index bde61e93e..9d5d9f779 100644
--- a/classnlohmann_1_1basic__json_a63691315292df8e1522b00d37ebb1ffc.html
+++ b/classnlohmann_1_1basic__json_a63691315292df8e1522b00d37ebb1ffc.html
@@ -259,8 +259,8 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 

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

Storage

-

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

-
See also
array_t
+

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

+
See also
array_t
@@ -270,7 +270,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 cbce23ddd..d7a404b54 100644 --- a/classnlohmann_1_1basic__json_a652414dd930cb3af3b6f454cc535a23e.html +++ b/classnlohmann_1_1basic__json_a652414dd930cb3af3b6f454cc535a23e.html @@ -256,7 +256,7 @@ template<template< typename U, typename V, typename...Args > class Obje
Exceptions
- +
std::domain_errorif JSON is not an object
std::out_of_rangeif the key key is is not stored in the object; that is, find(key) == end()
std::out_of_rangeif the key key is is not stored in the object; that is, find(key) == end()
@@ -294,8 +294,8 @@ template<template< typename U, typename V, typename...Args > class Obje
31  std::cout << "out of range" << '\n';
32  }
33 }
-
a class to store JSON values
Definition: json.hpp:136
-
reference at(size_type idx)
access specified array element with bounds checking
Definition: json.hpp:2426
+
a class to store JSON values
Definition: json.hpp:159
+
reference at(size_type idx)
access specified array element with bounds checking
Definition: json.hpp:2450
namespace for Niels Lohmann
Definition: json.hpp:55
Output (play with this example online):
"il brutto"
 {"the bad":"il cattivo","the good":"il buono","the ugly":"il brutto"}
@@ -310,7 +310,7 @@ out of range
 
 
 
diff --git a/classnlohmann_1_1basic__json_a656939a3dc9a6047e4afacd9e11b83a6.html b/classnlohmann_1_1basic__json_a656939a3dc9a6047e4afacd9e11b83a6.html
index 1e4e4bfa9..6a0187e08 100644
--- a/classnlohmann_1_1basic__json_a656939a3dc9a6047e4afacd9e11b83a6.html
+++ b/classnlohmann_1_1basic__json_a656939a3dc9a6047e4afacd9e11b83a6.html
@@ -276,11 +276,11 @@ template<typename PointerType , typename std::enable_if< std::is_pointer&l
 
18  std::cout << *p1 << ' ' << *p2 << ' ' << *p3 << ' ' << *p4 << '\n';
19  std::cout << std::boolalpha << (p5 == nullptr) << '\n';
20 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
-
PointerType get_ptr() noexcept
get a pointer value (implicit)
Definition: json.hpp:2342
-
NumberIntegerType number_integer_t
a type for a number (integer)
Definition: json.hpp:444
-
NumberFloatType number_float_t
a type for a number (floating-point)
Definition: json.hpp:504
+
PointerType get_ptr() noexcept
get a pointer value (implicit)
Definition: json.hpp:2366
+
NumberIntegerType number_integer_t
a type for a number (integer)
Definition: json.hpp:475
+
NumberFloatType number_float_t
a type for a number (floating-point)
Definition: json.hpp:535
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 
@@ -293,7 +293,7 @@ true diff --git a/classnlohmann_1_1basic__json_a6944904b3b59769b1cf62ac2532cbe33.html b/classnlohmann_1_1basic__json_a6944904b3b59769b1cf62ac2532cbe33.html index ad5ec707b..2ed14569f 100644 --- a/classnlohmann_1_1basic__json_a6944904b3b59769b1cf62ac2532cbe33.html +++ b/classnlohmann_1_1basic__json_a6944904b3b59769b1cf62ac2532cbe33.html @@ -256,7 +256,7 @@ template<template< typename U, typename V, typename...Args > class Obje

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

Storage

-

Integer number values are stored directly inside a basic_json type.

+

Integer number values are stored directly inside a basic_json type.

@@ -266,7 +266,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 e5dde8bcd..15526c3fc 100644 --- a/classnlohmann_1_1basic__json_a6a67c72ba65322bfcb28d170617dcdff.html +++ b/classnlohmann_1_1basic__json_a6a67c72ba65322bfcb28d170617dcdff.html @@ -283,9 +283,9 @@ template<template< typename U, typename V, typename...Args > class Obje
22  std::cout << array << '\n';
23  std::cout << null << '\n';
24 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
-
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3629
+
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3627
Output (play with this example online):
[1,2,3,4,5]
 null
 [1,2,3,4,5,6,7]
@@ -300,7 +300,7 @@ null
 
 
 
diff --git a/classnlohmann_1_1basic__json_a6a7f45095675ac6fd1d018a0e41874be.html b/classnlohmann_1_1basic__json_a6a7f45095675ac6fd1d018a0e41874be.html
index cfea4c3bd..a9d1b05de 100644
--- a/classnlohmann_1_1basic__json_a6a7f45095675ac6fd1d018a0e41874be.html
+++ b/classnlohmann_1_1basic__json_a6a7f45095675ac6fd1d018a0e41874be.html
@@ -258,7 +258,7 @@ template<class InputIT , typename std::enable_if< std::is_same< InputIT
 
 

Constructs the JSON value with the contents of the range [first, last). The semantics depends on the different types a JSON value can have:

    -
  • In case of primitive types (number, boolean, or string), first must be begin() and last must be end(). In this case, the value is copied. Otherwise, std::out_of_range is thrown.
  • +
  • In case of primitive types (number, boolean, or string), first must be begin() and last must be end(). In this case, the value is copied. Otherwise, std::out_of_range is thrown.
  • In case of structured types (array, object), the constructor behaves as similar versions for std::vector.
  • In case of a null type, std::domain_error is thrown.
@@ -306,10 +306,10 @@ template<class InputIT , typename std::enable_if< std::is_same< InputIT
19  std::cout << j_number_range << '\n';
20  std::cout << j_object_range << '\n';
21 }
-
a class to store JSON values
Definition: json.hpp:136
-
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3204
-
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3144
-
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:3066
+
a class to store JSON values
Definition: json.hpp:159
+
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3221
+
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3166
+
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:3090
namespace for Niels Lohmann
Definition: json.hpp:55
Output (play with this example online):
["bravo","charly"]
 42
@@ -324,7 +324,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 1e0123679..8af373d45 100644
--- a/classnlohmann_1_1basic__json_a6bbd3e72a870f1ba81ff6886b063b0fe.html
+++ b/classnlohmann_1_1basic__json_a6bbd3e72a870f1ba81ff6886b063b0fe.html
@@ -242,7 +242,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 c1bb03b34..516302718 100644
--- a/classnlohmann_1_1basic__json_a6dff6a02a2be250b8f8dc2f47be65544.html
+++ b/classnlohmann_1_1basic__json_a6dff6a02a2be250b8f8dc2f47be65544.html
@@ -255,7 +255,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
Exceptions
- +
std::domain_errorwhen called on a type other than JSON array
std::out_of_rangewhen idx >= size()
std::out_of_rangewhen idx >= size()
@@ -275,9 +275,9 @@ template<template< typename U, typename V, typename...Args > class Obje
13  // print values
14  std::cout << j_array << '\n';
15 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
-
InteratorType erase(InteratorType pos)
remove element given an iterator
Definition: json.hpp:2845
+
InteratorType erase(InteratorType pos)
remove element given an iterator
Definition: json.hpp:2869
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 
@@ -289,7 +289,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 d47649052..0af1a131d 100644 --- a/classnlohmann_1_1basic__json_a6e2e21da48f5d9471716cd868a068327.html +++ b/classnlohmann_1_1basic__json_a6e2e21da48f5d9471716cd868a068327.html @@ -288,7 +288,7 @@ template<template< typename U, typename V, typename...Args > class Obje
21  std::cout << number_1 << " == " << number_2 << " " << (number_1 != number_2) << '\n';
22  std::cout << string_1 << " == " << string_2 << " " << (string_1 != string_2) << '\n';
23 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
Output (play with this example online):
[1,2,3] == [1,2,4] true
 {"A":"a","B":"b"} == {"A":"a","B":"b"} false
@@ -304,7 +304,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a71eba33d906745e66f340952b79fbce3.html b/classnlohmann_1_1basic__json_a71eba33d906745e66f340952b79fbce3.html
index cb6ae481b..4752fddb4 100644
--- a/classnlohmann_1_1basic__json_a71eba33d906745e66f340952b79fbce3.html
+++ b/classnlohmann_1_1basic__json_a71eba33d906745e66f340952b79fbce3.html
@@ -242,7 +242,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 40ccafa71..c58e037b6 100644
--- a/classnlohmann_1_1basic__json_a72ba20783ecb3eec98bd6a3b870d565c.html
+++ b/classnlohmann_1_1basic__json_a72ba20783ecb3eec98bd6a3b870d565c.html
@@ -253,7 +253,7 @@ Illustration from cppreference.com
 
Complexity
Constant.
Requirements
This function satisfies the Container requirements:
  • The complexity is constant.
  • -
  • Has the semantics of const_cast<const basic_json&>(*this).end().
  • +
  • Has the semantics of const_cast<const basic_json&>(*this).end().
Example
The following code shows an example for cend.
1 #include <json.hpp>
@@ -274,10 +274,10 @@ Illustration from cppreference.com
16  // serialize the element that the iterator points to
17  std::cout << *it << '\n';
18 }
-
a class to store JSON values
Definition: json.hpp:136
-
const_iterator cend() const
returns a const iterator to one past the last element
Definition: json.hpp:3239
+
a class to store JSON values
Definition: json.hpp:159
+
const_iterator cend() const
returns a const iterator to one past the last element
Definition: json.hpp:3253
namespace for Niels Lohmann
Definition: json.hpp:55
-
a const random access iterator for the basic_json class
Definition: json.hpp:4877
+
a const random access iterator for the basic_json class
Definition: json.hpp:4870
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 
@@ -289,7 +289,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a749e58042d8069f4f048ee4d23c43f63.html b/classnlohmann_1_1basic__json_a749e58042d8069f4f048ee4d23c43f63.html index e0df3a495..739177d47 100644 --- a/classnlohmann_1_1basic__json_a749e58042d8069f4f048ee4d23c43f63.html +++ b/classnlohmann_1_1basic__json_a749e58042d8069f4f048ee4d23c43f63.html @@ -283,9 +283,9 @@ template<template< typename U, typename V, typename...Args > class Obje
22  std::cout << array << '\n';
23  std::cout << null << '\n';
24 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
-
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3629
+
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3627
Output (play with this example online):
[1,2,3,4,5]
 null
 [1,2,3,4,5,6,7]
@@ -300,7 +300,7 @@ null
 
 
 
diff --git a/classnlohmann_1_1basic__json_a74a943800c7f103d0990d7eef82c6453.html b/classnlohmann_1_1basic__json_a74a943800c7f103d0990d7eef82c6453.html
index 8de512a64..c7c94e9e6 100644
--- a/classnlohmann_1_1basic__json_a74a943800c7f103d0990d7eef82c6453.html
+++ b/classnlohmann_1_1basic__json_a74a943800c7f103d0990d7eef82c6453.html
@@ -288,7 +288,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
21  std::cout << number_1 << " >= " << number_2 << " " << (number_1 >= number_2) << '\n';
22  std::cout << string_1 << " >= " << string_2 << " " << (string_1 >= string_2) << '\n';
23 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
Output (play with this example online):
[1,2,3] >= [1,2,4] false
 {"A":"a","B":"b"} >= {"A":"a","B":"b"} true
@@ -304,7 +304,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 ec993f65a..3f5a7849a 100644
--- a/classnlohmann_1_1basic__json_a74ccfa471a0c061876b247f820f3c741.html
+++ b/classnlohmann_1_1basic__json_a74ccfa471a0c061876b247f820f3c741.html
@@ -319,14 +319,14 @@ template<template< typename U, typename V, typename...Args > class Obje
 
53  json j_filtered = json::parse(ss, cb);
54  std::cout << std::setw(4) << j_filtered << '\n';
55 }
-
basic_json<> json
default JSON class
Definition: json.hpp:7037
-
a class to store JSON values
Definition: json.hpp:136
-
std::function< bool(int depth, parse_event_t event, basic_json &parsed)> parser_callback_t
per-element parser callback type
Definition: json.hpp:718
+
basic_json<> json
default JSON class
Definition: json.hpp:6665
+
a class to store JSON values
Definition: json.hpp:159
+
std::function< bool(int depth, parse_event_t event, basic_json &parsed)> parser_callback_t
per-element parser callback type
Definition: json.hpp:749
namespace for Niels Lohmann
Definition: json.hpp:55
-
void clear() noexcept
clears the contents
Definition: json.hpp:3564
+
void clear() noexcept
clears the contents
Definition: json.hpp:3562
the parser read a key of a value in an object
-
static basic_json parse(const string_t &s, parser_callback_t cb=nullptr)
deserialize from string
Definition: json.hpp:4436
-
parse_event_t
JSON callback events.
Definition: json.hpp:654
+
static basic_json parse(const string_t &s, parser_callback_t cb=nullptr)
deserialize from string
Definition: json.hpp:4422
+
parse_event_t
JSON callback events.
Definition: json.hpp:685
Output (play with this example online):
{
     "Image": {
         "Animated": false,
@@ -362,7 +362,7 @@ template<template< typename U, typename V, typename...Args > class Obje
     }
 }
 
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
+
See also
parse(const string_t&, parser_callback_t) for a version that reads from a string
@@ -372,7 +372,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 c19713c8e..1e7e66864 100644 --- a/classnlohmann_1_1basic__json_a75a1754e0d39f33095d3102a8bdb9881.html +++ b/classnlohmann_1_1basic__json_a75a1754e0d39f33095d3102a8bdb9881.html @@ -247,7 +247,7 @@ template<class InteratorType , typename std::enable_if< std::is_same< I
-

Removes the element specified by iterator pos. Invalidates iterators and references at or after the point of the erase, including the end() iterator. The iterator pos must be valid and dereferenceable. Thus the end() iterator (which is valid, but is not dereferencable) cannot be used as a value for pos.

+

Removes the element specified by iterator pos. Invalidates iterators and references at or after the point of the erase, including the end() iterator. The iterator pos must be valid and dereferenceable. Thus the end() iterator (which is valid, but is not dereferencable) cannot be used as a value for pos.

If called on a primitive type other than null, the resulting JSON value will be null.

Parameters
@@ -255,7 +255,7 @@ template<class InteratorType , typename std::enable_if< std::is_same< I
-
Returns
Iterator following the last removed element. If the iterator pos refers to the last element, the end() iterator is returned.
+
Returns
Iterator following the last removed element. If the iterator pos refers to the last element, the end() iterator is returned.
Template Parameters
@@ -266,7 +266,7 @@ template<class InteratorType , typename std::enable_if< std::is_same< I
InteratorTypean iterator or const_iterator
- +
std::domain_errorif called on a null value
std::domain_errorif called on an iterator which does not belong to the current JSON value
std::out_of_rangeif called on a primitive type with invalid iterator (i.e., any iterator which is not end())
std::out_of_rangeif called on a primitive type with invalid iterator (i.e., any iterator which is not end())
@@ -307,11 +307,11 @@ template<class InteratorType , typename std::enable_if< std::is_same< I
28  std::cout << j_array << '\n';
29  std::cout << j_string << '\n';
30 }
-
a class to store JSON values
Definition: json.hpp:136
-
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3144
-
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:3066
+
a class to store JSON values
Definition: json.hpp:159
+
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3166
+
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:3090
namespace for Niels Lohmann
Definition: json.hpp:55
-
InteratorType erase(InteratorType pos)
remove element given an iterator
Definition: json.hpp:2845
+
InteratorType erase(InteratorType pos)
remove element given an iterator
Definition: json.hpp:2869
Output (play with this example online):
null
 null
 null
@@ -328,7 +328,7 @@ null
 
 
 
diff --git a/classnlohmann_1_1basic__json_a793e5c1da2fc7de7a04b19eadbb3f2cb.html b/classnlohmann_1_1basic__json_a793e5c1da2fc7de7a04b19eadbb3f2cb.html
index 0405ab49e..6ef4764a6 100644
--- a/classnlohmann_1_1basic__json_a793e5c1da2fc7de7a04b19eadbb3f2cb.html
+++ b/classnlohmann_1_1basic__json_a793e5c1da2fc7de7a04b19eadbb3f2cb.html
@@ -299,7 +299,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
22  std::cout << j_array << '\n';
23  std::cout << j_string << '\n';
24 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
object (unordered set of name/value pairs)
namespace for Niels Lohmann
Definition: json.hpp:55
@@ -325,7 +325,7 @@ false diff --git a/classnlohmann_1_1basic__json_a7c08f966200af98db0313a3b517ce0a9.html b/classnlohmann_1_1basic__json_a7c08f966200af98db0313a3b517ce0a9.html index 9caff76a6..d6e974462 100644 --- a/classnlohmann_1_1basic__json_a7c08f966200af98db0313a3b517ce0a9.html +++ b/classnlohmann_1_1basic__json_a7c08f966200af98db0313a3b517ce0a9.html @@ -273,10 +273,10 @@ Illustration from cppreference.com
16  // serialize the element that the iterator points to
17  std::cout << *it << '\n';
18 }
-
a class to store JSON values
Definition: json.hpp:136
-
reverse_iterator rend()
returns an iterator to the reverse-end
Definition: json.hpp:3295
+
a class to store JSON values
Definition: json.hpp:159
+
reverse_iterator rend()
returns an iterator to the reverse-end
Definition: json.hpp:3304
namespace for Niels Lohmann
Definition: json.hpp:55
-
a template for a reverse iterator class
Definition: json.hpp:176
+
a template for a reverse iterator class
Definition: json.hpp:204
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 
@@ -288,7 +288,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a7c19a5c3be6cc755377ee41eade78baf.html b/classnlohmann_1_1basic__json_a7c19a5c3be6cc755377ee41eade78baf.html index 16f6ac2be..bb1cb0c21 100644 --- a/classnlohmann_1_1basic__json_a7c19a5c3be6cc755377ee41eade78baf.html +++ b/classnlohmann_1_1basic__json_a7c19a5c3be6cc755377ee41eade78baf.html @@ -245,14 +245,14 @@ template<template< typename U, typename V, typename...Args > class Obje
-

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

+

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

Parameters
[in]keykey value of the element to search for
-
Returns
Iterator to an element with key equivalent to key. If no such element is found, past-the-end (see end()) iterator is returned.
+
Returns
Iterator to an element with key equivalent to key. If no such element is found, past-the-end (see end()) iterator is returned.
Complexity
Logarithmic in the size of the JSON object.
Example
The example shows how find is used.
1 #include <json.hpp>
2 
@@ -273,9 +273,9 @@ template<template< typename U, typename V, typename...Args > class Obje
17  std::cout << "value at key \"two\": " << *it_two << '\n';
18  std::cout << "\"three\" was found: " << (it_three != j_object.end()) << '\n';
19 }
-
a class to store JSON values
Definition: json.hpp:136
-
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3204
-
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:3066
+
a class to store JSON values
Definition: json.hpp:159
+
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3221
+
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:3090
namespace for Niels Lohmann
Definition: json.hpp:55
Output (play with this example online):
"two" was found: true
 value at key "two": 2
@@ -290,7 +290,7 @@ value at key "two": 2
 
diff --git a/classnlohmann_1_1basic__json_a7d0db3b728d820d4984df78d97d2b104.html b/classnlohmann_1_1basic__json_a7d0db3b728d820d4984df78d97d2b104.html index 916af72de..c0c0a9c5b 100644 --- a/classnlohmann_1_1basic__json_a7d0db3b728d820d4984df78d97d2b104.html +++ b/classnlohmann_1_1basic__json_a7d0db3b728d820d4984df78d97d2b104.html @@ -242,7 +242,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 e46a65f53..a5a5e9884 100644 --- a/classnlohmann_1_1basic__json_a7d1b990f2c12fecb57db1504fdadd0bb.html +++ b/classnlohmann_1_1basic__json_a7d1b990f2c12fecb57db1504fdadd0bb.html @@ -277,9 +277,9 @@ template<template< typename U, typename V, typename...Args > class Obje
15  std::cout << j_object << '\n';
16  std::cout << count_one << " " << count_three << '\n';
17 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
-
InteratorType erase(InteratorType pos)
remove element given an iterator
Definition: json.hpp:2845
+
InteratorType erase(InteratorType pos)
remove element given an iterator
Definition: json.hpp:2869
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 
@@ -292,7 +292,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 2bf847b9d..937f24549 100644 --- a/classnlohmann_1_1basic__json_a7dab69b10b98e7bc694339720e37fb2b.html +++ b/classnlohmann_1_1basic__json_a7dab69b10b98e7bc694339720e37fb2b.html @@ -245,14 +245,14 @@ template<template< typename U, typename V, typename...Args > class Obje
-

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

+

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

Parameters
[in]keykey value of the element to search for
-
Returns
Iterator to an element with key equivalent to key. If no such element is found, past-the-end (see end()) iterator is returned.
+
Returns
Iterator to an element with key equivalent to key. If no such element is found, past-the-end (see end()) iterator is returned.
Complexity
Logarithmic in the size of the JSON object.
Example
The example shows how find is used.
1 #include <json.hpp>
2 
@@ -273,9 +273,9 @@ template<template< typename U, typename V, typename...Args > class Obje
17  std::cout << "value at key \"two\": " << *it_two << '\n';
18  std::cout << "\"three\" was found: " << (it_three != j_object.end()) << '\n';
19 }
-
a class to store JSON values
Definition: json.hpp:136
-
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3204
-
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:3066
+
a class to store JSON values
Definition: json.hpp:159
+
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3221
+
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:3090
namespace for Niels Lohmann
Definition: json.hpp:55
Output (play with this example online):
"two" was found: true
 value at key "two": 2
@@ -290,7 +290,7 @@ value at key "two": 2
 
diff --git a/classnlohmann_1_1basic__json_a7f97a91ad8f1d5cf0b9213bd24f247c4.html b/classnlohmann_1_1basic__json_a7f97a91ad8f1d5cf0b9213bd24f247c4.html index 9de994997..1fa58719b 100644 --- a/classnlohmann_1_1basic__json_a7f97a91ad8f1d5cf0b9213bd24f247c4.html +++ b/classnlohmann_1_1basic__json_a7f97a91ad8f1d5cf0b9213bd24f247c4.html @@ -286,7 +286,7 @@ template<template< typename U, typename V, typename...Args > class Obje
19  std::cout << string << " != nullptr " << (string != nullptr) << '\n';
20  std::cout << null << " != nullptr " << (null != nullptr) << '\n';
21 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55

Output (play with this example online):

[1,2,3] != nullptr true
 {"A":"a","B":"b"} != nullptr true
@@ -302,7 +302,7 @@ null != nullptr false
 
 
 
diff --git a/classnlohmann_1_1basic__json_a80a89ddbe4cb7ef15b049febee208cc8.html b/classnlohmann_1_1basic__json_a80a89ddbe4cb7ef15b049febee208cc8.html
index 4cab69c72..6a8b96597 100644
--- a/classnlohmann_1_1basic__json_a80a89ddbe4cb7ef15b049febee208cc8.html
+++ b/classnlohmann_1_1basic__json_a80a89ddbe4cb7ef15b049febee208cc8.html
@@ -278,9 +278,9 @@ In case the parameter value is not a number, a JSON null value is creat
 
19  std::cout << j_nan << '\n';
20  std::cout << j_infinity << '\n';
21 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
-
NumberFloatType number_float_t
a type for a number (floating-point)
Definition: json.hpp:504
+
NumberFloatType number_float_t
a type for a number (floating-point)
Definition: json.hpp:535
Output (play with this example online):
3.14159265358979
 null
 null
@@ -294,7 +294,7 @@ null
 
 
 
diff --git a/classnlohmann_1_1basic__json_a80ceaa3bdd346292273b309e08525c1c.html b/classnlohmann_1_1basic__json_a80ceaa3bdd346292273b309e08525c1c.html
index c39b4c4b6..1edd86bb6 100644
--- a/classnlohmann_1_1basic__json_a80ceaa3bdd346292273b309e08525c1c.html
+++ b/classnlohmann_1_1basic__json_a80ceaa3bdd346292273b309e08525c1c.html
@@ -242,7 +242,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 1e6d0b51f..932813c57 100644
--- a/classnlohmann_1_1basic__json_a83cbbfbf5d3ecbad6de8ece0be6b36c4.html
+++ b/classnlohmann_1_1basic__json_a83cbbfbf5d3ecbad6de8ece0be6b36c4.html
@@ -244,7 +244,7 @@ template<template< typename U, typename V, typename...Args > class Obje
   
 
 
-

Returns a reference to the first element in the container. For a JSON container c, the expression c.front() is equivalent to *c.begin().

+

Returns a reference to the first element in the container. For a JSON container c, the expression c.front() is equivalent to *c.begin().

Returns
In case of a structured type (array or object), a reference to the first element is returned. In cast of number, string, or boolean values, a reference to the value is returned.
Complexity
Constant.
Note
Calling front on an empty container is undefined.
@@ -282,8 +282,8 @@ template<template< typename U, typename V, typename...Args > class Obje
26  //std::cout << j_array_empty.front() << '\n'; // would throw
27  std::cout << j_string.front() << '\n';
28 }
-
reference front()
access the first element
Definition: json.hpp:2757
-
a class to store JSON values
Definition: json.hpp:136
+
reference front()
access the first element
Definition: json.hpp:2781
+
a class to store JSON values
Definition: json.hpp:159
object (unordered set of name/value pairs)
namespace for Niels Lohmann
Definition: json.hpp:55
array (ordered collection of values)
@@ -303,7 +303,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 4e92efa47..31a44bcc4 100644 --- a/classnlohmann_1_1basic__json_a87db51b6b936fb2ea293cdbc8702dcb8.html +++ b/classnlohmann_1_1basic__json_a87db51b6b936fb2ea293cdbc8702dcb8.html @@ -288,7 +288,7 @@ template<template< typename U, typename V, typename...Args > class Obje
21  std::cout << number_1 << " <= " << number_2 << " " << (number_1 <= number_2) << '\n';
22  std::cout << string_1 << " <= " << string_2 << " " << (string_1 <= string_2) << '\n';
23 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
Output (play with this example online):
[1,2,3] <= [1,2,4] true
 {"A":"a","B":"b"} <= {"A":"a","B":"b"} true
@@ -304,7 +304,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 1833a7b9f..4560d46a4 100644
--- a/classnlohmann_1_1basic__json_a8b526709d395142b68d21abfbfff17c3.html
+++ b/classnlohmann_1_1basic__json_a8b526709d395142b68d21abfbfff17c3.html
@@ -244,7 +244,7 @@ template<template< typename U, typename V, typename...Args > class Obje
   
 
 
-

Returns a reference to the first element in the container. For a JSON container c, the expression c.front() is equivalent to *c.begin().

+

Returns a reference to the first element in the container. For a JSON container c, the expression c.front() is equivalent to *c.begin().

Returns
In case of a structured type (array or object), a reference to the first element is returned. In cast of number, string, or boolean values, a reference to the value is returned.
Complexity
Constant.
Note
Calling front on an empty container is undefined.
@@ -282,8 +282,8 @@ template<template< typename U, typename V, typename...Args > class Obje
26  //std::cout << j_array_empty.front() << '\n'; // would throw
27  std::cout << j_string.front() << '\n';
28 }
-
reference front()
access the first element
Definition: json.hpp:2757
-
a class to store JSON values
Definition: json.hpp:136
+
reference front()
access the first element
Definition: json.hpp:2781
+
a class to store JSON values
Definition: json.hpp:159
object (unordered set of name/value pairs)
namespace for Niels Lohmann
Definition: json.hpp:55
array (ordered collection of values)
@@ -303,7 +303,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 b99bd0b94..02803ca52 100644 --- a/classnlohmann_1_1basic__json_a8c40cd9ead4de7c82f28268bdf0ec98a.html +++ b/classnlohmann_1_1basic__json_a8c40cd9ead4de7c82f28268bdf0ec98a.html @@ -296,9 +296,9 @@ template<template< typename U, typename V, typename...Args > class Obje
31  std::cout << j_array << '\n';
32  std::cout << j_string << '\n';
33 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
-
void clear() noexcept
clears the contents
Definition: json.hpp:3564
+
void clear() noexcept
clears the contents
Definition: json.hpp:3562
Output (play with this example online):
null
 false
 0
@@ -316,7 +316,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_a8e34088252a3ee6b2377f3a1f26dd1ba.html b/classnlohmann_1_1basic__json_a8e34088252a3ee6b2377f3a1f26dd1ba.html
index 44853d4fa..a3f76c90d 100644
--- a/classnlohmann_1_1basic__json_a8e34088252a3ee6b2377f3a1f26dd1ba.html
+++ b/classnlohmann_1_1basic__json_a8e34088252a3ee6b2377f3a1f26dd1ba.html
@@ -275,7 +275,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
13  // output element with key "two"
14  std::cout << object["two"] << '\n';
15 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
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 
@@ -288,7 +288,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a8fa74698f4061e18ec664009f3af1ddf.html b/classnlohmann_1_1basic__json_a8fa74698f4061e18ec664009f3af1ddf.html index 5f9eb878b..215d1d419 100644 --- a/classnlohmann_1_1basic__json_a8fa74698f4061e18ec664009f3af1ddf.html +++ b/classnlohmann_1_1basic__json_a8fa74698f4061e18ec664009f3af1ddf.html @@ -264,7 +264,7 @@ template<template< typename U, typename V, typename...Args > class Obje

Inserts elements from range [first, last) before iterator pos.

Parameters
- +
[in]positerator before which the content will be inserted; may be the end() iterator
[in]positerator before which the content will be inserted; may be the end() iterator
[in]firstbegin of the range of elements to insert
[in]lastend of the range of elements to insert
@@ -300,11 +300,11 @@ template<template< typename U, typename V, typename...Args > class Obje
17  std::cout << *new_pos << '\n';
18  std::cout << v << '\n';
19 }
-
a class to store JSON values
Definition: json.hpp:136
-
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3204
-
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3144
+
a class to store JSON values
Definition: json.hpp:159
+
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3221
+
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3166
namespace for Niels Lohmann
Definition: json.hpp:55
-
iterator insert(const_iterator pos, const basic_json &value)
inserts element
Definition: json.hpp:3758
+
iterator insert(const_iterator pos, const basic_json &value)
inserts element
Definition: json.hpp:3756
Output (play with this example online):
"one"
 [1,2,3,4,"one","two","three","four"]
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/insert__range.cpp -o insert__range 
@@ -317,7 +317,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 92e345410..8088ee60b 100644 --- a/classnlohmann_1_1basic__json_a930e14150ffa067bcf56d35cb00271e1.html +++ b/classnlohmann_1_1basic__json_a930e14150ffa067bcf56d35cb00271e1.html @@ -259,11 +259,11 @@ template<template< typename U, typename V, typename...Args > class Obje
10  // serialize the JSON null value
11  std::cout << j << '\n';
12 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
Output (play with this example online):
null
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__nullptr_t.cpp -o basic_json__nullptr_t 
-
See also
basic_json()
+
See also
basic_json()
@@ -273,7 +273,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 71fceba35..95e7402ba 100644 --- a/classnlohmann_1_1basic__json_a951a76ba057b3be948e7ba5c2c01cd5a.html +++ b/classnlohmann_1_1basic__json_a951a76ba057b3be948e7ba5c2c01cd5a.html @@ -308,14 +308,14 @@ template<class CompatibleObjectType , typename std::enable_if< std::is_con
39  std::cout << j_mmap << '\n';
40  std::cout << j_ummap << '\n';
41 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
Output (play with this example online):
{"one":1,"three":3,"two":2}
 {"one":1.2,"three":3.4,"two":2.3}
 {"one":true,"three":false,"two":true}
 {"one":true,"three":false,"two":true}
 
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__CompatibleObjectType.cpp -o basic_json__CompatibleObjectType 
-
See also
basic_json(const object_t&)
+
See also
basic_json(const object_t&)
@@ -325,7 +325,7 @@ template<class CompatibleObjectType , typename std::enable_if< std::is_con diff --git a/classnlohmann_1_1basic__json_a9730b9f7bc2150e641fe20198d4477c7.html b/classnlohmann_1_1basic__json_a9730b9f7bc2150e641fe20198d4477c7.html index 78aec6416..98409a766 100644 --- a/classnlohmann_1_1basic__json_a9730b9f7bc2150e641fe20198d4477c7.html +++ b/classnlohmann_1_1basic__json_a9730b9f7bc2150e641fe20198d4477c7.html @@ -286,7 +286,7 @@ template<template< typename U, typename V, typename...Args > class Obje
19  std::cout << string << " == nullptr " << (string == nullptr) << '\n';
20  std::cout << null << " == nullptr " << (null == nullptr) << '\n';
21 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55

Output (play with this example online):

[1,2,3] == nullptr false
 {"A":"a","B":"b"} == nullptr false
@@ -302,7 +302,7 @@ null == nullptr true
 
 
 
diff --git a/classnlohmann_1_1basic__json_a98e05a2c9b8f74bd60442772cddeee52.html b/classnlohmann_1_1basic__json_a98e05a2c9b8f74bd60442772cddeee52.html
index 39d0babd4..213c77b1b 100644
--- a/classnlohmann_1_1basic__json_a98e05a2c9b8f74bd60442772cddeee52.html
+++ b/classnlohmann_1_1basic__json_a98e05a2c9b8f74bd60442772cddeee52.html
@@ -286,7 +286,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
19  std::cout << string << " == nullptr " << (string == nullptr) << '\n';
20  std::cout << null << " == nullptr " << (null == nullptr) << '\n';
21 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55

Output (play with this example online):

[1,2,3] == nullptr false
 {"A":"a","B":"b"} == nullptr false
@@ -302,7 +302,7 @@ null == nullptr true
 
 
 
diff --git a/classnlohmann_1_1basic__json_a9d508dc7eb7023cd17b3c6958ea7c4ee.html b/classnlohmann_1_1basic__json_a9d508dc7eb7023cd17b3c6958ea7c4ee.html
index d9c856e03..bcb33ba51 100644
--- a/classnlohmann_1_1basic__json_a9d508dc7eb7023cd17b3c6958ea7c4ee.html
+++ b/classnlohmann_1_1basic__json_a9d508dc7eb7023cd17b3c6958ea7c4ee.html
@@ -272,8 +272,8 @@ template<template< typename U, typename V, typename...Args > class Obje
 
23  std::cout << j_array.is_structured() << '\n';
24  std::cout << j_string.is_structured() << '\n';
25 }
-
a class to store JSON values
Definition: json.hpp:136
-
bool is_structured() const noexcept
return whether type is structured
Definition: json.hpp:1766
+
a class to store JSON values
Definition: json.hpp:159
+
bool is_structured() const noexcept
return whether type is structured
Definition: json.hpp:1790
namespace for Niels Lohmann
Definition: json.hpp:55
Output (play with this example online):
false
 false
@@ -292,7 +292,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_a9daafb4c15ed5a008cb825bbd8c29d87.html b/classnlohmann_1_1basic__json_a9daafb4c15ed5a008cb825bbd8c29d87.html
index 77f190e9a..f7fdf5d97 100644
--- a/classnlohmann_1_1basic__json_a9daafb4c15ed5a008cb825bbd8c29d87.html
+++ b/classnlohmann_1_1basic__json_a9daafb4c15ed5a008cb825bbd8c29d87.html
@@ -278,7 +278,7 @@ template<typename T , std::size_t n> 
 
13  // output element with key "two"
14  std::cout << object["two"] << '\n';
15 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
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 
@@ -291,7 +291,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 884e56e90..fe14bcff9 100644 --- a/classnlohmann_1_1basic__json_aa1f3b3f1dca79392d6727b81f9668c6c.html +++ b/classnlohmann_1_1basic__json_aa1f3b3f1dca79392d6727b81f9668c6c.html @@ -282,11 +282,11 @@ template<template< typename U, typename V, typename...Args > class Obje
26  //std::cout << j_array_empty.back() << '\n'; // would throw
27  std::cout << j_string.back() << '\n';
28 }
-
a class to store JSON values
Definition: json.hpp:136
+
a class to store JSON values
Definition: json.hpp:159
object (unordered set of name/value pairs)
namespace for Niels Lohmann
Definition: json.hpp:55
array (ordered collection of values)
-
reference back()
access the last element
Definition: json.hpp:2789
+
reference back()
access the last element
Definition: json.hpp:2813
Output (play with this example online):
true
 17
 23.42
@@ -303,7 +303,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 4ed90803e..26ded818b 100644
--- a/classnlohmann_1_1basic__json_aa5413178b8041f7ac685dec4b040dd2c.html
+++ b/classnlohmann_1_1basic__json_aa5413178b8041f7ac685dec4b040dd2c.html
@@ -253,7 +253,7 @@ Illustration from cppreference.com
 
Complexity
Constant.
Requirements
This function satisfies the Container requirements:
  • The complexity is constant.
  • -
  • Has the semantics of const_cast<const basic_json&>(*this).end().
  • +
  • Has the semantics of const_cast<const basic_json&>(*this).end().
Example
The following code shows an example for cend.
1 #include <json.hpp>
@@ -274,10 +274,10 @@ Illustration from cppreference.com
16  // serialize the element that the iterator points to
17  std::cout << *it << '\n';
18 }
-
a class to store JSON values
Definition: json.hpp:136
-
const_iterator cend() const
returns a const iterator to one past the last element
Definition: json.hpp:3239
+
a class to store JSON values
Definition: json.hpp:159
+
const_iterator cend() const
returns a const iterator to one past the last element
Definition: json.hpp:3253
namespace for Niels Lohmann
Definition: json.hpp:55
-
a const random access iterator for the basic_json class
Definition: json.hpp:4877
+
a const random access iterator for the basic_json class
Definition: json.hpp:4870
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 
@@ -289,7 +289,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_aa5a06ef7009d3a8c72cc173f1f5da760.html b/classnlohmann_1_1basic__json_aa5a06ef7009d3a8c72cc173f1f5da760.html index 91e924df1..873c0a6a5 100644 --- a/classnlohmann_1_1basic__json_aa5a06ef7009d3a8c72cc173f1f5da760.html +++ b/classnlohmann_1_1basic__json_aa5a06ef7009d3a8c72cc173f1f5da760.html @@ -272,8 +272,8 @@ template<template< typename U, typename V, typename...Args > class Obje
23  std::cout << j_array.is_number_integer() << '\n';
24  std::cout << j_string.is_number_integer() << '\n';
25 }
-
a class to store JSON values
Definition: json.hpp:136
-
bool is_number_integer() const noexcept
return whether value is an integer number
Definition: json.hpp:1836
+
a class to store JSON values
Definition: json.hpp:159
+
bool is_number_integer() const noexcept
return whether value is an integer number
Definition: json.hpp:1860
namespace for Niels Lohmann
Definition: json.hpp:55
Output (play with this example online):
false
 false
@@ -292,7 +292,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_aa6a24b176f9599a21d662cc5f8e1ca76.html b/classnlohmann_1_1basic__json_aa6a24b176f9599a21d662cc5f8e1ca76.html
index b68848d9f..9b283d60e 100644
--- a/classnlohmann_1_1basic__json_aa6a24b176f9599a21d662cc5f8e1ca76.html
+++ b/classnlohmann_1_1basic__json_aa6a24b176f9599a21d662cc5f8e1ca76.html
@@ -260,7 +260,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 cea847202..cf028535b 100644
--- a/classnlohmann_1_1basic__json_aa71e977d31f470689883ac60d16ea4ac.html
+++ b/classnlohmann_1_1basic__json_aa71e977d31f470689883ac60d16ea4ac.html
@@ -278,10 +278,10 @@ template<template< typename U, typename V, typename...Args > class Obje
 
17  std::cout << "value = " << value << '\n';
18  std::cout << "array = " << array << '\n';
19 }
-
ArrayType< basic_json, AllocatorType< basic_json >> array_t
a type for an array
Definition: json.hpp:312
-
a class to store JSON values
Definition: json.hpp:136
+
ArrayType< basic_json, AllocatorType< basic_json >> array_t
a type for an array
Definition: json.hpp:343
+
a class to store JSON values
Definition: json.hpp:159
namespace for Niels Lohmann
Definition: json.hpp:55
-
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:3938
+
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:3934
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 
@@ -294,7 +294,7 @@ array = [1,2,3,4] diff --git a/classnlohmann_1_1basic__json_aa8e533b4290ade5bf5a33104a69b202a.html b/classnlohmann_1_1basic__json_aa8e533b4290ade5bf5a33104a69b202a.html index 1b2428846..a927eed45 100644 --- a/classnlohmann_1_1basic__json_aa8e533b4290ade5bf5a33104a69b202a.html +++ b/classnlohmann_1_1basic__json_aa8e533b4290ade5bf5a33104a69b202a.html @@ -239,17 +239,17 @@ template<template< typename U, typename V, typename...Args > class Obje parameter event description parameter depth parameter parsed -parse_event_t::object_start the parser read { and started to process a JSON object depth of the parent of the JSON object a JSON value with type discarded +parse_event_t::object_start the parser read { and started to process a JSON object depth of the parent of the JSON object a JSON value with type discarded -parse_event_t::key the parser read a key of a value in an object depth of the currently parsed JSON object a JSON string containing the key +parse_event_t::key the parser read a key of a value in an object depth of the currently parsed JSON object a JSON string containing the key -parse_event_t::object_end the parser read } and finished processing a JSON object depth of the parent of the JSON object the parsed JSON object +parse_event_t::object_end the parser read } and finished processing a JSON object depth of the parent of the JSON object the parsed JSON object -parse_event_t::array_start the parser read [ and started to process a JSON array depth of the parent of the JSON array a JSON value with type discarded +parse_event_t::array_start the parser read [ and started to process a JSON array depth of the parent of the JSON array a JSON value with type discarded -parse_event_t::array_end the parser read ] and finished processing a JSON array depth of the parent of the JSON array the parsed JSON array +parse_event_t::array_end the parser read ] and finished processing a JSON array depth of the parent of the JSON array the parsed JSON array -parse_event_t::value the parser finished reading a JSON value depth of the value the parsed JSON value +parse_event_t::value the parser finished reading a JSON value depth of the value the parsed JSON value

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

    @@ -260,7 +260,7 @@ template<template< typename U, typename V, typename...Args > class Obje - +
    [in]depththe depth of the recursion during parsing
    [in]eventan event of type parse_event_t indicating the context in the callback function has been called
    [in,out]parsedthe current intermediate parse result; note that writing to this value has no effect for parse_event_t::key events
    [in,out]parsedthe current intermediate parse result; note that writing to this value has no effect for parse_event_t::key events
    @@ -275,7 +275,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 f678aeb35..67c9a6d4a 100644 --- a/classnlohmann_1_1basic__json_aac185a137428a7337aa620de07bfbbd7.html +++ b/classnlohmann_1_1basic__json_aac185a137428a7337aa620de07bfbbd7.html @@ -268,7 +268,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 ad175fb92..e7b8c1bee 100644 --- a/classnlohmann_1_1basic__json_aacd442b66140c764c594ac8ad7dfd5b3.html +++ b/classnlohmann_1_1basic__json_aacd442b66140c764c594ac8ad7dfd5b3.html @@ -292,7 +292,7 @@ template<template< typename U, typename V, typename...Args > class Obje
    21  std::cout << number_1 << " == " << number_2 << " " << (number_1 < number_2) << '\n';
    22  std::cout << string_1 << " == " << string_2 << " " << (string_1 < string_2) << '\n';
    23 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    +
    a class to store JSON values
    Definition: json.hpp:159
    namespace for Niels Lohmann
    Definition: json.hpp:55
    Output (play with this example online):
    [1,2,3] == [1,2,4] true
     {"A":"a","B":"b"} == {"A":"a","B":"b"} false
    @@ -308,7 +308,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 366664619..6fc92539b 100644
    --- a/classnlohmann_1_1basic__json_aacf6c869f6a9c66ac1bc99e93f310044.html
    +++ b/classnlohmann_1_1basic__json_aacf6c869f6a9c66ac1bc99e93f310044.html
    @@ -252,7 +252,7 @@ template<template< typename U, typename V, typename...Args > class Obje
     
     

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

    Storage

    -

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

    +

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

    @@ -262,7 +262,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 b688af0e6..80cbe062e 100644 --- a/classnlohmann_1_1basic__json_aaf363408931d76472ded14017e59c9e8.html +++ b/classnlohmann_1_1basic__json_aaf363408931d76472ded14017e59c9e8.html @@ -293,7 +293,7 @@ template<template< typename U, typename V, typename...Args > class Obje
    21  // serialize JSON
    22  std::cout << std::setw(2) << j << '\n';
    23 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    +
    a class to store JSON values
    Definition: json.hpp:159
    namespace for Niels Lohmann
    Definition: json.hpp:55
    Output (play with this example online):
    {
       "array": [
    @@ -309,7 +309,7 @@ template<template< typename U, typename V, typename...Args > class Obje
       "string": "Hello, world!"
     }
     
    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
    +
    See also
    parse(std::istream&, parser_callback_t) for a variant with a parser callback function to filter values while parsing
    @@ -319,7 +319,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 8d8432de1..a6401e690 100644 --- a/classnlohmann_1_1basic__json_aafa839f2a74dc1b5060314b3423143b8.html +++ b/classnlohmann_1_1basic__json_aafa839f2a74dc1b5060314b3423143b8.html @@ -239,7 +239,7 @@ template<template< typename U, typename V, typename...Args > class Obje

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

    bool

    Storage

    -

    Boolean values are stored directly inside a basic_json type.

    +

    Boolean values are stored directly inside a basic_json type.

    @@ -249,7 +249,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_ab14e3503305622fb5ab01a7f490916e8.html b/classnlohmann_1_1basic__json_ab14e3503305622fb5ab01a7f490916e8.html index 791bc75f4..31e8ca55c 100644 --- a/classnlohmann_1_1basic__json_ab14e3503305622fb5ab01a7f490916e8.html +++ b/classnlohmann_1_1basic__json_ab14e3503305622fb5ab01a7f490916e8.html @@ -258,7 +258,7 @@ template<template< typename U, typename V, typename...Args > class Obje

    Inserts elements from initializer list ilist before iterator pos.

    Parameters
    - +
    [in]positerator before which the content will be inserted; may be the end() iterator
    [in]positerator before which the content will be inserted; may be the end() iterator
    [in]ilistinitializer list to insert the values from
    @@ -288,10 +288,10 @@ template<template< typename U, typename V, typename...Args > class Obje
    14  std::cout << *new_pos << '\n';
    15  std::cout << v << '\n';
    16 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    -
    iterator end()
    returns an iterator to one past the last element
    Definition: json.hpp:3204
    +
    a class to store JSON values
    Definition: json.hpp:159
    +
    iterator end()
    returns an iterator to one past the last element
    Definition: json.hpp:3221
    namespace for Niels Lohmann
    Definition: json.hpp:55
    -
    iterator insert(const_iterator pos, const basic_json &value)
    inserts element
    Definition: json.hpp:3758
    +
    iterator insert(const_iterator pos, const basic_json &value)
    inserts element
    Definition: json.hpp:3756
    Output (play with this example online):
    7
     [1,2,3,4,7,8,9]
     
    The example code above can be translated with
    g++ -std=c++11 -Isrc doc/examples/insert__ilist.cpp -o insert__ilist 
    @@ -304,7 +304,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 d5b7d5c3b..b58f2d998 100644 --- a/classnlohmann_1_1basic__json_ab2162bc76e10d8736cab9b2039956054.html +++ b/classnlohmann_1_1basic__json_ab2162bc76e10d8736cab9b2039956054.html @@ -273,9 +273,9 @@ Illustration from cppreference.com
    16  // serialize the element that the iterator points to
    17  std::cout << *it << '\n';
    18 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    -
    a random access iterator for the basic_json class
    Definition: json.hpp:5372
    -
    iterator end()
    returns an iterator to one past the last element
    Definition: json.hpp:3204
    +
    a class to store JSON values
    Definition: json.hpp:159
    +
    a mutable random access iterator for the basic_json class
    Definition: json.hpp:5374
    +
    iterator end()
    returns an iterator to one past the last element
    Definition: json.hpp:3221
    namespace for Niels Lohmann
    Definition: json.hpp:55
    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 
    @@ -288,7 +288,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_ab2fa1c4df15db5de07144b5c15c6f0f6.html b/classnlohmann_1_1basic__json_ab2fa1c4df15db5de07144b5c15c6f0f6.html index a6e25aacf..ed8aee38b 100644 --- a/classnlohmann_1_1basic__json_ab2fa1c4df15db5de07144b5c15c6f0f6.html +++ b/classnlohmann_1_1basic__json_ab2fa1c4df15db5de07144b5c15c6f0f6.html @@ -272,9 +272,9 @@ template<template< typename U, typename V, typename...Args > class Obje
    23  std::cout << j_array.is_primitive() << '\n';
    24  std::cout << j_string.is_primitive() << '\n';
    25 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    +
    a class to store JSON values
    Definition: json.hpp:159
    namespace for Niels Lohmann
    Definition: json.hpp:55
    -
    bool is_primitive() const noexcept
    return whether type is primitive
    Definition: json.hpp:1748
    +
    bool is_primitive() const noexcept
    return whether type is primitive
    Definition: json.hpp:1772
    Output (play with this example online):
    true
     true
     true
    @@ -292,7 +292,7 @@ true
     
     
     
    diff --git a/classnlohmann_1_1basic__json_ab67345ba5c81c903eddd4eb2a24ac658.html b/classnlohmann_1_1basic__json_ab67345ba5c81c903eddd4eb2a24ac658.html
    index df1cf5bc3..e0f3b75ee 100644
    --- a/classnlohmann_1_1basic__json_ab67345ba5c81c903eddd4eb2a24ac658.html
    +++ b/classnlohmann_1_1basic__json_ab67345ba5c81c903eddd4eb2a24ac658.html
    @@ -258,7 +258,7 @@ template<template< typename U, typename V, typename...Args > class Obje
     

    inserts element Inserts element value before iterator pos.

    Parameters
    - +
    [in]positerator before which the content will be inserted; may be the end() iterator
    [in]positerator before which the content will be inserted; may be the end() iterator
    [in]valueelement to insert
    @@ -288,10 +288,10 @@ template<template< typename U, typename V, typename...Args > class Obje
    14  std::cout << *new_pos << '\n';
    15  std::cout << v << '\n';
    16 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    -
    iterator begin()
    returns an iterator to the first element
    Definition: json.hpp:3144
    +
    a class to store JSON values
    Definition: json.hpp:159
    +
    iterator begin()
    returns an iterator to the first element
    Definition: json.hpp:3166
    namespace for Niels Lohmann
    Definition: json.hpp:55
    -
    iterator insert(const_iterator pos, const basic_json &value)
    inserts element
    Definition: json.hpp:3758
    +
    iterator insert(const_iterator pos, const basic_json &value)
    inserts element
    Definition: json.hpp:3756
    Output (play with this example online):
    10
     [1,2,10,3,4]
     
    The example code above can be translated with
    g++ -std=c++11 -Isrc doc/examples/insert.cpp -o insert 
    @@ -304,7 +304,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_ab8682827348d8eb61507bbe8c7829ce8.html b/classnlohmann_1_1basic__json_ab8682827348d8eb61507bbe8c7829ce8.html index 9c3839daf..be70b6620 100644 --- a/classnlohmann_1_1basic__json_ab8682827348d8eb61507bbe8c7829ce8.html +++ b/classnlohmann_1_1basic__json_ab8682827348d8eb61507bbe8c7829ce8.html @@ -272,9 +272,9 @@ template<template< typename U, typename V, typename...Args > class Obje
    23  std::cout << j_array.is_number_float() << '\n';
    24  std::cout << j_string.is_number_float() << '\n';
    25 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    +
    a class to store JSON values
    Definition: json.hpp:159
    namespace for Niels Lohmann
    Definition: json.hpp:55
    -
    bool is_number_float() const noexcept
    return whether value is a floating-point number
    Definition: json.hpp:1854
    +
    bool is_number_float() const noexcept
    return whether value is a floating-point number
    Definition: json.hpp:1878
    Output (play with this example online):
    false
     false
     false
    @@ -292,7 +292,7 @@ false
     
     
     
    diff --git a/classnlohmann_1_1basic__json_ab9da2afc6f77295f25252725fde142a6.html b/classnlohmann_1_1basic__json_ab9da2afc6f77295f25252725fde142a6.html
    index 36f0ec44b..9613f3606 100644
    --- a/classnlohmann_1_1basic__json_ab9da2afc6f77295f25252725fde142a6.html
    +++ b/classnlohmann_1_1basic__json_ab9da2afc6f77295f25252725fde142a6.html
    @@ -282,11 +282,11 @@ template<template< typename U, typename V, typename...Args > class Obje
     
    26  //std::cout << j_array_empty.back() << '\n'; // would throw
    27  std::cout << j_string.back() << '\n';
    28 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    +
    a class to store JSON values
    Definition: json.hpp:159
    object (unordered set of name/value pairs)
    namespace for Niels Lohmann
    Definition: json.hpp:55
    array (ordered collection of values)
    -
    reference back()
    access the last element
    Definition: json.hpp:2789
    +
    reference back()
    access the last element
    Definition: json.hpp:2813
    Output (play with this example online):
    true
     17
     23.42
    @@ -303,7 +303,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 3f7f6ee04..67c7d6000 100644
    --- a/classnlohmann_1_1basic__json_abb086fd840bedb05e0aee67f70eba1a9.html
    +++ b/classnlohmann_1_1basic__json_abb086fd840bedb05e0aee67f70eba1a9.html
    @@ -272,8 +272,8 @@ template<template< typename U, typename V, typename...Args > class Obje
     
    23  std::cout << j_array.is_null() << '\n';
    24  std::cout << j_string.is_null() << '\n';
    25 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    -
    bool is_null() const noexcept
    return whether value is null
    Definition: json.hpp:1783
    +
    a class to store JSON values
    Definition: json.hpp:159
    +
    bool is_null() const noexcept
    return whether value is null
    Definition: json.hpp:1807
    namespace for Niels Lohmann
    Definition: json.hpp:55
    Output (play with this example online):
    true
     false
    @@ -292,7 +292,7 @@ false
     
     
     
    diff --git a/classnlohmann_1_1basic__json_abc2b49c2c44c61a15d4b272a85b41064.html b/classnlohmann_1_1basic__json_abc2b49c2c44c61a15d4b272a85b41064.html
    index 741c9cfbb..7778ba409 100644
    --- a/classnlohmann_1_1basic__json_abc2b49c2c44c61a15d4b272a85b41064.html
    +++ b/classnlohmann_1_1basic__json_abc2b49c2c44c61a15d4b272a85b41064.html
    @@ -272,9 +272,9 @@ template<template< typename U, typename V, typename...Args > class Obje
     
    23  std::cout << j_array.is_string() << '\n';
    24  std::cout << j_string.is_string() << '\n';
    25 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    +
    a class to store JSON values
    Definition: json.hpp:159
    namespace for Niels Lohmann
    Definition: json.hpp:55
    -
    bool is_string() const noexcept
    return whether value is a string
    Definition: json.hpp:1905
    +
    bool is_string() const noexcept
    return whether value is a string
    Definition: json.hpp:1929
    Output (play with this example online):
    false
     false
     false
    @@ -292,7 +292,7 @@ true
     
     
     
    diff --git a/classnlohmann_1_1basic__json_ac4011bd0781e51afe4994d2b09fd27e9.html b/classnlohmann_1_1basic__json_ac4011bd0781e51afe4994d2b09fd27e9.html
    index 192c098e1..7f8db08f7 100644
    --- a/classnlohmann_1_1basic__json_ac4011bd0781e51afe4994d2b09fd27e9.html
    +++ b/classnlohmann_1_1basic__json_ac4011bd0781e51afe4994d2b09fd27e9.html
    @@ -242,7 +242,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 df36a79aa..37a6e2a49 100644
    --- a/classnlohmann_1_1basic__json_ac66fedfefc284420b01124cd24cb06c2.html
    +++ b/classnlohmann_1_1basic__json_ac66fedfefc284420b01124cd24cb06c2.html
    @@ -276,11 +276,11 @@ template<typename PointerType , typename std::enable_if< std::is_pointer&l
     
    18  std::cout << *p1 << ' ' << *p2 << ' ' << *p3 << ' ' << *p4 << '\n';
    19  std::cout << std::boolalpha << (p5 == nullptr) << '\n';
    20 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    +
    a class to store JSON values
    Definition: json.hpp:159
    namespace for Niels Lohmann
    Definition: json.hpp:55
    -
    ValueType get() const
    get a value (explicit)
    Definition: json.hpp:2261
    -
    NumberIntegerType number_integer_t
    a type for a number (integer)
    Definition: json.hpp:444
    -
    NumberFloatType number_float_t
    a type for a number (floating-point)
    Definition: json.hpp:504
    +
    ValueType get() const
    get a value (explicit)
    Definition: json.hpp:2285
    +
    NumberIntegerType number_integer_t
    a type for a number (integer)
    Definition: json.hpp:475
    +
    NumberFloatType number_float_t
    a type for a number (floating-point)
    Definition: json.hpp:535
    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 
    @@ -294,7 +294,7 @@ true diff --git a/classnlohmann_1_1basic__json_ac82abedf356d252e0589850c3d8b35ba.html b/classnlohmann_1_1basic__json_ac82abedf356d252e0589850c3d8b35ba.html index 477676219..bbc907899 100644 --- a/classnlohmann_1_1basic__json_ac82abedf356d252e0589850c3d8b35ba.html +++ b/classnlohmann_1_1basic__json_ac82abedf356d252e0589850c3d8b35ba.html @@ -249,7 +249,7 @@ template<template< typename U, typename V, typename...Args > class Obje

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

    Storage

    -

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

    +

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

    @@ -259,7 +259,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 1a92ed3b8..1eb6b2510 100644 --- a/classnlohmann_1_1basic__json_ac943391891fcde0a71a15ce990e0f7f4.html +++ b/classnlohmann_1_1basic__json_ac943391891fcde0a71a15ce990e0f7f4.html @@ -264,7 +264,27 @@ template<template< typename U, typename V, typename...Args > class Obje -
    Example
    The following code shows an example for the copy constructor.
    Output (play with this example ):
     The example code above can be translated with
    g++ -std=c++11 -Isrc doc/examples/basic_jsonbasic_json_t.cpp -o basic_jsonbasic_json_t 
    +
    Example
    The following code shows an example for the copy constructor.
    1 #include <json.hpp>
    +
    2 
    +
    3 using namespace nlohmann;
    +
    4 
    +
    5 int main()
    +
    6 {
    +
    7  // create a JSON array
    +
    8  json j1 = {"one", "two", 3, 4.5, false};
    +
    9 
    +
    10  // create a copy
    +
    11  json j2(j1);
    +
    12 
    +
    13  // serialize the JSON array
    +
    14  std::cout << j1 << " = " << j2 << '\n';
    +
    15  std::cout << std::boolalpha << (j1 == j2) << '\n';
    +
    16 }
    +
    a class to store JSON values
    Definition: json.hpp:159
    +
    namespace for Niels Lohmann
    Definition: json.hpp:55
    +
    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 
    @@ -274,7 +294,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_acbf7f957ecb6ce19cdc5b40b5d6b6333.html b/classnlohmann_1_1basic__json_acbf7f957ecb6ce19cdc5b40b5d6b6333.html index 7e9c4e969..9ca74bd41 100644 --- a/classnlohmann_1_1basic__json_acbf7f957ecb6ce19cdc5b40b5d6b6333.html +++ b/classnlohmann_1_1basic__json_acbf7f957ecb6ce19cdc5b40b5d6b6333.html @@ -269,11 +269,11 @@ template<template< typename U, typename V, typename...Args > class Obje
    13  // serialize the JSON numbers
    14  std::cout << j << '\n';
    15 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    +
    a class to store JSON values
    Definition: json.hpp:159
    namespace for Niels Lohmann
    Definition: json.hpp:55
    Output (play with this example online):
    17
     
    The example code above can be translated with
    g++ -std=c++11 -Isrc doc/examples/basic_json__const_int.cpp -o basic_json__const_int 
    -
    See also
    basic_json(const number_integer_t)
    +
    See also
    basic_json(const number_integer_t)
    @@ -283,7 +283,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 84e57dc87..fadebeaf5 100644 --- a/classnlohmann_1_1basic__json_acdf4445333649ec94198f09a62144884.html +++ b/classnlohmann_1_1basic__json_acdf4445333649ec94198f09a62144884.html @@ -270,9 +270,9 @@ Illustration from cppreference.com
    13  // serialize the element that the iterator points to
    14  std::cout << *it << '\n';
    15 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    -
    a random access iterator for the basic_json class
    Definition: json.hpp:5372
    -
    iterator begin()
    returns an iterator to the first element
    Definition: json.hpp:3144
    +
    a class to store JSON values
    Definition: json.hpp:159
    +
    a mutable random access iterator for the basic_json class
    Definition: json.hpp:5374
    +
    iterator begin()
    returns an iterator to the first element
    Definition: json.hpp:3166
    namespace for Niels Lohmann
    Definition: json.hpp:55
    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 
    @@ -285,7 +285,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_ace8338e57fdb11e1955c2a0c2d782069.html b/classnlohmann_1_1basic__json_ace8338e57fdb11e1955c2a0c2d782069.html index 27c38cf26..221e83630 100644 --- a/classnlohmann_1_1basic__json_ace8338e57fdb11e1955c2a0c2d782069.html +++ b/classnlohmann_1_1basic__json_ace8338e57fdb11e1955c2a0c2d782069.html @@ -247,7 +247,7 @@ template<template< typename U, typename V, typename...Args > class Obje

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

    Storage

    -

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

    +

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

    @@ -257,7 +257,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_ad1f617d29e8923dd40c89153f792b1bc.html b/classnlohmann_1_1basic__json_ad1f617d29e8923dd40c89153f792b1bc.html index df5192dce..75ed31ad8 100644 --- a/classnlohmann_1_1basic__json_ad1f617d29e8923dd40c89153f792b1bc.html +++ b/classnlohmann_1_1basic__json_ad1f617d29e8923dd40c89153f792b1bc.html @@ -246,7 +246,7 @@ template<template< typename U, typename V, typename...Args > class Obje

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

    -
    Note
    This function is only added for symmetry reasons. In contrast to the related function basic_json array(std::initializer_list<basic_json>), there are no cases which can only be expressed by this function. That is, any initializer list init can also be passed to the initializer list constructor basic_json(std::initializer_list<basic_json>, bool, value_t).
    +
    Note
    This function is only added for symmetry reasons. In contrast to the related function basic_json array(std::initializer_list<basic_json>), there are no cases which can only be expressed by this function. That is, any initializer list init can also be passed to the initializer list constructor basic_json(std::initializer_list<basic_json>, bool, value_t).
    Parameters
    @@ -278,16 +278,16 @@ template<template< typename U, typename V, typename...Args > class Obje
    15  std::cout << j_empty_init_list << '\n';
    16  std::cout << j_list_of_pairs << '\n';
    17 }
    -
    static basic_json object(std::initializer_list< basic_json > init=std::initializer_list< basic_json >())
    explicitly create an object from an initializer list
    Definition: json.hpp:1342
    -
    a class to store JSON values
    Definition: json.hpp:136
    +
    static basic_json object(std::initializer_list< basic_json > init=std::initializer_list< basic_json >())
    explicitly create an object from an initializer list
    Definition: json.hpp:1372
    +
    a class to store JSON values
    Definition: json.hpp:159
    namespace for Niels Lohmann
    Definition: json.hpp:55
    Output (play with this example online):
    {}
     {}
     {"one":1,"two":2}
     
    The example code above can be translated with
    g++ -std=c++11 -Isrc doc/examples/object.cpp -o object 
    -
    See also
    basic_json(std::initializer_list<basic_json>, bool, value_t) - create a JSON value from an initializer list
    +
    See also
    basic_json(std::initializer_list<basic_json>, bool, value_t) - create a JSON value from an initializer list
    -basic_json array(std::initializer_list<basic_json>) - create a JSON array value from an initializer list
    +basic_json array(std::initializer_list<basic_json>) - create a JSON array value from an initializer list
    @@ -297,7 +297,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 a0587a70e..2e69eefb9 100644 --- a/classnlohmann_1_1basic__json_ad1fea64ed433a6f4e7408c8c7bbc4a37.html +++ b/classnlohmann_1_1basic__json_ad1fea64ed433a6f4e7408c8c7bbc4a37.html @@ -273,8 +273,8 @@ template<template< typename U, typename V, typename...Args > class Obje
    23  std::cout << j_array.is_discarded() << '\n';
    24  std::cout << j_string.is_discarded() << '\n';
    25 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    -
    bool is_discarded() const noexcept
    return whether value is discarded
    Definition: json.hpp:1927
    +
    a class to store JSON values
    Definition: json.hpp:159
    +
    bool is_discarded() const noexcept
    return whether value is discarded
    Definition: json.hpp:1951
    namespace for Niels Lohmann
    Definition: json.hpp:55
    Output (play with this example online):
    false
     false
    @@ -293,7 +293,7 @@ false
     
     
     
    diff --git a/classnlohmann_1_1basic__json_ad2c4513cef5d8db760c4b2d871eea42c.html b/classnlohmann_1_1basic__json_ad2c4513cef5d8db760c4b2d871eea42c.html
    index 0d8e4b769..9a710ce54 100644
    --- a/classnlohmann_1_1basic__json_ad2c4513cef5d8db760c4b2d871eea42c.html
    +++ b/classnlohmann_1_1basic__json_ad2c4513cef5d8db760c4b2d871eea42c.html
    @@ -253,7 +253,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 d58ce7e60..5d1b24b89 100644
    --- a/classnlohmann_1_1basic__json_ad497cbc4f80c8d79662ee6e19bf145dd.html
    +++ b/classnlohmann_1_1basic__json_ad497cbc4f80c8d79662ee6e19bf145dd.html
    @@ -257,7 +257,7 @@ template<class InteratorType , typename std::enable_if< std::is_same< I
       
     
    [in]initinitializer list to create an object from (optional)
    -

    Removes the element specified by the range [first; last). Invalidates iterators and references at or after the point of the erase, including the end() iterator. The iterator first does not need to be dereferenceable if first == last: erasing an empty range is a no-op.

    +

    Removes the element specified by the range [first; last). Invalidates iterators and references at or after the point of the erase, including the end() iterator. The iterator first does not need to be dereferenceable if first == last: erasing an empty range is a no-op.

    If called on a primitive type other than null, the resulting JSON value will be null.

    Parameters
    @@ -266,7 +266,7 @@ template<class InteratorType , typename std::enable_if< std::is_same< I
    -
    Returns
    Iterator following the last removed element. If the iterator second refers to the last element, the end() iterator is returned.
    +
    Returns
    Iterator following the last removed element. If the iterator second refers to the last element, the end() iterator is returned.
    Template Parameters
    @@ -277,7 +277,7 @@ template<class InteratorType , typename std::enable_if< std::is_same< I
    InteratorTypean iterator or const_iterator
    - +
    std::domain_errorif called on a null value
    std::domain_errorif called on iterators which does not belong to the current JSON value
    std::out_of_rangeif called on a primitive type with invalid iterators (i.e., if first != begin() and last != end())
    std::out_of_rangeif called on a primitive type with invalid iterators (i.e., if first != begin() and last != end())
    @@ -318,12 +318,12 @@ template<class InteratorType , typename std::enable_if< std::is_same< I
    28  std::cout << j_array << '\n';
    29  std::cout << j_string << '\n';
    30 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    -
    iterator end()
    returns an iterator to one past the last element
    Definition: json.hpp:3204
    -
    iterator begin()
    returns an iterator to the first element
    Definition: json.hpp:3144
    -
    iterator find(typename object_t::key_type key)
    find an element in a JSON object
    Definition: json.hpp:3066
    +
    a class to store JSON values
    Definition: json.hpp:159
    +
    iterator end()
    returns an iterator to one past the last element
    Definition: json.hpp:3221
    +
    iterator begin()
    returns an iterator to the first element
    Definition: json.hpp:3166
    +
    iterator find(typename object_t::key_type key)
    find an element in a JSON object
    Definition: json.hpp:3090
    namespace for Niels Lohmann
    Definition: json.hpp:55
    -
    InteratorType erase(InteratorType pos)
    remove element given an iterator
    Definition: json.hpp:2845
    +
    InteratorType erase(InteratorType pos)
    remove element given an iterator
    Definition: json.hpp:2869
    Output (play with this example online):
    null
     null
     null
    @@ -340,7 +340,7 @@ null
     
     
     
    diff --git a/classnlohmann_1_1basic__json_ad7067a1a8ad2d88125915ada6d4d79b7.html b/classnlohmann_1_1basic__json_ad7067a1a8ad2d88125915ada6d4d79b7.html
    index 838cd97f9..9ab8224c7 100644
    --- a/classnlohmann_1_1basic__json_ad7067a1a8ad2d88125915ada6d4d79b7.html
    +++ b/classnlohmann_1_1basic__json_ad7067a1a8ad2d88125915ada6d4d79b7.html
    @@ -325,7 +325,7 @@ template<class CompatibleArrayType , typename std::enable_if< not std::is_
     
    56  std::cout << j_mset << '\n';
    57  std::cout << j_umset << '\n';
    58 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    +
    a class to store JSON values
    Definition: json.hpp:159
    namespace for Niels Lohmann
    Definition: json.hpp:55
    Output (play with this example online):
    [1,2,3,4]
     [1.2,2.3,3.4,5.6]
    @@ -337,7 +337,7 @@ template<class CompatibleArrayType , typename std::enable_if< not std::is_
     ["four","one","one","two"]
     ["four","two","one","one"]
     
    The example code above can be translated with
    g++ -std=c++11 -Isrc doc/examples/basic_json__CompatibleArrayType.cpp -o basic_json__CompatibleArrayType 
    -
    See also
    basic_json(const array_t&)
    +
    See also
    basic_json(const array_t&)
    @@ -347,7 +347,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 dca5836de..7e823b0ed 100644 --- a/classnlohmann_1_1basic__json_ad81f3cedf09ccd70b2f3239d148c8752.html +++ b/classnlohmann_1_1basic__json_ad81f3cedf09ccd70b2f3239d148c8752.html @@ -272,7 +272,7 @@ template<template< typename U, typename V, typename...Args > class Obje
    23  std::cout << (j_array.type() == json::value_t::array) << '\n';
    24  std::cout << (j_string.type() == json::value_t::string) << '\n';
    25 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    +
    a class to store JSON values
    Definition: json.hpp:159
    object (unordered set of name/value pairs)
    namespace for Niels Lohmann
    Definition: json.hpp:55
    @@ -281,7 +281,7 @@ template<template< typename U, typename V, typename...Args > class Obje
    number value (floating-point)
    -
    value_t type() const noexcept
    return the type of the JSON value (explicit)
    Definition: json.hpp:1729
    +
    value_t type() const noexcept
    return the type of the JSON value (explicit)
    Definition: json.hpp:1753
    Output (play with this example online):
    true
     true
     true
    @@ -299,7 +299,7 @@ true
     
     
     
    diff --git a/classnlohmann_1_1basic__json_ad8e0c5d04f016d1b3ac7369e5c73bedf.html b/classnlohmann_1_1basic__json_ad8e0c5d04f016d1b3ac7369e5c73bedf.html
    index b9845d964..7356e77e3 100644
    --- a/classnlohmann_1_1basic__json_ad8e0c5d04f016d1b3ac7369e5c73bedf.html
    +++ b/classnlohmann_1_1basic__json_ad8e0c5d04f016d1b3ac7369e5c73bedf.html
    @@ -253,7 +253,7 @@ Illustration from cppreference.com
     
    Complexity
    Constant.
    Requirements
    This function satisfies the Container requirements:
    • The complexity is constant.
    • -
    • Has the semantics of const_cast<const basic_json&>(*this).begin().
    • +
    • Has the semantics of const_cast<const basic_json&>(*this).begin().
    Example
    The following code shows an example for cbegin.
    1 #include <json.hpp>
    @@ -271,10 +271,10 @@ Illustration from cppreference.com
    13  // serialize the element that the iterator points to
    14  std::cout << *it << '\n';
    15 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    -
    const_iterator cbegin() const
    returns a const iterator to the first element
    Definition: json.hpp:3179
    +
    a class to store JSON values
    Definition: json.hpp:159
    +
    const_iterator cbegin() const
    returns a const iterator to the first element
    Definition: json.hpp:3198
    namespace for Niels Lohmann
    Definition: json.hpp:55
    -
    a const random access iterator for the basic_json class
    Definition: json.hpp:4877
    +
    a const random access iterator for the basic_json class
    Definition: json.hpp:4870
    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 
    @@ -286,7 +286,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_ada8e01109a60088e4db2a670d4903b54.html b/classnlohmann_1_1basic__json_ada8e01109a60088e4db2a670d4903b54.html index 9369fc3e7..b3f37f4ae 100644 --- a/classnlohmann_1_1basic__json_ada8e01109a60088e4db2a670d4903b54.html +++ b/classnlohmann_1_1basic__json_ada8e01109a60088e4db2a670d4903b54.html @@ -256,7 +256,7 @@ template<template< typename U, typename V, typename...Args > class Obje
    Exceptions
    - +
    std::domain_errorif JSON is not an array
    std::out_of_rangeif the index idx is out of range of the array; that is, idx >= size()
    std::out_of_rangeif the index idx is out of range of the array; that is, idx >= size()
    @@ -289,9 +289,9 @@ template<template< typename U, typename V, typename...Args > class Obje
    26  std::cout << "out of range" << '\n';
    27  }
    28 }
    -
    static basic_json array(std::initializer_list< basic_json > init=std::initializer_list< basic_json >())
    explicitly create an array from an initializer list
    Definition: json.hpp:1304
    -
    a class to store JSON values
    Definition: json.hpp:136
    -
    reference at(size_type idx)
    access specified array element with bounds checking
    Definition: json.hpp:2426
    +
    static basic_json array(std::initializer_list< basic_json > init=std::initializer_list< basic_json >())
    explicitly create an array from an initializer list
    Definition: json.hpp:1334
    +
    a class to store JSON values
    Definition: json.hpp:159
    +
    reference at(size_type idx)
    access specified array element with bounds checking
    Definition: json.hpp:2450
    namespace for Niels Lohmann
    Definition: json.hpp:55
    Output (play with this example online):
    "third"
     ["first","second","third","fourth"]
    @@ -306,7 +306,7 @@ out of range
     
     
     
    diff --git a/classnlohmann_1_1basic__json_adbd4c16c9ac641b2a4736bc2c6787d83.html b/classnlohmann_1_1basic__json_adbd4c16c9ac641b2a4736bc2c6787d83.html
    index cb36fa9fe..524cd18a9 100644
    --- a/classnlohmann_1_1basic__json_adbd4c16c9ac641b2a4736bc2c6787d83.html
    +++ b/classnlohmann_1_1basic__json_adbd4c16c9ac641b2a4736bc2c6787d83.html
    @@ -242,7 +242,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 2f8748717..2b9202e51 100644
    --- a/classnlohmann_1_1basic__json_add77b50f69debb20e98d5a8c6c11c90c.html
    +++ b/classnlohmann_1_1basic__json_add77b50f69debb20e98d5a8c6c11c90c.html
    @@ -255,7 +255,7 @@ template<template< typename U, typename V, typename...Args > class Obje
       
     
     
    -

    Constructs a JSON array value by creating count copies of a passed value. In case count is 0, an empty array is created. As postcondition, std::distance(begin(),end()) == count holds.

    +

    Constructs a JSON array value by creating count copies of a passed value. In case count is 0, an empty array is created. As postcondition, std::distance(begin(),end()) == count holds.

    Parameters
    @@ -281,8 +281,8 @@ template<template< typename U, typename V, typename...Args > class Obje
    15  std::cout << array_1 << '\n';
    16  std::cout << array_5 << '\n';
    17 }
    -
    basic_json<> json
    default JSON class
    Definition: json.hpp:7037
    -
    a class to store JSON values
    Definition: json.hpp:136
    +
    basic_json<> json
    default JSON class
    Definition: json.hpp:6665
    +
    a class to store JSON values
    Definition: json.hpp:159
    namespace for Niels Lohmann
    Definition: json.hpp:55
    Output (play with this example online):
    []
     ["Hello"]
    @@ -297,7 +297,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 3dbf5b7bd..1b375207f 100644
    --- a/classnlohmann_1_1basic__json_ade7bd6e0fe221fec9d3fa9b430f5ce76.html
    +++ b/classnlohmann_1_1basic__json_ade7bd6e0fe221fec9d3fa9b430f5ce76.html
    @@ -274,9 +274,9 @@ template<template< typename U, typename V, typename...Args > class Obje
     
    18  std::cout << j_array.dump(0) << "\n\n";
    19  std::cout << j_array.dump(4) << "\n\n";
    20 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    +
    a class to store JSON values
    Definition: json.hpp:159
    namespace for Niels Lohmann
    Definition: json.hpp:55
    -
    string_t dump(const int indent=-1) const
    serialization
    Definition: json.hpp:1700
    +
    string_t dump(const int indent=-1) const
    serialization
    Definition: json.hpp:1724
    Output (play with this example online):
    {"one":1,"two":2}
     
     {"one":1,"two":2}
    @@ -322,7 +322,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 1384d7137..ec3d5d3fd 100644
    --- a/classnlohmann_1_1basic__json_ae19d3fe7f9ded97236715406e94ab979.html
    +++ b/classnlohmann_1_1basic__json_ae19d3fe7f9ded97236715406e94ab979.html
    @@ -276,11 +276,11 @@ template<typename PointerType , typename std::enable_if< std::is_pointer&l
     
    18  std::cout << *p1 << ' ' << *p2 << ' ' << *p3 << ' ' << *p4 << '\n';
    19  std::cout << std::boolalpha << (p5 == nullptr) << '\n';
    20 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    +
    a class to store JSON values
    Definition: json.hpp:159
    namespace for Niels Lohmann
    Definition: json.hpp:55
    -
    PointerType get_ptr() noexcept
    get a pointer value (implicit)
    Definition: json.hpp:2342
    -
    NumberIntegerType number_integer_t
    a type for a number (integer)
    Definition: json.hpp:444
    -
    NumberFloatType number_float_t
    a type for a number (floating-point)
    Definition: json.hpp:504
    +
    PointerType get_ptr() noexcept
    get a pointer value (implicit)
    Definition: json.hpp:2366
    +
    NumberIntegerType number_integer_t
    a type for a number (integer)
    Definition: json.hpp:475
    +
    NumberFloatType number_float_t
    a type for a number (floating-point)
    Definition: json.hpp:535
    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 
    @@ -293,7 +293,7 @@ true diff --git a/classnlohmann_1_1basic__json_ae2980ed978451f844e6e9a0890b637a6.html b/classnlohmann_1_1basic__json_ae2980ed978451f844e6e9a0890b637a6.html index e664d41fe..774a7e41a 100644 --- a/classnlohmann_1_1basic__json_ae2980ed978451f844e6e9a0890b637a6.html +++ b/classnlohmann_1_1basic__json_ae2980ed978451f844e6e9a0890b637a6.html @@ -267,7 +267,7 @@ template<template< typename U, typename V, typename...Args > class Obje
    12  std::cout << j_truth << '\n';
    13  std::cout << j_falsity << '\n';
    14 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    +
    a class to store JSON values
    Definition: json.hpp:159
    namespace for Niels Lohmann
    Definition: json.hpp:55
    Output (play with this example online):
    true
     false
    @@ -281,7 +281,7 @@ false
     
     
     
    diff --git a/classnlohmann_1_1basic__json_ae347859ec88176ef76a0cbe5b4514fcf.html b/classnlohmann_1_1basic__json_ae347859ec88176ef76a0cbe5b4514fcf.html
    index 5ff9e8085..8007a4560 100644
    --- a/classnlohmann_1_1basic__json_ae347859ec88176ef76a0cbe5b4514fcf.html
    +++ b/classnlohmann_1_1basic__json_ae347859ec88176ef76a0cbe5b4514fcf.html
    @@ -286,7 +286,7 @@ template<template< typename U, typename V, typename...Args > class Obje
     
    19  std::cout << string << " != nullptr " << (string != nullptr) << '\n';
    20  std::cout << null << " != nullptr " << (null != nullptr) << '\n';
    21 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    +
    a class to store JSON values
    Definition: json.hpp:159
    namespace for Niels Lohmann
    Definition: json.hpp:55

    Output (play with this example online):

    [1,2,3] != nullptr true
     {"A":"a","B":"b"} != nullptr true
    @@ -302,7 +302,7 @@ null != nullptr false
     
     
     
    diff --git a/classnlohmann_1_1basic__json_ae42d32c34c8014b1bf677fdb7baa5401.html b/classnlohmann_1_1basic__json_ae42d32c34c8014b1bf677fdb7baa5401.html
    index b4b23d2de..a3fefe625 100644
    --- a/classnlohmann_1_1basic__json_ae42d32c34c8014b1bf677fdb7baa5401.html
    +++ b/classnlohmann_1_1basic__json_ae42d32c34c8014b1bf677fdb7baa5401.html
    @@ -282,11 +282,11 @@ template<class CompatibleStringType , typename std::enable_if< std::is_con
     
    13  // serialize the JSON string
    14  std::cout << j << '\n';
    15 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    +
    a class to store JSON values
    Definition: json.hpp:159
    namespace for Niels Lohmann
    Definition: json.hpp:55
    Output (play with this example online):
    "The quick brown fox jumps over the lazy dog."
     
    The example code above can be translated with
    g++ -std=c++11 -Isrc doc/examples/basic_json__CompatibleStringType.cpp -o basic_json__CompatibleStringType 
    -
    See also
    basic_json(const string_t&)
    +
    See also
    basic_json(const string_t&)
    @@ -296,7 +296,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 b7772545d..c4e394059 100644 --- a/classnlohmann_1_1basic__json_ae50f22a1c646b8627e88f1313cceffd4.html +++ b/classnlohmann_1_1basic__json_ae50f22a1c646b8627e88f1313cceffd4.html @@ -276,11 +276,11 @@ template<typename PointerType , typename std::enable_if< std::is_pointer&l
    18  std::cout << *p1 << ' ' << *p2 << ' ' << *p3 << ' ' << *p4 << '\n';
    19  std::cout << std::boolalpha << (p5 == nullptr) << '\n';
    20 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    +
    a class to store JSON values
    Definition: json.hpp:159
    namespace for Niels Lohmann
    Definition: json.hpp:55
    -
    ValueType get() const
    get a value (explicit)
    Definition: json.hpp:2261
    -
    NumberIntegerType number_integer_t
    a type for a number (integer)
    Definition: json.hpp:444
    -
    NumberFloatType number_float_t
    a type for a number (floating-point)
    Definition: json.hpp:504
    +
    ValueType get() const
    get a value (explicit)
    Definition: json.hpp:2285
    +
    NumberIntegerType number_integer_t
    a type for a number (integer)
    Definition: json.hpp:475
    +
    NumberFloatType number_float_t
    a type for a number (floating-point)
    Definition: json.hpp:535
    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 
    @@ -294,7 +294,7 @@ true diff --git a/classnlohmann_1_1basic__json_ae5ae3b1c6c67f52e9495ac092f6fb43e.html b/classnlohmann_1_1basic__json_ae5ae3b1c6c67f52e9495ac092f6fb43e.html index 01cadaf7f..53e5214c4 100644 --- a/classnlohmann_1_1basic__json_ae5ae3b1c6c67f52e9495ac092f6fb43e.html +++ b/classnlohmann_1_1basic__json_ae5ae3b1c6c67f52e9495ac092f6fb43e.html @@ -258,7 +258,7 @@ template<template< typename U, typename V, typename...Args > class Obje

    Inserts element value before iterator pos.

    Parameters
    [in]countthe number of JSON copies of value to create
    - +
    [in]positerator before which the content will be inserted; may be the end() iterator
    [in]positerator before which the content will be inserted; may be the end() iterator
    [in]valueelement to insert
    @@ -288,10 +288,10 @@ template<template< typename U, typename V, typename...Args > class Obje
    14  std::cout << *new_pos << '\n';
    15  std::cout << v << '\n';
    16 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    -
    iterator begin()
    returns an iterator to the first element
    Definition: json.hpp:3144
    +
    a class to store JSON values
    Definition: json.hpp:159
    +
    iterator begin()
    returns an iterator to the first element
    Definition: json.hpp:3166
    namespace for Niels Lohmann
    Definition: json.hpp:55
    -
    iterator insert(const_iterator pos, const basic_json &value)
    inserts element
    Definition: json.hpp:3758
    +
    iterator insert(const_iterator pos, const basic_json &value)
    inserts element
    Definition: json.hpp:3756
    Output (play with this example online):
    10
     [1,2,10,3,4]
     
    The example code above can be translated with
    g++ -std=c++11 -Isrc doc/examples/insert.cpp -o insert 
    @@ -304,7 +304,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_ae928414b2805cf6ef56b4e4f8d235416.html b/classnlohmann_1_1basic__json_ae928414b2805cf6ef56b4e4f8d235416.html index 428e4341f..b7fc0fcb5 100644 --- a/classnlohmann_1_1basic__json_ae928414b2805cf6ef56b4e4f8d235416.html +++ b/classnlohmann_1_1basic__json_ae928414b2805cf6ef56b4e4f8d235416.html @@ -242,7 +242,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 d7c818f2e..44fd687c3 100644 --- a/classnlohmann_1_1basic__json_ae960d2d6bc7b94fe39cc5e9f106edfa9.html +++ b/classnlohmann_1_1basic__json_ae960d2d6bc7b94fe39cc5e9f106edfa9.html @@ -272,8 +272,8 @@ template<template< typename U, typename V, typename...Args > class Obje
    10  // output element at index 2 (third element)
    11  std::cout << array.at(2) << '\n';
    12 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    -
    reference at(size_type idx)
    access specified array element with bounds checking
    Definition: json.hpp:2426
    +
    a class to store JSON values
    Definition: json.hpp:159
    +
    reference at(size_type idx)
    access specified array element with bounds checking
    Definition: json.hpp:2450
    namespace for Niels Lohmann
    Definition: json.hpp:55
    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 
    @@ -286,7 +286,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 c7ed43d66..9993526f8 100644 --- a/classnlohmann_1_1basic__json_aea1c863b719b4ca5b77188c171bbfafe.html +++ b/classnlohmann_1_1basic__json_aea1c863b719b4ca5b77188c171bbfafe.html @@ -271,7 +271,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 d0519ee64..86874db2f 100644 --- a/classnlohmann_1_1basic__json_aeda4ec7473c17fae51e6d1eba0faf720.html +++ b/classnlohmann_1_1basic__json_aeda4ec7473c17fae51e6d1eba0faf720.html @@ -258,7 +258,7 @@ template<template< typename U, typename V, typename...Args > class Obje -
    Complexity
    Logarithmic in the size of the container, O(log(size())).
    +
    Complexity
    Logarithmic in the size of the container, O(log(size())).
    Example
    The example shows how push_back and += can be used to add elements to a JSON object. Note how the null value was silently converted to a JSON object.
    1 #include <json.hpp>
    2 
    3 using namespace nlohmann;
    @@ -283,9 +283,9 @@ template<template< typename U, typename V, typename...Args > class Obje
    22  std::cout << object << '\n';
    23  std::cout << null << '\n';
    24 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    +
    a class to store JSON values
    Definition: json.hpp:159
    namespace for Niels Lohmann
    Definition: json.hpp:55
    -
    void push_back(basic_json &&value)
    add an object to an array
    Definition: json.hpp:3629
    +
    void push_back(basic_json &&value)
    add an object to an array
    Definition: json.hpp:3627
    Output (play with this example online):
    {"one":1,"two":2}
     null
     {"four":4,"one":1,"three":3,"two":2}
    @@ -300,7 +300,7 @@ null
     
     
     
    diff --git a/classnlohmann_1_1basic__json_af0ebd1757acb971a6504b4acabf88584.html b/classnlohmann_1_1basic__json_af0ebd1757acb971a6504b4acabf88584.html
    index 5a484f225..f16bdfe6b 100644
    --- a/classnlohmann_1_1basic__json_af0ebd1757acb971a6504b4acabf88584.html
    +++ b/classnlohmann_1_1basic__json_af0ebd1757acb971a6504b4acabf88584.html
    @@ -270,10 +270,10 @@ Illustration from cppreference.com
     
    13  // serialize the element that the iterator points to
    14  std::cout << *it << '\n';
    15 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    +
    a class to store JSON values
    Definition: json.hpp:159
    namespace for Niels Lohmann
    Definition: json.hpp:55
    -
    reverse_iterator rbegin()
    returns an iterator to the reverse-beginning
    Definition: json.hpp:3263
    -
    a template for a reverse iterator class
    Definition: json.hpp:176
    +
    reverse_iterator rbegin()
    returns an iterator to the reverse-beginning
    Definition: json.hpp:3275
    +
    a template for a reverse iterator class
    Definition: json.hpp:204
    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 
    @@ -285,7 +285,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_af1e3f9e079136abca2530c8191c56292.html b/classnlohmann_1_1basic__json_af1e3f9e079136abca2530c8191c56292.html index a7c1f7476..c4b766437 100644 --- a/classnlohmann_1_1basic__json_af1e3f9e079136abca2530c8191c56292.html +++ b/classnlohmann_1_1basic__json_af1e3f9e079136abca2530c8191c56292.html @@ -289,7 +289,7 @@ template<template< typename U, typename V, typename...Args > class Obje
    Exceptions
    - +
    std::domain_errorif type_deduction is false, manual_type is value_t::object, but init contains an element which is not a pair whose first element is a string
    std::domain_errorif type_deduction is false, manual_type is value_t::object, but init contains an element which is not a pair whose first element is a string
    @@ -314,8 +314,8 @@ template<template< typename U, typename V, typename...Args > class Obje
    18  std::cout << j_nested_object << '\n';
    19  std::cout << j_nested_array << '\n';
    20 }
    -
    basic_json<> json
    default JSON class
    Definition: json.hpp:7037
    -
    a class to store JSON values
    Definition: json.hpp:136
    +
    basic_json<> json
    default JSON class
    Definition: json.hpp:6665
    +
    a class to store JSON values
    Definition: json.hpp:159
    namespace for Niels Lohmann
    Definition: json.hpp:55
    Output (play with this example online):
    {}
     {"one":1,"two":2}
    @@ -323,9 +323,9 @@ template<template< typename U, typename V, typename...Args > class Obje
     {"one":[1],"two":[1,2]}
     [[[1],"one"],[[1,2],"two"]]
     
    The example code above can be translated with
    g++ -std=c++11 -Isrc doc/examples/basic_json__list_init_t.cpp -o basic_json__list_init_t 
    -
    See also
    basic_json array(std::initializer_list<basic_json>) - create a JSON array value from an initializer list
    +
    See also
    basic_json array(std::initializer_list<basic_json>) - create a JSON array value from an initializer list
    -basic_json object(std::initializer_list<basic_json>) - create a JSON object value from an initializer list
    +basic_json object(std::initializer_list<basic_json>) - create a JSON object value from an initializer list
    @@ -335,7 +335,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_af2730bc8ffa6b28916875c13ee7b83f5.html b/classnlohmann_1_1basic__json_af2730bc8ffa6b28916875c13ee7b83f5.html index bcd4bdf18..a47455c01 100644 --- a/classnlohmann_1_1basic__json_af2730bc8ffa6b28916875c13ee7b83f5.html +++ b/classnlohmann_1_1basic__json_af2730bc8ffa6b28916875c13ee7b83f5.html @@ -311,13 +311,13 @@ template<template< typename U, typename V, typename...Args > class Obje
    45  json j_filtered = json::parse(text, cb);
    46  std::cout << std::setw(4) << j_filtered << '\n';
    47 }
    -
    basic_json<> json
    default JSON class
    Definition: json.hpp:7037
    -
    a class to store JSON values
    Definition: json.hpp:136
    -
    std::function< bool(int depth, parse_event_t event, basic_json &parsed)> parser_callback_t
    per-element parser callback type
    Definition: json.hpp:718
    +
    basic_json<> json
    default JSON class
    Definition: json.hpp:6665
    +
    a class to store JSON values
    Definition: json.hpp:159
    +
    std::function< bool(int depth, parse_event_t event, basic_json &parsed)> parser_callback_t
    per-element parser callback type
    Definition: json.hpp:749
    namespace for Niels Lohmann
    Definition: json.hpp:55
    the parser read a key of a value in an object
    -
    static basic_json parse(const string_t &s, parser_callback_t cb=nullptr)
    deserialize from string
    Definition: json.hpp:4436
    -
    parse_event_t
    JSON callback events.
    Definition: json.hpp:654
    +
    static basic_json parse(const string_t &s, parser_callback_t cb=nullptr)
    deserialize from string
    Definition: json.hpp:4422
    +
    parse_event_t
    JSON callback events.
    Definition: json.hpp:685
    Output (play with this example online):
    {
         "Image": {
             "Animated": false,
    @@ -353,7 +353,7 @@ template<template< typename U, typename V, typename...Args > class Obje
         }
     }
     
    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
    +
    See also
    parse(std::istream&, parser_callback_t) for a version that reads from an input stream
    @@ -363,7 +363,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 d6ef350fe..576b3a31e 100644 --- a/classnlohmann_1_1basic__json_af3abeeb0e9676de8bc2d6aa6f6c0d6c6.html +++ b/classnlohmann_1_1basic__json_af3abeeb0e9676de8bc2d6aa6f6c0d6c6.html @@ -245,7 +245,7 @@ template<template< typename U, typename V, typename...Args > class Obje
    -

    Copy assignment operator. Copies a JSON value via the "copy and swap" strategy: It is expressed in terms of the copy constructor, destructor, and the swap() member function.

    +

    Copy assignment operator. Copies a JSON value via the "copy and swap" strategy: It is expressed in terms of the copy constructor, destructor, and the swap() member function.

    Parameters
    @@ -274,7 +274,7 @@ template<template< typename U, typename V, typename...Args > class Obje
    15  std::cout << a << '\n';
    16  std::cout << b << '\n';
    17 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    +
    a class to store JSON values
    Definition: json.hpp:159
    namespace for Niels Lohmann
    Definition: json.hpp:55
    Output (play with this example online):
    23
     23
    @@ -288,7 +288,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 250ae8397..2ee0a2811 100644
    --- a/classnlohmann_1_1basic__json_af49c37bbda87f36170c67f960db3781a.html
    +++ b/classnlohmann_1_1basic__json_af49c37bbda87f36170c67f960db3781a.html
    @@ -262,10 +262,10 @@ template<template< typename U, typename V, typename...Args > class Obje
     
    [in]othervalue to copy from
    array result of function array_t::size()
    -
    Complexity
    Constant, as long as array_t and object_t satisfy the Container concept; that is, their size() functions have constant complexity.
    +
    Complexity
    Constant, as long as array_t and object_t satisfy the Container concept; that is, their size() functions have constant complexity.
    Requirements
    This function satisfies the Container requirements:
    • The complexity is constant.
    • -
    • Has the semantics of std::distance(begin(), end()).
    • +
    • Has the semantics of std::distance(begin(), end()).
    Example
    The following code calls size on the different value types.
    1 #include <json.hpp>
    @@ -296,7 +296,7 @@ template<template< typename U, typename V, typename...Args > class Obje
    26  std::cout << j_array_empty.size() << '\n';
    27  std::cout << j_string.size() << '\n';
    28 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    +
    a class to store JSON values
    Definition: json.hpp:159
    object (unordered set of name/value pairs)
    namespace for Niels Lohmann
    Definition: json.hpp:55
    array (ordered collection of values)
    @@ -320,7 +320,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 7cf367ba3..e10a6cee9 100644 --- a/classnlohmann_1_1basic__json_af6b6050ccd906dddf7c9f47fe3ad62a5.html +++ b/classnlohmann_1_1basic__json_af6b6050ccd906dddf7c9f47fe3ad62a5.html @@ -256,7 +256,7 @@ template<template< typename U, typename V, typename...Args > class Obje
    Exceptions
    - +
    std::domain_errorif JSON is not an array
    std::out_of_rangeif the index idx is out of range of the array; that is, idx >= size()
    std::out_of_rangeif the index idx is out of range of the array; that is, idx >= size()
    @@ -283,8 +283,8 @@ template<template< typename U, typename V, typename...Args > class Obje
    20  std::cout << "out of range" << '\n';
    21  }
    22 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    -
    reference at(size_type idx)
    access specified array element with bounds checking
    Definition: json.hpp:2426
    +
    a class to store JSON values
    Definition: json.hpp:159
    +
    reference at(size_type idx)
    access specified array element with bounds checking
    Definition: json.hpp:2450
    namespace for Niels Lohmann
    Definition: json.hpp:55
    Output (play with this example online):
    "third"
     out of range
    @@ -298,7 +298,7 @@ out of range
     
     
     
    diff --git a/classnlohmann_1_1basic__json_af70222eb312ca0a44cd7d793b1516e2e.html b/classnlohmann_1_1basic__json_af70222eb312ca0a44cd7d793b1516e2e.html
    index d27153dd6..2c19ffe2b 100644
    --- a/classnlohmann_1_1basic__json_af70222eb312ca0a44cd7d793b1516e2e.html
    +++ b/classnlohmann_1_1basic__json_af70222eb312ca0a44cd7d793b1516e2e.html
    @@ -272,8 +272,8 @@ template<template< typename U, typename V, typename...Args > class Obje
     
    23  std::cout << j_array.is_array() << '\n';
    24  std::cout << j_string.is_array() << '\n';
    25 }
    -
    bool is_array() const noexcept
    return whether value is an array
    Definition: json.hpp:1888
    -
    a class to store JSON values
    Definition: json.hpp:136
    +
    bool is_array() const noexcept
    return whether value is an array
    Definition: json.hpp:1912
    +
    a class to store JSON values
    Definition: json.hpp:159
    namespace for Niels Lohmann
    Definition: json.hpp:55
    Output (play with this example online):
    false
     false
    @@ -292,7 +292,7 @@ false
     
     
     
    diff --git a/classnlohmann_1_1basic__json_af709c079de0ac3507143ea2c60699bd0.html b/classnlohmann_1_1basic__json_af709c079de0ac3507143ea2c60699bd0.html
    index 00969fb8d..8d60b5d38 100644
    --- a/classnlohmann_1_1basic__json_af709c079de0ac3507143ea2c60699bd0.html
    +++ b/classnlohmann_1_1basic__json_af709c079de0ac3507143ea2c60699bd0.html
    @@ -310,7 +310,7 @@ template<typename ValueType , typename std::enable_if< not std::is_pointer
     
    47  std::cout << i.first << ": " << i.second << '\n';
    48  }
    49 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    +
    a class to store JSON values
    Definition: json.hpp:159
    namespace for Niels Lohmann
    Definition: json.hpp:55
    Output (play with this example online):
    1
     42 42
    @@ -333,7 +333,7 @@ array: [1,2,3,4,5]
     
     
     
    diff --git a/classnlohmann_1_1basic__json_af74581d177dafc38df5a126ccd358999.html b/classnlohmann_1_1basic__json_af74581d177dafc38df5a126ccd358999.html
    index 3a8815e98..f179fb919 100644
    --- a/classnlohmann_1_1basic__json_af74581d177dafc38df5a126ccd358999.html
    +++ b/classnlohmann_1_1basic__json_af74581d177dafc38df5a126ccd358999.html
    @@ -291,7 +291,7 @@ template<template< typename U, typename V, typename...Args > class Obje
     
    28  // output changed object
    29  std::cout << std::setw(4) << object << '\n';
    30 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    +
    a class to store JSON values
    Definition: json.hpp:159
    namespace for Niels Lohmann
    Definition: json.hpp:55
    Output (play with this example online):
    2
     
    @@ -322,7 +322,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 47fb735d6..79046ffd6 100644
    --- a/classnlohmann_1_1basic__json_af93e556bf708cb81b22ce223af1aa727.html
    +++ b/classnlohmann_1_1basic__json_af93e556bf708cb81b22ce223af1aa727.html
    @@ -274,12 +274,12 @@ template<template< typename U, typename V, typename...Args > class Obje
     
    13  // serialize the JSON array
    14  std::cout << j << '\n';
    15 }
    -
    ArrayType< basic_json, AllocatorType< basic_json >> array_t
    a type for an array
    Definition: json.hpp:312
    -
    a class to store JSON values
    Definition: json.hpp:136
    +
    ArrayType< basic_json, AllocatorType< basic_json >> array_t
    a type for an array
    Definition: json.hpp:343
    +
    a class to store JSON values
    Definition: json.hpp:159
    namespace for Niels Lohmann
    Definition: json.hpp:55
    Output (play with this example online):
    ["one","two",3,4.5,false]
     
    The example code above can be translated with
    g++ -std=c++11 -Isrc doc/examples/basic_json__array_t.cpp -o basic_json__array_t 
    -
    See also
    basic_json(const CompatibleArrayType&)
    +
    See also
    basic_json(const CompatibleArrayType&)
    @@ -289,7 +289,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 b7767c1cb..03edb592a 100644 --- a/classnlohmann_1_1basic__json_afb19d4669daf3c4347763f043471b835.html +++ b/classnlohmann_1_1basic__json_afb19d4669daf3c4347763f043471b835.html @@ -270,9 +270,9 @@ template<template< typename U, typename V, typename...Args > class Obje
    15  std::cout << "j1 = " << j1 << '\n';
    16  std::cout << "j2 = " << j2 << '\n';
    17 }
    -
    a class to store JSON values
    Definition: json.hpp:136
    +
    a class to store JSON values
    Definition: json.hpp:159
    namespace for Niels Lohmann
    Definition: json.hpp:55
    -
    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:3938
    +
    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:3934
    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 
    @@ -285,7 +285,7 @@ j2 = [1,2,3,4,5] diff --git a/classnlohmann_1_1basic__json_afc4223b5ad03b1b76e925374a8fff98e.html b/classnlohmann_1_1basic__json_afc4223b5ad03b1b76e925374a8fff98e.html index af0d2e5ce..64854b00d 100644 --- a/classnlohmann_1_1basic__json_afc4223b5ad03b1b76e925374a8fff98e.html +++ b/classnlohmann_1_1basic__json_afc4223b5ad03b1b76e925374a8fff98e.html @@ -277,17 +277,17 @@ template<template< typename U, typename V, typename...Args > class Obje
    16  std::cout << j_nonempty_init_list << '\n';
    17  std::cout << j_list_of_pairs << '\n';
    18 }
    -
    static basic_json array(std::initializer_list< basic_json > init=std::initializer_list< basic_json >())
    explicitly create an array from an initializer list
    Definition: json.hpp:1304
    -
    a class to store JSON values
    Definition: json.hpp:136
    +
    static basic_json array(std::initializer_list< basic_json > init=std::initializer_list< basic_json >())
    explicitly create an array from an initializer list
    Definition: json.hpp:1334
    +
    a class to store JSON values
    Definition: json.hpp:159
    namespace for Niels Lohmann
    Definition: json.hpp:55
    Output (play with this example online):
    []
     []
     [1,2,3,4]
     [["one",1],["two",2]]
     
    The example code above can be translated with
    g++ -std=c++11 -Isrc doc/examples/array.cpp -o array 
    -
    See also
    basic_json(std::initializer_list<basic_json>, bool, value_t) - create a JSON value from an initializer list
    +
    See also
    basic_json(std::initializer_list<basic_json>, bool, value_t) - create a JSON value from an initializer list
    -basic_json object(std::initializer_list<basic_json>) - create a JSON object value from an initializer list
    +basic_json object(std::initializer_list<basic_json>) - create a JSON object value from an initializer list
    @@ -297,7 +297,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/dir_68267d1309a1af8e8297ef4c3efbcdba.html index da4d46221..3515dd04f 100644 --- a/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ b/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -92,7 +92,7 @@ Files diff --git a/functions.html b/functions.html index ade3cb673..49e5ed045 100644 --- a/functions.html +++ b/functions.html @@ -73,7 +73,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Functions
  • Typedefs
  • Enumerations
  • -
  • Enumerator
  • Related Functions
@@ -135,7 +134,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_b.html b/functions_b.html index 369e52343..a6ae88452 100644 --- a/functions_b.html +++ b/functions_b.html @@ -73,7 +73,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Functions
  • Typedefs
  • Enumerations
  • -
  • Enumerator
  • Related Functions
  • @@ -140,7 +139,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_c.html b/functions_c.html index bcf08390a..6637a38d7 100644 --- a/functions_c.html +++ b/functions_c.html @@ -73,7 +73,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Functions
  • Typedefs
  • Enumerations
  • -
  • Enumerator
  • Related Functions
  • @@ -153,7 +152,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_d.html b/functions_d.html index 127cab8be..7b62b376a 100644 --- a/functions_d.html +++ b/functions_d.html @@ -73,7 +73,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Functions
  • Typedefs
  • Enumerations
  • -
  • Enumerator
  • Related Functions
  • @@ -130,7 +129,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_e.html b/functions_e.html index 5694c86ff..31e3a2726 100644 --- a/functions_e.html +++ b/functions_e.html @@ -73,7 +73,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Functions
  • Typedefs
  • Enumerations
  • -
  • Enumerator
  • Related Functions
  • @@ -132,7 +131,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_enum.html b/functions_enum.html index b9b99e02b..9061d7fb7 100644 --- a/functions_enum.html +++ b/functions_enum.html @@ -73,7 +73,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Functions
  • Typedefs
  • Enumerations
  • -
  • Enumerator
  • Related Functions
  • @@ -104,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_f.html b/functions_f.html index 43b5e23c4..319afe12e 100644 --- a/functions_f.html +++ b/functions_f.html @@ -73,7 +73,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Functions
  • Typedefs
  • Enumerations
  • -
  • Enumerator
  • Related Functions
  • @@ -129,7 +128,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_func.html b/functions_func.html index 5bc034c2b..f244ac2f9 100644 --- a/functions_func.html +++ b/functions_func.html @@ -73,7 +73,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Functions
  • Typedefs
  • Enumerations
  • -
  • Enumerator
  • Related Functions
  • @@ -410,7 +409,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_g.html b/functions_g.html index 0d21793d8..e32c0d374 100644 --- a/functions_g.html +++ b/functions_g.html @@ -73,7 +73,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Functions
  • Typedefs
  • Enumerations
  • -
  • Enumerator
  • Related Functions
  • @@ -132,7 +131,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_i.html b/functions_i.html index e12f1d509..d8f29d0ff 100644 --- a/functions_i.html +++ b/functions_i.html @@ -73,7 +73,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Functions
  • Typedefs
  • Enumerations
  • -
  • Enumerator
  • Related Functions
  • @@ -165,7 +164,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_j.html b/functions_j.html index c8cb052c9..a47688e4d 100644 --- a/functions_j.html +++ b/functions_j.html @@ -73,7 +73,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Functions
  • Typedefs
  • Enumerations
  • -
  • Enumerator
  • Related Functions
  • @@ -126,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_k.html b/functions_k.html index 719f091e4..359901217 100644 --- a/functions_k.html +++ b/functions_k.html @@ -73,7 +73,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Functions
  • Typedefs
  • Enumerations
  • -
  • Enumerator
  • Related Functions
  • @@ -127,7 +126,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_m.html b/functions_m.html index 2292b3caa..da716d2df 100644 --- a/functions_m.html +++ b/functions_m.html @@ -73,7 +73,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Functions
  • Typedefs
  • Enumerations
  • -
  • Enumerator
  • Related Functions
  • @@ -126,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_n.html b/functions_n.html index ec6fcaba6..5b4686dbc 100644 --- a/functions_n.html +++ b/functions_n.html @@ -73,7 +73,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Functions
  • Typedefs
  • Enumerations
  • -
  • Enumerator
  • Related Functions
  • @@ -129,7 +128,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_o.html b/functions_o.html index 2aaba11b4..794ca8f06 100644 --- a/functions_o.html +++ b/functions_o.html @@ -73,7 +73,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Functions
  • Typedefs
  • Enumerations
  • -
  • Enumerator
  • Related Functions
  • @@ -217,7 +216,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_p.html b/functions_p.html index 5bec9a237..307180845 100644 --- a/functions_p.html +++ b/functions_p.html @@ -73,7 +73,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Functions
  • Typedefs
  • Enumerations
  • -
  • Enumerator
  • Related Functions
  • @@ -140,7 +139,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_r.html b/functions_r.html index 8950ef3ac..24124ef41 100644 --- a/functions_r.html +++ b/functions_r.html @@ -73,7 +73,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Functions
  • Typedefs
  • Enumerations
  • -
  • Enumerator
  • Related Functions
  • @@ -138,7 +137,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_rela.html b/functions_rela.html index aa4197b1b..6dba156e9 100644 --- a/functions_rela.html +++ b/functions_rela.html @@ -73,7 +73,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Functions
  • Typedefs
  • Enumerations
  • -
  • Enumerator
  • Related Functions
  • @@ -125,7 +124,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_s.html b/functions_s.html index 65772f392..22df69608 100644 --- a/functions_s.html +++ b/functions_s.html @@ -73,7 +73,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Functions
  • Typedefs
  • Enumerations
  • -
  • Enumerator
  • Related Functions
  • @@ -135,7 +134,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_t.html b/functions_t.html index 6498b7b21..4dbfb8cf5 100644 --- a/functions_t.html +++ b/functions_t.html @@ -73,7 +73,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Functions
  • Typedefs
  • Enumerations
  • -
  • Enumerator
  • Related Functions
  • @@ -126,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_type.html b/functions_type.html index 39a85500b..45c544efa 100644 --- a/functions_type.html +++ b/functions_type.html @@ -73,7 +73,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Functions
  • Typedefs
  • Enumerations
  • -
  • Enumerator
  • Related Functions
  • @@ -163,7 +162,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_v.html b/functions_v.html index bf28016cf..088cb5291 100644 --- a/functions_v.html +++ b/functions_v.html @@ -73,7 +73,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Functions
  • Typedefs
  • Enumerations
  • -
  • Enumerator
  • Related Functions
  • @@ -119,9 +118,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    Here is a list of all class members with links to the classes they belong to:

    - v -

    @@ -126,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/graph_legend.html b/graph_legend.html index ab20157fe..c6c956708 100644 --- a/graph_legend.html +++ b/graph_legend.html @@ -142,7 +142,7 @@ A yellow dashed arrow denotes a relation between a template instance and the tem diff --git a/hierarchy.html b/hierarchy.html index 7fd3bcc2d..2eef4f9bf 100644 --- a/hierarchy.html +++ b/hierarchy.html @@ -90,19 +90,18 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    This inheritance list is sorted roughly, but not completely, alphabetically:
    [detail level 123]
    - - - - - - - + + + + + +
     Cnlohmann::basic_jsonClass to store JSON values
     Cnlohmann::anonymous_namespace{json.hpp}::has_mapped_type< T >Helper to determine whether there's a key_type for T
     Cstd::hash< nlohmann::json >Hash value for JSON objects
     Citerator
     Cnlohmann::basic_json::const_iteratorConst random access iterator for the basic_json class
     Cnlohmann::basic_json::iteratorRandom access iterator for the basic_json class
     Creverse_iterator
     Cnlohmann::basic_json::json_reverse_iterator< Base >Template for a reverse iterator class
     Cstd::hash< nlohmann::json >Hash value for JSON objects
     Citerator
     Cnlohmann::basic_json::const_iteratorConst random access iterator for the basic_json class
     Cnlohmann::basic_json::iteratorMutable random access iterator for the basic_json class
     Creverse_iterator
     Cnlohmann::basic_json::json_reverse_iterator< Base >Template for a reverse iterator class
    diff --git a/index.html b/index.html index 30cbecc92..c20ccb9f0 100644 --- a/index.html +++ b/index.html @@ -87,7 +87,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/namespacemembers.html b/namespacemembers.html index 09e38c120..431f02ef4 100644 --- a/namespacemembers.html +++ b/namespacemembers.html @@ -67,7 +67,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); @@ -88,9 +87,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    Here is a list of all namespace members with links to the namespace documentation for each member:
    diff --git a/namespacemembers_type.html b/namespacemembers_type.html index 60688e7bd..f5177fef1 100644 --- a/namespacemembers_type.html +++ b/namespacemembers_type.html @@ -67,7 +67,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); @@ -95,7 +94,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/namespacenlohmann.html b/namespacenlohmann.html index a29c08d82..842556c14 100644 --- a/namespacenlohmann.html +++ b/namespacenlohmann.html @@ -115,7 +115,7 @@ Typedefs diff --git a/namespacenlohmann_1_1anonymous__namespace_02json_8hpp_03.html b/namespacenlohmann_1_1anonymous__namespace_02json_8hpp_03.html index bca6adfd6..05fadadbb 100644 --- a/namespacenlohmann_1_1anonymous__namespace_02json_8hpp_03.html +++ b/namespacenlohmann_1_1anonymous__namespace_02json_8hpp_03.html @@ -85,8 +85,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    nlohmann::anonymous_namespace{json.hpp} Namespace Reference
    @@ -97,21 +96,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - - + + -

    Classes

    struct  has_mapped_type
     Helper to determine whether there's a key_type for T. More...
    struct  has_mapped_type
     Helper to determine whether there's a key_type for T.
     
    - - - - -

    -Functions

    template<typename T >
    static bool approx (const T a, const T b)
     "equality" comparison for floating point numbers More...
     
    diff --git a/namespacenlohmann_a2bfd99e845a2e5cd90aeaf1b1431f474.html b/namespacenlohmann_a2bfd99e845a2e5cd90aeaf1b1431f474.html index 8f173319a..1f5faf545 100644 --- a/namespacenlohmann_a2bfd99e845a2e5cd90aeaf1b1431f474.html +++ b/namespacenlohmann_a2bfd99e845a2e5cd90aeaf1b1431f474.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/search/all_0.js b/search/all_0.js index fb9b53033..495b6c54e 100644 --- a/search/all_0.js +++ b/search/all_0.js @@ -1,7 +1,6 @@ var searchData= [ ['allocator_5ftype',['allocator_type',['../classnlohmann_1_1basic__json_ae928414b2805cf6ef56b4e4f8d235416.html#ae928414b2805cf6ef56b4e4f8d235416',1,'nlohmann::basic_json']]], - ['approx',['approx',['../namespacenlohmann_1_1anonymous__namespace_02json_8hpp_03_a174856a407e2478a8d172232c13597dd.html#a174856a407e2478a8d172232c13597dd',1,'nlohmann::anonymous_namespace{json.hpp}']]], ['array',['array',['../classnlohmann_1_1basic__json_afc4223b5ad03b1b76e925374a8fff98e.html#afc4223b5ad03b1b76e925374a8fff98e',1,'nlohmann::basic_json::array(std::initializer_list< basic_json > init=std::initializer_list< basic_json >())'],['../classnlohmann_1_1basic__json_a231b02148577b69a154b2ce2c87a5522.html#a231b02148577b69a154b2ce2c87a5522af1f713c9e000f5d3f280adbd124df4f5',1,'nlohmann::basic_json::array()']]], ['array_5fend',['array_end',['../classnlohmann_1_1basic__json_aea1c863b719b4ca5b77188c171bbfafe.html#aea1c863b719b4ca5b77188c171bbfafea49642fb732aa2e112188fba1f9d3ef7f',1,'nlohmann::basic_json']]], ['array_5fstart',['array_start',['../classnlohmann_1_1basic__json_aea1c863b719b4ca5b77188c171bbfafe.html#aea1c863b719b4ca5b77188c171bbfafeaa4388a3d92419edbb1c6efd4d52461f3',1,'nlohmann::basic_json']]], diff --git a/search/all_12.js b/search/all_12.js index 390cca609..14664e47f 100644 --- a/search/all_12.js +++ b/search/all_12.js @@ -1,6 +1,6 @@ var searchData= [ - ['value',['value',['../structnlohmann_1_1anonymous__namespace_02json_8hpp_03_1_1has__mapped__type_af1817f143485abec957f317fff256756.html#af1817f143485abec957f317fff256756ac200aa9e414ceaf8dd26882ae1714752',1,'nlohmann::anonymous_namespace{json.hpp}::has_mapped_type::value()'],['../classnlohmann_1_1basic__json_1_1const__iterator_ab7dacd8e3ee9b3756bfcdb87dd55a515.html#ab7dacd8e3ee9b3756bfcdb87dd55a515',1,'nlohmann::basic_json::const_iterator::value()'],['../classnlohmann_1_1basic__json_1_1iterator_af64127418c567660d92b1afdfe9676db.html#af64127418c567660d92b1afdfe9676db',1,'nlohmann::basic_json::iterator::value()'],['../classnlohmann_1_1basic__json_1_1json__reverse__iterator_a61d31531e0dfc5448e7fa15678b05bbe.html#a61d31531e0dfc5448e7fa15678b05bbe',1,'nlohmann::basic_json::json_reverse_iterator::value()'],['../classnlohmann_1_1basic__json_aea1c863b719b4ca5b77188c171bbfafe.html#aea1c863b719b4ca5b77188c171bbfafea2063c1608d6e0baf80249c42e2be5804',1,'nlohmann::basic_json::value()']]], + ['value',['value',['../classnlohmann_1_1basic__json_1_1const__iterator_ab7dacd8e3ee9b3756bfcdb87dd55a515.html#ab7dacd8e3ee9b3756bfcdb87dd55a515',1,'nlohmann::basic_json::const_iterator::value()'],['../classnlohmann_1_1basic__json_1_1iterator_af64127418c567660d92b1afdfe9676db.html#af64127418c567660d92b1afdfe9676db',1,'nlohmann::basic_json::iterator::value()'],['../classnlohmann_1_1basic__json_1_1json__reverse__iterator_a61d31531e0dfc5448e7fa15678b05bbe.html#a61d31531e0dfc5448e7fa15678b05bbe',1,'nlohmann::basic_json::json_reverse_iterator::value()'],['../classnlohmann_1_1basic__json_aea1c863b719b4ca5b77188c171bbfafe.html#aea1c863b719b4ca5b77188c171bbfafea2063c1608d6e0baf80249c42e2be5804',1,'nlohmann::basic_json::value()']]], ['value_5ft',['value_t',['../classnlohmann_1_1basic__json_a231b02148577b69a154b2ce2c87a5522.html#a231b02148577b69a154b2ce2c87a5522',1,'nlohmann::basic_json']]], ['value_5ftype',['value_type',['../classnlohmann_1_1basic__json_a7d0db3b728d820d4984df78d97d2b104.html#a7d0db3b728d820d4984df78d97d2b104',1,'nlohmann::basic_json::value_type()'],['../classnlohmann_1_1basic__json_1_1const__iterator_a67848d4b7bfa576434ad9807147b5870.html#a67848d4b7bfa576434ad9807147b5870',1,'nlohmann::basic_json::const_iterator::value_type()']]] ]; diff --git a/search/all_7.js b/search/all_7.js index 236a7c74e..263548cba 100644 --- a/search/all_7.js +++ b/search/all_7.js @@ -1,5 +1,4 @@ var searchData= [ - ['has_5fmapped_5ftype',['has_mapped_type',['../structnlohmann_1_1anonymous__namespace_02json_8hpp_03_1_1has__mapped__type.html',1,'nlohmann::anonymous_namespace{json.hpp}']]], ['hash_3c_20nlohmann_3a_3ajson_20_3e',['hash< nlohmann::json >',['../structstd_1_1hash_3_01nlohmann_1_1json_01_4.html',1,'std']]] ]; diff --git a/search/classes_2.js b/search/classes_2.js index 236a7c74e..263548cba 100644 --- a/search/classes_2.js +++ b/search/classes_2.js @@ -1,5 +1,4 @@ var searchData= [ - ['has_5fmapped_5ftype',['has_mapped_type',['../structnlohmann_1_1anonymous__namespace_02json_8hpp_03_1_1has__mapped__type.html',1,'nlohmann::anonymous_namespace{json.hpp}']]], ['hash_3c_20nlohmann_3a_3ajson_20_3e',['hash< nlohmann::json >',['../structstd_1_1hash_3_01nlohmann_1_1json_01_4.html',1,'std']]] ]; diff --git a/search/enumvalues_7.js b/search/enumvalues_7.js index af24b2849..661a14bb4 100644 --- a/search/enumvalues_7.js +++ b/search/enumvalues_7.js @@ -1,4 +1,4 @@ var searchData= [ - ['value',['value',['../structnlohmann_1_1anonymous__namespace_02json_8hpp_03_1_1has__mapped__type_af1817f143485abec957f317fff256756.html#af1817f143485abec957f317fff256756ac200aa9e414ceaf8dd26882ae1714752',1,'nlohmann::anonymous_namespace{json.hpp}::has_mapped_type::value()'],['../classnlohmann_1_1basic__json_aea1c863b719b4ca5b77188c171bbfafe.html#aea1c863b719b4ca5b77188c171bbfafea2063c1608d6e0baf80249c42e2be5804',1,'nlohmann::basic_json::value()']]] + ['value',['value',['../classnlohmann_1_1basic__json_aea1c863b719b4ca5b77188c171bbfafe.html#aea1c863b719b4ca5b77188c171bbfafea2063c1608d6e0baf80249c42e2be5804',1,'nlohmann::basic_json']]] ]; diff --git a/search/functions_0.js b/search/functions_0.js index 95b24b81b..5ba826b83 100644 --- a/search/functions_0.js +++ b/search/functions_0.js @@ -1,6 +1,5 @@ var searchData= [ - ['approx',['approx',['../namespacenlohmann_1_1anonymous__namespace_02json_8hpp_03_a174856a407e2478a8d172232c13597dd.html#a174856a407e2478a8d172232c13597dd',1,'nlohmann::anonymous_namespace{json.hpp}']]], ['array',['array',['../classnlohmann_1_1basic__json_afc4223b5ad03b1b76e925374a8fff98e.html#afc4223b5ad03b1b76e925374a8fff98e',1,'nlohmann::basic_json']]], ['at',['at',['../classnlohmann_1_1basic__json_ada8e01109a60088e4db2a670d4903b54.html#ada8e01109a60088e4db2a670d4903b54',1,'nlohmann::basic_json::at(size_type idx)'],['../classnlohmann_1_1basic__json_af6b6050ccd906dddf7c9f47fe3ad62a5.html#af6b6050ccd906dddf7c9f47fe3ad62a5',1,'nlohmann::basic_json::at(size_type idx) const '],['../classnlohmann_1_1basic__json_a652414dd930cb3af3b6f454cc535a23e.html#a652414dd930cb3af3b6f454cc535a23e',1,'nlohmann::basic_json::at(const typename object_t::key_type &key)'],['../classnlohmann_1_1basic__json_a16a275d0201e9aedc87c933c764b8869.html#a16a275d0201e9aedc87c933c764b8869',1,'nlohmann::basic_json::at(const typename object_t::key_type &key) const ']]] ]; 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 65ce7a803..e8633d873 100644 --- a/structstd_1_1hash_3_01nlohmann_1_1json_01_4-members.html +++ b/structstd_1_1hash_3_01nlohmann_1_1json_01_4-members.html @@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/structstd_1_1hash_3_01nlohmann_1_1json_01_4.html b/structstd_1_1hash_3_01nlohmann_1_1json_01_4.html index 0d9c4ab3a..bb09a0ae9 100644 --- a/structstd_1_1hash_3_01nlohmann_1_1json_01_4.html +++ b/structstd_1_1hash_3_01nlohmann_1_1json_01_4.html @@ -109,7 +109,7 @@ Public Member Functions diff --git a/structstd_1_1hash_3_01nlohmann_1_1json_01_4_afd03f6ad53db22868ca4163a8200b2f9.html b/structstd_1_1hash_3_01nlohmann_1_1json_01_4_afd03f6ad53db22868ca4163a8200b2f9.html index a886d260b..4bdcabbbb 100644 --- a/structstd_1_1hash_3_01nlohmann_1_1json_01_4_afd03f6ad53db22868ca4163a8200b2f9.html +++ b/structstd_1_1hash_3_01nlohmann_1_1json_01_4_afd03f6ad53db22868ca4163a8200b2f9.html @@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');