diff --git a/Nodes.xml b/Nodes.xml index ad288d0e5..437a5a192 100644 --- a/Nodes.xml +++ b/Nodes.xml @@ -1068,6 +1068,16 @@ classnlohmann_1_1basic__json_a42f9133f978dde4cce5851b2c2434a0c.html a42f9133f978dde4cce5851b2c2434a0c + + value + classnlohmann_1_1basic__json_a26b7e4876af25eae5800ce43f93aaef2.html + a26b7e4876af25eae5800ce43f93aaef2 + + + value + classnlohmann_1_1basic__json_a72442ccbb378b4464a24a2da1e784041.html + a72442ccbb378b4464a24a2da1e784041 + operator!= classnlohmann_1_1basic__json_a6e2e21da48f5d9471716cd868a068327.html diff --git a/Tokens.xml b/Tokens.xml index a614d7f19..b5845f5ba 100644 --- a/Tokens.xml +++ b/Tokens.xml @@ -832,6 +832,30 @@ access specified object element json.hpp + + + value + cpp + instm + nlohmann::basic_json + + classnlohmann_1_1basic__json_a26b7e4876af25eae5800ce43f93aaef2.html + a26b7e4876af25eae5800ce43f93aaef2 + access specified object element with default value + json.hpp + + + + value + cpp + instm + nlohmann::basic_json + + classnlohmann_1_1basic__json_a72442ccbb378b4464a24a2da1e784041.html + a72442ccbb378b4464a24a2da1e784041 + access specified object element with default value + json.hpp + front diff --git a/annotated.html b/annotated.html index 607136fef..b2f5245e0 100644 --- a/annotated.html +++ b/annotated.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/classes.html b/classes.html index 0d240b444..129bd507b 100644 --- a/classes.html +++ b/classes.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/classnlohmann_1_1basic__json-members.html b/classnlohmann_1_1basic__json-members.html index 58f59167f..86b95907a 100644 --- a/classnlohmann_1_1basic__json-members.html +++ b/classnlohmann_1_1basic__json-members.html @@ -224,13 +224,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap(object_t &other)nlohmann::basic_jsoninline swap(string_t &other)nlohmann::basic_jsoninline type() const noexceptnlohmann::basic_jsoninline + value(const typename object_t::key_type &key, ValueType default_value) const nlohmann::basic_jsoninline + value(const typename object_t::key_type &key, const char *default_value) const nlohmann::basic_jsoninline value_t enum namenlohmann::basic_json value_type typedefnlohmann::basic_json ~basic_json()nlohmann::basic_jsoninline diff --git a/classnlohmann_1_1basic__json.html b/classnlohmann_1_1basic__json.html index 5cf51ee5c..003431047 100644 --- a/classnlohmann_1_1basic__json.html +++ b/classnlohmann_1_1basic__json.html @@ -202,7 +202,7 @@ Public Types - + @@ -211,55 +211,55 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -275,7 +275,7 @@ Public Member Functions - + @@ -372,6 +372,13 @@ Public Member Functions + + + + + + + @@ -458,31 +465,31 @@ Public Member Functions - + - + - + - + - + - + - + - + - + @@ -491,7 +498,7 @@ Public Member Functions - + @@ -625,7 +632,7 @@ class nlohmann::basic_json diff --git a/classnlohmann_1_1basic__json_1_1const__iterator-members.html b/classnlohmann_1_1basic__json_1_1const__iterator-members.html index 0ec39b935..e211d5904 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');

Public Member Functions

 basic_json (const value_t value)
 basic_json (const value_t value)
 create an empty value with a given type More...
 
 basic_json () noexcept=default
 basic_json (std::nullptr_t) noexcept
 create a null object (explicitly) More...
 
 basic_json (const object_t &value)
 basic_json (const object_t &value)
 create an object (explicit) More...
 
template<class CompatibleObjectType , typename std::enable_if< std::is_constructible< typename object_t::key_type, typename CompatibleObjectType::key_type >::value and std::is_constructible< basic_json, typename CompatibleObjectType::mapped_type >::value, int >::type = 0>
 basic_json (const CompatibleObjectType &value)
 basic_json (const CompatibleObjectType &value)
 create an object (implicit) More...
 
 basic_json (const array_t &value)
 basic_json (const array_t &value)
 create an array (explicit) More...
 
template<class CompatibleArrayType , typename std::enable_if< not std::is_same< CompatibleArrayType, typename basic_json_t::iterator >::value and not std::is_same< CompatibleArrayType, typename basic_json_t::const_iterator >::value and not std::is_same< CompatibleArrayType, typename basic_json_t::reverse_iterator >::value and not std::is_same< CompatibleArrayType, typename basic_json_t::const_reverse_iterator >::value and not std::is_same< CompatibleArrayType, typename array_t::iterator >::value and not std::is_same< CompatibleArrayType, typename array_t::const_iterator >::value and std::is_constructible< basic_json, typename CompatibleArrayType::value_type >::value, int >::type = 0>
 basic_json (const CompatibleArrayType &value)
 basic_json (const CompatibleArrayType &value)
 create an array (implicit) More...
 
 basic_json (const string_t &value)
 basic_json (const string_t &value)
 create a string (explicit) More...
 
 basic_json (const typename string_t::value_type *value)
 basic_json (const typename string_t::value_type *value)
 create a string (explicit) More...
 
template<class CompatibleStringType , typename std::enable_if< std::is_constructible< string_t, CompatibleStringType >::value, int >::type = 0>
 basic_json (const CompatibleStringType &value)
 basic_json (const CompatibleStringType &value)
 create a string (implicit) More...
 
 basic_json (boolean_t value)
 basic_json (boolean_t value)
 create a boolean (explicit) More...
 
template<typename T , typename std::enable_if< not(std::is_same< T, int >::value) and std::is_same< T, number_integer_t >::value , int >::type = 0>
 basic_json (const number_integer_t value)
 basic_json (const number_integer_t value)
 create an integer number (explicit) More...
 
 basic_json (const int value)
 basic_json (const int value)
 create an integer number from an enum type (explicit) More...
 
template<typename CompatibleNumberIntegerType , typename std::enable_if< std::is_constructible< number_integer_t, CompatibleNumberIntegerType >::value and std::numeric_limits< CompatibleNumberIntegerType >::is_integer, CompatibleNumberIntegerType >::type = 0>
 basic_json (const CompatibleNumberIntegerType value) noexcept
 basic_json (const CompatibleNumberIntegerType value) noexcept
 create an integer number (implicit) More...
 
 basic_json (const number_float_t value)
 basic_json (const number_float_t value)
 create a floating-point number (explicit) More...
 
template<typename CompatibleNumberFloatType , typename = typename std::enable_if< std::is_constructible<number_float_t, CompatibleNumberFloatType>::value and std::is_floating_point<CompatibleNumberFloatType>::value>::type>
 basic_json (const CompatibleNumberFloatType value) noexcept
 basic_json (const CompatibleNumberFloatType value) noexcept
 create an floating-point number (implicit) More...
 
 basic_json (std::initializer_list< basic_json > init, bool type_deduction=true, value_t manual_type=value_t::array)
 create a container (array or object) from an initializer list More...
 
 basic_json (size_type count, const basic_json &value)
 basic_json (size_type count, const basic_json &value)
 construct an array with count copies of given value More...
 
template<class InputIT , typename std::enable_if< std::is_same< InputIT, typename basic_json_t::iterator >::value or std::is_same< InputIT, typename basic_json_t::const_iterator >::value , int >::type = 0>
 ~basic_json ()
 destructor More...
 
referenceoperator= (basic_json other) noexcept( std::is_nothrow_move_constructible< value_t >::value and std::is_nothrow_move_assignable< value_t >::value and std::is_nothrow_move_constructible< json_value >::value and std::is_nothrow_move_assignable< json_value >::value )
referenceoperator= (basic_json other) noexcept( std::is_nothrow_move_constructible< value_t >::value and std::is_nothrow_move_assignable< value_t >::value and std::is_nothrow_move_constructible< json_value >::value and std::is_nothrow_move_assignable< json_value >::value )
 copy assignment More...
 
object inspection
reference operator[] (const T(&key)[n])
 access specified object element More...
 
template<class ValueType , typename std::enable_if< std::is_convertible< basic_json_t, ValueType >::value , int >::type = 0>
ValueType value (const typename object_t::key_type &key, ValueType default_value) const
 access specified object element with default value More...
 
string_t value (const typename object_t::key_type &key, const char *default_value) const
 access specified object element with default value More...
 
reference front ()
 access the first element More...
 
void clear () noexcept
 clears the contents More...
 
void push_back (basic_json &&value)
void push_back (basic_json &&value)
 add an object to an array More...
 
reference operator+= (basic_json &&value)
reference operator+= (basic_json &&value)
 add an object to an array More...
 
void push_back (const basic_json &value)
void push_back (const basic_json &value)
 add an object to an array More...
 
reference operator+= (const basic_json &value)
reference operator+= (const basic_json &value)
 add an object to an array More...
 
void push_back (const typename object_t::value_type &value)
void push_back (const typename object_t::value_type &value)
 add an object to an object More...
 
reference operator+= (const typename object_t::value_type &value)
reference operator+= (const typename object_t::value_type &value)
 add an object to an object More...
 
iterator insert (const_iterator pos, const basic_json &value)
iterator insert (const_iterator pos, const basic_json &value)
 inserts element More...
 
iterator insert (const_iterator pos, basic_json &&value)
iterator insert (const_iterator pos, basic_json &&value)
 inserts element More...
 
iterator insert (const_iterator pos, size_type count, const basic_json &value)
iterator insert (const_iterator pos, size_type count, const basic_json &value)
 inserts elements More...
 
iterator insert (const_iterator pos, const_iterator first, const_iterator last)
iterator insert (const_iterator pos, std::initializer_list< basic_json > ilist)
 inserts elements More...
 
void swap (reference other) noexcept( std::is_nothrow_move_constructible< value_t >::value and std::is_nothrow_move_assignable< value_t >::value and std::is_nothrow_move_constructible< json_value >::value and std::is_nothrow_move_assignable< json_value >::value )
void swap (reference other) noexcept( std::is_nothrow_move_constructible< value_t >::value and std::is_nothrow_move_assignable< value_t >::value and std::is_nothrow_move_constructible< json_value >::value and std::is_nothrow_move_assignable< json_value >::value )
 exchanges the values More...
 
void swap (array_t &other)
diff --git a/classnlohmann_1_1basic__json_1_1const__iterator.html b/classnlohmann_1_1basic__json_1_1const__iterator.html index ad1088d6f..3812531e3 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator.html @@ -216,7 +216,7 @@ class nlohmann::basic_json::const_iterator diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a019087161350d393f3e4ac841cdd3dbd.html b/classnlohmann_1_1basic__json_1_1const__iterator_a019087161350d393f3e4ac841cdd3dbd.html index d081f0338..65d278c9e 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 31a7b7e4c..343e67d3b 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 fbbc3b0f7..b5d4f71b5 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a1cba94e5a67ee52bc66b898a4e08359d.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a1cba94e5a67ee52bc66b898a4e08359d.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a211523a57024a43965862b497b89ab91.html b/classnlohmann_1_1basic__json_1_1const__iterator_a211523a57024a43965862b497b89ab91.html index a21277244..8a49c22ca 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a211523a57024a43965862b497b89ab91.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a211523a57024a43965862b497b89ab91.html @@ -151,7 +151,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a301749e9779adafd395369ac36df93df.html b/classnlohmann_1_1basic__json_1_1const__iterator_a301749e9779adafd395369ac36df93df.html index d032247b8..5ca494abe 100644 --- a/classnlohmann_1_1basic__json_1_1const__iterator_a301749e9779adafd395369ac36df93df.html +++ b/classnlohmann_1_1basic__json_1_1const__iterator_a301749e9779adafd395369ac36df93df.html @@ -150,7 +150,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1const__iterator_a36086a699b95e06976c11367b7d6ba53.html b/classnlohmann_1_1basic__json_1_1const__iterator_a36086a699b95e06976c11367b7d6ba53.html index e86e16b26..946ce7c81 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 d4efe8803..7f8d391a4 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 dcb1f9d37..99311add2 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 a46c7157c..277c264dd 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 e97def720..0a757487c 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 9f5370b73..c241c77b7 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 f572ccafd..6ad558ec5 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 b217c3bce..bbf759ad4 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 58654dca8..81492e1a6 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 8922a0348..427630af4 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 ba796b10f..42a513d15 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 161dcb3b4..be20021fb 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 e64e35b8f..50933029a 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 745413e49..f58bcf074 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 6639e3809..283ebb44a 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 47b90a62c..e449950de 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 7f9b00c53..ad0fa20d9 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 586a1ce74..443e13658 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 0912aeb15..dd8a320d7 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 ed10cb920..1e2bbeced 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 cdae0464c..c9540e59f 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 6110e1868..36861af97 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 79b7ab3a8..1284e65aa 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 bd58e598f..0d2997e39 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 18d6a4ca0..e4789865b 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 797bd0715..1b3a248dd 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 711aafc93..5201b8247 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 148dd04d6..809706d66 100644 --- a/classnlohmann_1_1basic__json_1_1iterator.html +++ b/classnlohmann_1_1basic__json_1_1iterator.html @@ -267,7 +267,7 @@ class nlohmann::basic_json::iterator diff --git a/classnlohmann_1_1basic__json_1_1iterator__wrapper-members.html b/classnlohmann_1_1basic__json_1_1iterator__wrapper-members.html index 91a43b921..c6a458e65 100644 --- a/classnlohmann_1_1basic__json_1_1iterator__wrapper-members.html +++ b/classnlohmann_1_1basic__json_1_1iterator__wrapper-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/classnlohmann_1_1basic__json_1_1iterator__wrapper.html b/classnlohmann_1_1basic__json_1_1iterator__wrapper.html index ecde72c47..39c9b25c4 100644 --- a/classnlohmann_1_1basic__json_1_1iterator__wrapper.html +++ b/classnlohmann_1_1basic__json_1_1iterator__wrapper.html @@ -117,11 +117,11 @@ Public Member Functions

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_wrapper

-

This class allows to access key() and value() during range-based for loops. In these loops, a reference to the JSON values is returned, so there is no access to the underlying iterator.

+

This class allows to access iterator::key() and iterator::value() during range-based for loops. In these loops, a reference to the JSON values is returned, so there is no access to the underlying iterator.

diff --git a/classnlohmann_1_1basic__json_1_1iterator__wrapper_a784f17dec56c1ec90b0b73eb8307ea7d.html b/classnlohmann_1_1basic__json_1_1iterator__wrapper_a784f17dec56c1ec90b0b73eb8307ea7d.html index 63486b1f9..55dfc7f31 100644 --- a/classnlohmann_1_1basic__json_1_1iterator__wrapper_a784f17dec56c1ec90b0b73eb8307ea7d.html +++ b/classnlohmann_1_1basic__json_1_1iterator__wrapper_a784f17dec56c1ec90b0b73eb8307ea7d.html @@ -123,7 +123,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator__wrapper_a80305d6ac43b6fb53c62256e450485ac.html b/classnlohmann_1_1basic__json_1_1iterator__wrapper_a80305d6ac43b6fb53c62256e450485ac.html index 7abc640e6..df4b457e0 100644 --- a/classnlohmann_1_1basic__json_1_1iterator__wrapper_a80305d6ac43b6fb53c62256e450485ac.html +++ b/classnlohmann_1_1basic__json_1_1iterator__wrapper_a80305d6ac43b6fb53c62256e450485ac.html @@ -122,7 +122,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator__wrapper_ab5951e20b05998e768943acd0b418c81.html b/classnlohmann_1_1basic__json_1_1iterator__wrapper_ab5951e20b05998e768943acd0b418c81.html index f3e42153a..c1b13366e 100644 --- a/classnlohmann_1_1basic__json_1_1iterator__wrapper_ab5951e20b05998e768943acd0b418c81.html +++ b/classnlohmann_1_1basic__json_1_1iterator__wrapper_ab5951e20b05998e768943acd0b418c81.html @@ -122,7 +122,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a037e5f3de196ff4cea8a95a8a4e35882.html b/classnlohmann_1_1basic__json_1_1iterator_a037e5f3de196ff4cea8a95a8a4e35882.html index f73aac903..0a1f7a73c 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 3ea298602..cccd5bc74 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 5986f5f77..b5c8b9f55 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 d20f0f490..4e51d395b 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 dda9267ff..5f8994e6f 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 05fc01cd8..bbd73f61f 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 12200dba8..afd05c6df 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 dded9d668..39d9bab1e 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 24e8715f5..16329efb6 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 6169c6a1b..f06baae06 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a4f6e03ae3bb674ebf0b727f74957c12f.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a4f6e03ae3bb674ebf0b727f74957c12f.html @@ -139,7 +139,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a6e91e9d94a0e14d2fc28cfdf3beac2b1.html b/classnlohmann_1_1basic__json_1_1iterator_a6e91e9d94a0e14d2fc28cfdf3beac2b1.html index 9a1bb00c5..1fe2fdf7f 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a6e91e9d94a0e14d2fc28cfdf3beac2b1.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a6e91e9d94a0e14d2fc28cfdf3beac2b1.html @@ -140,7 +140,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a7031e759ee52d1283aada0ff81108a5e.html b/classnlohmann_1_1basic__json_1_1iterator_a7031e759ee52d1283aada0ff81108a5e.html index 604465152..f81a3ab4f 100644 --- a/classnlohmann_1_1basic__json_1_1iterator_a7031e759ee52d1283aada0ff81108a5e.html +++ b/classnlohmann_1_1basic__json_1_1iterator_a7031e759ee52d1283aada0ff81108a5e.html @@ -140,7 +140,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_1_1iterator_a94285e2ade0bfef829b81377bbbca6cf.html b/classnlohmann_1_1basic__json_1_1iterator_a94285e2ade0bfef829b81377bbbca6cf.html index 0697dd666..0fa49acdf 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 6eae4ed7c..80e53c1dd 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 b71c7aaf2..418b68fe1 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 69bcb680e..837cb3f0e 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 9e9bfe713..c6bb29407 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 56b093923..b48297a09 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 8145455f9..e93f7ec67 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 1d4bbc654..f9c852baa 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 9197ed2d4..1ededb354 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 3ddb694a3..cafb9ed1b 100644 --- a/classnlohmann_1_1basic__json_1_1json__reverse__iterator.html +++ b/classnlohmann_1_1basic__json_1_1json__reverse__iterator.html @@ -171,7 +171,7 @@ class nlohmann::basic_json::json_reverse_iterator< Base > diff --git a/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a03e542423284327d3801cf078f1c2b44.html b/classnlohmann_1_1basic__json_1_1json__reverse__iterator_a03e542423284327d3801cf078f1c2b44.html index 554933562..511f8e7f7 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 8493b3f2e..a0a0c25c6 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 567b50dae..91dd5caf8 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 9adad4cca..a93e26906 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 29bd7995a..4e5194882 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 88e96f288..6a0cd7b74 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 8c28d76c7..8d1b01526 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 2250fcd7f..06691e5ba 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 d05ac59ec..9ab794994 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 4ed3fd974..a2b98c460 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 7043fadf4..ba2aba8f2 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 96163b5cc..0ddf08a6c 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 789051603..9c5b1b78e 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 b9c4093af..6e3a42d76 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 8e7f25808..a05addffd 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 3c2395a45..8f3fb3359 100644 --- a/classnlohmann_1_1basic__json_a01a2643289b69cd71d9b3f3fc209b748.html +++ b/classnlohmann_1_1basic__json_a01a2643289b69cd71d9b3f3fc209b748.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -273,7 +275,7 @@ template<template< typename U, typename V, typename...Args > class Obje
18 }
a class to store JSON values
Definition: json.hpp:200
namespace for Niels Lohmann
Definition: json.hpp:96
-
size_type count(typename object_t::key_type key) const
returns the number of occurrences of a key in a JSON object
Definition: json.hpp:3101
+
size_type count(typename object_t::key_type key) const
returns the number of occurrences of a key in a JSON object
Definition: json.hpp:3193
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 
@@ -286,7 +288,7 @@ number of elements with key "three": 0 diff --git a/classnlohmann_1_1basic__json_a034bccea9f5400650443e9f12e67b079.html b/classnlohmann_1_1basic__json_a034bccea9f5400650443e9f12e67b079.html index 3315efd50..e8d4843c3 100644 --- a/classnlohmann_1_1basic__json_a034bccea9f5400650443e9f12e67b079.html +++ b/classnlohmann_1_1basic__json_a034bccea9f5400650443e9f12e67b079.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -301,7 +303,7 @@ null diff --git a/classnlohmann_1_1basic__json_a088460b5d95f384a4f2ec9e52f4f66ba.html b/classnlohmann_1_1basic__json_a088460b5d95f384a4f2ec9e52f4f66ba.html index e1a1d2542..1d9283268 100644 --- a/classnlohmann_1_1basic__json_a088460b5d95f384a4f2ec9e52f4f66ba.html +++ b/classnlohmann_1_1basic__json_a088460b5d95f384a4f2ec9e52f4f66ba.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -272,7 +274,7 @@ template<template< typename U, typename V, typename...Args > class Obje
24  std::cout << j_string.is_string() << '\n';
25 }
a class to store JSON values
Definition: json.hpp:200
-
bool is_string() const noexcept
return whether value is a string
Definition: json.hpp:1957
+
bool is_string() const noexcept
return whether value is a string
Definition: json.hpp:1955
namespace for Niels Lohmann
Definition: json.hpp:96
Output (play with this example online):
false
 false
@@ -291,7 +293,7 @@ true
 
 
 
diff --git a/classnlohmann_1_1basic__json_a0a7560122349628cf4942a316aa6d21f.html b/classnlohmann_1_1basic__json_a0a7560122349628cf4942a316aa6d21f.html
index 2c3d95d0d..6dac4b119 100644
--- a/classnlohmann_1_1basic__json_a0a7560122349628cf4942a316aa6d21f.html
+++ b/classnlohmann_1_1basic__json_a0a7560122349628cf4942a316aa6d21f.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -284,7 +286,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
24 }
a class to store JSON values
Definition: json.hpp:200
namespace for Niels Lohmann
Definition: json.hpp:96
-
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3594
+
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3685
Output (play with this example online):
[1,2,3,4,5]
 null
 [1,2,3,4,5,6,7]
@@ -299,7 +301,7 @@ null
 
 
 
diff --git a/classnlohmann_1_1basic__json_a0a9c6a1fccc4db365860463e8203eb38.html b/classnlohmann_1_1basic__json_a0a9c6a1fccc4db365860463e8203eb38.html
index a1913066b..097830f49 100644
--- a/classnlohmann_1_1basic__json_a0a9c6a1fccc4db365860463e8203eb38.html
+++ b/classnlohmann_1_1basic__json_a0a9c6a1fccc4db365860463e8203eb38.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -288,7 +290,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 65ecfd6d0..18bf4ee34 100644
--- a/classnlohmann_1_1basic__json_a0bb6ea56c89560cce8003485bffe49d4.html
+++ b/classnlohmann_1_1basic__json_a0bb6ea56c89560cce8003485bffe49d4.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -305,7 +307,7 @@ template<typename CompatibleNumberIntegerType , typename std::enable_if<
 
 
 
diff --git a/classnlohmann_1_1basic__json_a0e372f4c5a90c6be7242a2d7a3709b48.html b/classnlohmann_1_1basic__json_a0e372f4c5a90c6be7242a2d7a3709b48.html
index 45a25644f..7bc79ea8b 100644
--- a/classnlohmann_1_1basic__json_a0e372f4c5a90c6be7242a2d7a3709b48.html
+++ b/classnlohmann_1_1basic__json_a0e372f4c5a90c6be7242a2d7a3709b48.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -284,7 +286,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
24 }
a class to store JSON values
Definition: json.hpp:200
namespace for Niels Lohmann
Definition: json.hpp:96
-
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3594
+
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3685
Output (play with this example online):
{"one":1,"two":2}
 null
 {"four":4,"one":1,"three":3,"two":2}
@@ -299,7 +301,7 @@ null
 
 
 
diff --git a/classnlohmann_1_1basic__json_a114095c452ca2f4ba976548df3da68be.html b/classnlohmann_1_1basic__json_a114095c452ca2f4ba976548df3da68be.html
index d800ed6fc..7533876ca 100644
--- a/classnlohmann_1_1basic__json_a114095c452ca2f4ba976548df3da68be.html
+++ b/classnlohmann_1_1basic__json_a114095c452ca2f4ba976548df3da68be.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -273,7 +275,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
25 }
a class to store JSON values
Definition: json.hpp:200
namespace for Niels Lohmann
Definition: json.hpp:96
-
bool is_null() const noexcept
return whether value is null
Definition: json.hpp:1835
+
bool is_null() const noexcept
return whether value is null
Definition: json.hpp:1833
Output (play with this example online):
true
 false
 false
@@ -291,7 +293,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_a11c3dd843c21c58daa651e84046a82af.html b/classnlohmann_1_1basic__json_a11c3dd843c21c58daa651e84046a82af.html
index 66879e0e5..0376a9611 100644
--- a/classnlohmann_1_1basic__json_a11c3dd843c21c58daa651e84046a82af.html
+++ b/classnlohmann_1_1basic__json_a11c3dd843c21c58daa651e84046a82af.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -271,7 +273,7 @@ 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:1940
+
bool is_array() const noexcept
return whether value is an array
Definition: json.hpp:1938
a class to store JSON values
Definition: json.hpp:200
namespace for Niels Lohmann
Definition: json.hpp:96
Output (play with this example online):
false
@@ -291,7 +293,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_a122640e7e2db1814fc7bbb3c122ec76e.html b/classnlohmann_1_1basic__json_a122640e7e2db1814fc7bbb3c122ec76e.html
index 375e8690e..86719866c 100644
--- a/classnlohmann_1_1basic__json_a122640e7e2db1814fc7bbb3c122ec76e.html
+++ b/classnlohmann_1_1basic__json_a122640e7e2db1814fc7bbb3c122ec76e.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -307,7 +309,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a13e5642dbfa1602c937d295a085413cc.html b/classnlohmann_1_1basic__json_a13e5642dbfa1602c937d295a085413cc.html
index 65c3419f5..aa60f1c9f 100644
--- a/classnlohmann_1_1basic__json_a13e5642dbfa1602c937d295a085413cc.html
+++ b/classnlohmann_1_1basic__json_a13e5642dbfa1602c937d295a085413cc.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -241,7 +243,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a15e468968cd4d0e4fd566044d66ada24.html b/classnlohmann_1_1basic__json_a15e468968cd4d0e4fd566044d66ada24.html
index 67e9cbed8..d8781fc23 100644
--- a/classnlohmann_1_1basic__json_a15e468968cd4d0e4fd566044d66ada24.html
+++ b/classnlohmann_1_1basic__json_a15e468968cd4d0e4fd566044d66ada24.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -290,7 +292,7 @@ basic_json(const CompatibleStringType&) 
 
 
 
diff --git a/classnlohmann_1_1basic__json_a1683189bd539313b5559f07961166c8b.html b/classnlohmann_1_1basic__json_a1683189bd539313b5559f07961166c8b.html
index fff289d74..15b1944b4 100644
--- a/classnlohmann_1_1basic__json_a1683189bd539313b5559f07961166c8b.html
+++ b/classnlohmann_1_1basic__json_a1683189bd539313b5559f07961166c8b.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -241,7 +243,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a16a275d0201e9aedc87c933c764b8869.html b/classnlohmann_1_1basic__json_a16a275d0201e9aedc87c933c764b8869.html
index a1a5daca2..0c187034c 100644
--- a/classnlohmann_1_1basic__json_a16a275d0201e9aedc87c933c764b8869.html
+++ b/classnlohmann_1_1basic__json_a16a275d0201e9aedc87c933c764b8869.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -288,11 +290,14 @@ template<template< typename U, typename V, typename...Args > class Obje
 
26  }
27 }
a class to store JSON values
Definition: json.hpp:200
-
reference at(size_type idx)
access specified array element with bounds checking
Definition: json.hpp:2478
+
reference at(size_type idx)
access specified array element with bounds checking
Definition: json.hpp:2454
namespace for Niels Lohmann
Definition: json.hpp:96
Output (play with this example online):
"il brutto"
 out of range
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/at__object_t_key_type_const.cpp -o at__object_t_key_type_const 
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/at__object_t_key_type_const.cpp -o at__object_t_key_type_const 
+
See also
operator[](const typename object_t::key_type&) for unchecked access by reference
+
+value() for access by value with a default value
@@ -302,7 +307,7 @@ out of range diff --git a/classnlohmann_1_1basic__json_a190d719446e7016879c4b961c9cf9072.html b/classnlohmann_1_1basic__json_a190d719446e7016879c4b961c9cf9072.html index d57451abf..88123d010 100644 --- a/classnlohmann_1_1basic__json_a190d719446e7016879c4b961c9cf9072.html +++ b/classnlohmann_1_1basic__json_a190d719446e7016879c4b961c9cf9072.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -290,7 +292,7 @@ template<typename T , typename std::enable_if< diff --git a/classnlohmann_1_1basic__json_a231b02148577b69a154b2ce2c87a5522.html b/classnlohmann_1_1basic__json_a231b02148577b69a154b2ce2c87a5522.html index 62dc29749..a82efcb07 100644 --- a/classnlohmann_1_1basic__json_a231b02148577b69a154b2ce2c87a5522.html +++ b/classnlohmann_1_1basic__json_a231b02148577b69a154b2ce2c87a5522.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -276,7 +278,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a234f03dce002783748ca401a42bc6472.html b/classnlohmann_1_1basic__json_a234f03dce002783748ca401a42bc6472.html index 37f5cb48a..d521e9481 100644 --- a/classnlohmann_1_1basic__json_a234f03dce002783748ca401a42bc6472.html +++ b/classnlohmann_1_1basic__json_a234f03dce002783748ca401a42bc6472.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -262,7 +264,7 @@ template<typename PointerType , typename std::enable_if<
5 int main()
6 {
7  // create a JSON number
-
8  json value = 17;
+
8  json value = 17;
9 
10  // explicitly getting pointers
11  auto p1 = value.get_ptr<const json::number_integer_t*>();
@@ -276,8 +278,9 @@ template<typename PointerType , typename std::enable_if<
19  std::cout << std::boolalpha << (p5 == nullptr) << '\n';
20 }
a class to store JSON values
Definition: json.hpp:200
+
ValueType value(const typename object_t::key_type &key, ValueType default_value) const
access specified object element with default value
Definition: json.hpp:2787
namespace for Niels Lohmann
Definition: json.hpp:96
-
PointerType get_ptr() noexcept
get a pointer value (implicit)
Definition: json.hpp:2394
+
PointerType get_ptr() noexcept
get a pointer value (implicit)
Definition: json.hpp:2370
NumberIntegerType number_integer_t
a type for a number (integer)
Definition: json.hpp:516
NumberFloatType number_float_t
a type for a number (floating-point)
Definition: json.hpp:576
Output (play with this example online):
17 17 17 17
@@ -292,7 +295,7 @@ true
 
 
 
diff --git a/classnlohmann_1_1basic__json_a2448b2777e8a3e48614e1b3c41b96f7c.html b/classnlohmann_1_1basic__json_a2448b2777e8a3e48614e1b3c41b96f7c.html
index 958ea5971..ca61f7b31 100644
--- a/classnlohmann_1_1basic__json_a2448b2777e8a3e48614e1b3c41b96f7c.html
+++ b/classnlohmann_1_1basic__json_a2448b2777e8a3e48614e1b3c41b96f7c.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -286,7 +288,7 @@ basic_json(const CompatibleStringType&) 
 
 
 
diff --git a/classnlohmann_1_1basic__json_a266c4dd24d11a86e4831523af5d9df4d.html b/classnlohmann_1_1basic__json_a266c4dd24d11a86e4831523af5d9df4d.html
index 9af36c096..7a88b49fc 100644
--- a/classnlohmann_1_1basic__json_a266c4dd24d11a86e4831523af5d9df4d.html
+++ b/classnlohmann_1_1basic__json_a266c4dd24d11a86e4831523af5d9df4d.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -315,7 +317,10 @@ This function is required for compatibility reasons with Clang.
     "three": 3,
     "two": 2
 }
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/operatorarray__key_type.cpp -o operatorarray__key_type 
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/operatorarray__key_type.cpp -o operatorarray__key_type 
+
See also
at(const typename object_t::key_type&) for access by reference with range checking
+
+value() for access by value with a default value
@@ -325,7 +330,7 @@ This function is required for compatibility reasons with Clang. diff --git a/classnlohmann_1_1basic__json_a26b7e4876af25eae5800ce43f93aaef2.html b/classnlohmann_1_1basic__json_a26b7e4876af25eae5800ce43f93aaef2.html new file mode 100644 index 000000000..60fe6dfea --- /dev/null +++ b/classnlohmann_1_1basic__json_a26b7e4876af25eae5800ce43f93aaef2.html @@ -0,0 +1,342 @@ + + + + + + +JSON for Modern C++: nlohmann::basic_json::value + + + + + + + + + + + +
+
+ + + + + + +
+
JSON for Modern C++ +  1.0.0-rc1 +
+
+
+ + + + + +
+
+ + +
+ +
+ + +
+
+ + + + + +
+ + + +
+
+
+template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class AllocatorType = std::allocator>
+
+template<class ValueType , typename std::enable_if< std::is_convertible< basic_json_t, ValueType >::value , int >::type = 0>
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
ValueType nlohmann::basic_json::value (const typename object_t::key_type & key,
ValueType default_value 
) const
+
+inline
+
+

Returns either a copy of an object's element at the specified key key or a given default value if no element with key key exists.

+

The function is basically equivalent to executing

try {
+
return at(key);
+
} catch(std::out_of_range) {
+
return default_value;
+
}
+
Note
Unlike at(const typename object_t::key_type&), this function does not throw if the given key key was not found.
+
+Unlike operator[](const typename object_t::key_type& key), this function does not implicitly add an element to the position defined by key. This function is furthermore also applicable to const objects.
+
Parameters
+ + + +
[in]keykey of the element to access
[in]default_valuethe value to return if key is not found
+
+
+
Template Parameters
+ + +
ValueTypetype compatible to JSON values, for instance int for JSON integer numbers, bool for JSON booleans, or std::vector types for JSON arrays. Note the type of the expected value at key and the default value default_value must be compatible.
+
+
+
Returns
copy of the element at key key or default_value if key is not found
+
Exceptions
+ + +
std::domain_errorif JSON is not an object
+
+
+
Complexity
Logarithmic in the size of the container.
+
Example
The example below shows how object elements can be queried with a default value.
1 #include <json.hpp>
+
2 
+
3 using namespace nlohmann;
+
4 
+
5 int main()
+
6 {
+
7  // create a JSON object with different entry types
+
8  json j =
+
9  {
+
10  {"integer", 1},
+
11  {"floating", 42.23},
+
12  {"string", "hello world"},
+
13  {"boolean", true},
+
14  {"object", {{"key1", 1}, {"key2", 2}}},
+
15  {"array", {1, 2, 3}}
+
16  };
+
17 
+
18  // access existing values
+
19  int v_integer = j.value("integer", 0);
+
20  double v_floating = j.value("floating", 47.11);
+
21 
+
22  // access nonexisting values and rely on default value
+
23  std::string v_string = j.value("nonexisting", "oops");
+
24  bool v_boolean = j.value("nonexisting", false);
+
25 
+
26  // output values
+
27  std::cout << std::boolalpha << v_integer << " " << v_floating
+
28  << " " << v_string << " " << v_boolean << "\n";
+
29 }
+
a class to store JSON values
Definition: json.hpp:200
+
ValueType value(const typename object_t::key_type &key, ValueType default_value) const
access specified object element with default value
Definition: json.hpp:2787
+
namespace for Niels Lohmann
Definition: json.hpp:96
+
Output (play with this example online):
1 42.23 oops false
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__value.cpp -o basic_json__value 
+
See also
at(const typename object_t::key_type&) for access by reference with range checking
+
+operator[](const typename object_t::key_type&) for unchecked access by reference
+ +
+
+
+
+ + + + diff --git a/classnlohmann_1_1basic__json_a2adfc8d24bea3908398cbf325b5dc1d7.html b/classnlohmann_1_1basic__json_a2adfc8d24bea3908398cbf325b5dc1d7.html index 5ab6aa47e..c04864061 100644 --- a/classnlohmann_1_1basic__json_a2adfc8d24bea3908398cbf325b5dc1d7.html +++ b/classnlohmann_1_1basic__json_a2adfc8d24bea3908398cbf325b5dc1d7.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -271,7 +273,7 @@ Illustration from cppreference.com
15 }
a class to store JSON values
Definition: json.hpp:200
namespace for Niels Lohmann
Definition: json.hpp:96
-
const_reverse_iterator crbegin() const
returns a const reverse iterator to the last element
Definition: json.hpp:3300
+
const_reverse_iterator crbegin() const
returns a const reverse iterator to the last element
Definition: json.hpp:3392
a template for a reverse iterator class
Definition: json.hpp:245
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 
@@ -284,7 +286,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a3287df6546c905fb0a5786deb4b1cf32.html b/classnlohmann_1_1basic__json_a3287df6546c905fb0a5786deb4b1cf32.html index 75eb1841d..421626d52 100644 --- a/classnlohmann_1_1basic__json_a3287df6546c905fb0a5786deb4b1cf32.html +++ b/classnlohmann_1_1basic__json_a3287df6546c905fb0a5786deb4b1cf32.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -300,7 +302,7 @@ template<template< typename U, typename V, typename...Args > class Obje
object (unordered set of name/value pairs)
namespace for Niels Lohmann
Definition: json.hpp:96
array (ordered collection of values)
-
bool empty() const noexcept
checks whether the container is empty
Definition: json.hpp:3363
+
bool empty() const noexcept
checks whether the container is empty
Definition: json.hpp:3455
Output (play with this example online):
true
 false
 false
@@ -320,7 +322,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_a33f1632cfdbf460b4913f4e8a43dd9e4.html b/classnlohmann_1_1basic__json_a33f1632cfdbf460b4913f4e8a43dd9e4.html
index f7d418c69..b6c0dd8ec 100644
--- a/classnlohmann_1_1basic__json_a33f1632cfdbf460b4913f4e8a43dd9e4.html
+++ b/classnlohmann_1_1basic__json_a33f1632cfdbf460b4913f4e8a43dd9e4.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -283,7 +285,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 7f5e169a9..edb8b1d82 100644
--- a/classnlohmann_1_1basic__json_a34d6a60dd99e9f33b8273a1c8db5669b.html
+++ b/classnlohmann_1_1basic__json_a34d6a60dd99e9f33b8273a1c8db5669b.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -311,7 +313,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a429c2606865483ff357cccc1b1c46569.html b/classnlohmann_1_1basic__json_a429c2606865483ff357cccc1b1c46569.html
index f9147cc39..a892d199d 100644
--- a/classnlohmann_1_1basic__json_a429c2606865483ff357cccc1b1c46569.html
+++ b/classnlohmann_1_1basic__json_a429c2606865483ff357cccc1b1c46569.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -284,7 +286,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
24 }
a class to store JSON values
Definition: json.hpp:200
namespace for Niels Lohmann
Definition: json.hpp:96
-
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3594
+
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3685
Output (play with this example online):
[1,2,3,4,5]
 null
 [1,2,3,4,5,6,7]
@@ -299,7 +301,7 @@ null
 
 
 
diff --git a/classnlohmann_1_1basic__json_a42f9133f978dde4cce5851b2c2434a0c.html b/classnlohmann_1_1basic__json_a42f9133f978dde4cce5851b2c2434a0c.html
index cc922ba8b..d3aee060b 100644
--- a/classnlohmann_1_1basic__json_a42f9133f978dde4cce5851b2c2434a0c.html
+++ b/classnlohmann_1_1basic__json_a42f9133f978dde4cce5851b2c2434a0c.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -273,7 +275,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
25 }
a class to store JSON values
Definition: json.hpp:200
object (unordered set of name/value pairs)
-
value_t type() const noexcept
return the type of the JSON value (explicit)
Definition: json.hpp:1781
+
value_t type() const noexcept
return the type of the JSON value (explicit)
Definition: json.hpp:1779
namespace for Niels Lohmann
Definition: json.hpp:96
array (ordered collection of values)
@@ -298,7 +300,7 @@ true diff --git a/classnlohmann_1_1basic__json_a4361aa791f3980abb239e4155a3450cb.html b/classnlohmann_1_1basic__json_a4361aa791f3980abb239e4155a3450cb.html index 8fe01a05c..a269aef8c 100644 --- a/classnlohmann_1_1basic__json_a4361aa791f3980abb239e4155a3450cb.html +++ b/classnlohmann_1_1basic__json_a4361aa791f3980abb239e4155a3450cb.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -271,9 +273,9 @@ Illustration from cppreference.com
14  std::cout << *it << '\n';
15 }
a class to store JSON values
Definition: json.hpp:200
-
const_iterator cbegin() const
returns a const iterator to the first element
Definition: json.hpp:3165
+
const_iterator cbegin() const
returns a const iterator to the first element
Definition: json.hpp:3257
namespace for Niels Lohmann
Definition: json.hpp:96
-
a const random access iterator for the basic_json class
Definition: json.hpp:4928
+
a const random access iterator for the basic_json class
Definition: json.hpp:5026
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 
@@ -285,7 +287,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a4943b7f16ddc4e0df33c0cae7ef14471.html b/classnlohmann_1_1basic__json_a4943b7f16ddc4e0df33c0cae7ef14471.html index 542fecd61..ec67cb1a3 100644 --- a/classnlohmann_1_1basic__json_a4943b7f16ddc4e0df33c0cae7ef14471.html +++ b/classnlohmann_1_1basic__json_a4943b7f16ddc4e0df33c0cae7ef14471.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -274,7 +276,7 @@ Illustration from cppreference.com
18 }
a class to store JSON values
Definition: json.hpp:200
namespace for Niels Lohmann
Definition: json.hpp:96
-
const_reverse_iterator crend() const
returns a const reverse iterator to one before the first
Definition: json.hpp:3321
+
const_reverse_iterator crend() const
returns a const reverse iterator to one before the first
Definition: json.hpp:3413
a template for a reverse iterator class
Definition: json.hpp:245
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 
@@ -287,7 +289,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a4ad3f27ecece8f644e8dca69a97eb67f.html b/classnlohmann_1_1basic__json_a4ad3f27ecece8f644e8dca69a97eb67f.html index 75059613e..1e41cd8af 100644 --- a/classnlohmann_1_1basic__json_a4ad3f27ecece8f644e8dca69a97eb67f.html +++ b/classnlohmann_1_1basic__json_a4ad3f27ecece8f644e8dca69a97eb67f.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -274,7 +276,7 @@ Illustration from cppreference.com
18 }
a class to store JSON values
Definition: json.hpp:200
namespace for Niels Lohmann
Definition: json.hpp:96
-
const_reverse_iterator crend() const
returns a const reverse iterator to one before the first
Definition: json.hpp:3321
+
const_reverse_iterator crend() const
returns a const reverse iterator to one before the first
Definition: json.hpp:3413
a template for a reverse iterator class
Definition: json.hpp:245
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 
@@ -287,7 +289,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a4bf695ddf4a00ea8feea2c725ec847f1.html b/classnlohmann_1_1basic__json_a4bf695ddf4a00ea8feea2c725ec847f1.html index a24187159..ba98066aa 100644 --- a/classnlohmann_1_1basic__json_a4bf695ddf4a00ea8feea2c725ec847f1.html +++ b/classnlohmann_1_1basic__json_a4bf695ddf4a00ea8feea2c725ec847f1.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -280,7 +282,7 @@ template<template< typename U, typename V, typename...Args > class Obje
a class to store JSON values
Definition: json.hpp:200
ObjectType< StringType, basic_json, std::less< StringType >, AllocatorType< std::pair< const StringType, basic_json >>> object_t
a type for an object
Definition: json.hpp:345
namespace for Niels Lohmann
Definition: json.hpp:96
-
void swap(reference other) noexcept( std::is_nothrow_move_constructible< value_t >::value and std::is_nothrow_move_assignable< value_t >::value and std::is_nothrow_move_constructible< json_value >::value and std::is_nothrow_move_assignable< json_value >::value )
exchanges the values
Definition: json.hpp:3901
+
void swap(reference other) noexcept( std::is_nothrow_move_constructible< value_t >::value and std::is_nothrow_move_assignable< value_t >::value and std::is_nothrow_move_constructible< json_value >::value and std::is_nothrow_move_assignable< json_value >::value )
exchanges the values
Definition: json.hpp:3996
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 
@@ -293,7 +295,7 @@ object = {"one":"eins","two":"zwei"} diff --git a/classnlohmann_1_1basic__json_a4d688b5ff534d3ab4e284b3191061529.html b/classnlohmann_1_1basic__json_a4d688b5ff534d3ab4e284b3191061529.html index e8d6a76c3..afce71970 100644 --- a/classnlohmann_1_1basic__json_a4d688b5ff534d3ab4e284b3191061529.html +++ b/classnlohmann_1_1basic__json_a4d688b5ff534d3ab4e284b3191061529.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -271,7 +273,7 @@ Illustration from cppreference.com
15 }
a class to store JSON values
Definition: json.hpp:200
namespace for Niels Lohmann
Definition: json.hpp:96
-
const_reverse_iterator crbegin() const
returns a const reverse iterator to the last element
Definition: json.hpp:3300
+
const_reverse_iterator crbegin() const
returns a const reverse iterator to the last element
Definition: json.hpp:3392
a template for a reverse iterator class
Definition: json.hpp:245
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 
@@ -284,7 +286,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a53a2abfdd4f72c7df5aba1155bf03e48.html b/classnlohmann_1_1basic__json_a53a2abfdd4f72c7df5aba1155bf03e48.html index 587ab3969..3ee867312 100644 --- a/classnlohmann_1_1basic__json_a53a2abfdd4f72c7df5aba1155bf03e48.html +++ b/classnlohmann_1_1basic__json_a53a2abfdd4f72c7df5aba1155bf03e48.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -273,7 +275,7 @@ template<template< typename U, typename V, typename...Args > class Obje
24  std::cout << j_string.is_discarded() << '\n';
25 }
a class to store JSON values
Definition: json.hpp:200
-
bool is_discarded() const noexcept
return whether value is discarded
Definition: json.hpp:1979
+
bool is_discarded() const noexcept
return whether value is discarded
Definition: json.hpp:1977
namespace for Niels Lohmann
Definition: json.hpp:96
Output (play with this example online):
false
 false
@@ -292,7 +294,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_a55edaf09e1f7785463475f809d987cee.html b/classnlohmann_1_1basic__json_a55edaf09e1f7785463475f809d987cee.html
index 6f409e251..4155e793b 100644
--- a/classnlohmann_1_1basic__json_a55edaf09e1f7785463475f809d987cee.html
+++ b/classnlohmann_1_1basic__json_a55edaf09e1f7785463475f809d987cee.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -295,9 +297,9 @@ template<template< typename U, typename V, typename...Args > class Obje
 
15  std::cout << v << '\n';
16 }
a class to store JSON values
Definition: json.hpp:200
-
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3133
+
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3225
namespace for Niels Lohmann
Definition: json.hpp:96
-
iterator insert(const_iterator pos, const basic_json &value)
inserts element
Definition: json.hpp:3723
+
iterator insert(const_iterator pos, const basic_json &value)
inserts element
Definition: json.hpp:3814
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 
@@ -310,7 +312,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a57703688bee6b9736ab3a430d8d246f2.html b/classnlohmann_1_1basic__json_a57703688bee6b9736ab3a430d8d246f2.html index c2cb0c3ef..6c7a65349 100644 --- a/classnlohmann_1_1basic__json_a57703688bee6b9736ab3a430d8d246f2.html +++ b/classnlohmann_1_1basic__json_a57703688bee6b9736ab3a430d8d246f2.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -299,7 +301,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a57a96ab3ff1ce7b48a754129fb12c982.html b/classnlohmann_1_1basic__json_a57a96ab3ff1ce7b48a754129fb12c982.html index 2afd6990b..6d97069be 100644 --- a/classnlohmann_1_1basic__json_a57a96ab3ff1ce7b48a754129fb12c982.html +++ b/classnlohmann_1_1basic__json_a57a96ab3ff1ce7b48a754129fb12c982.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -280,7 +282,7 @@ template<template< typename U, typename V, typename...Args > class Obje
StringType string_t
a type for a string
Definition: json.hpp:428
a class to store JSON values
Definition: json.hpp:200
namespace for Niels Lohmann
Definition: json.hpp:96
-
void swap(reference other) noexcept( std::is_nothrow_move_constructible< value_t >::value and std::is_nothrow_move_assignable< value_t >::value and std::is_nothrow_move_constructible< json_value >::value and std::is_nothrow_move_assignable< json_value >::value )
exchanges the values
Definition: json.hpp:3901
+
void swap(reference other) noexcept( std::is_nothrow_move_constructible< value_t >::value and std::is_nothrow_move_assignable< value_t >::value and std::is_nothrow_move_constructible< json_value >::value and std::is_nothrow_move_assignable< json_value >::value )
exchanges the values
Definition: json.hpp:3996
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 
@@ -293,7 +295,7 @@ string = the bad diff --git a/classnlohmann_1_1basic__json_a5a2d4dbcdbc8ea065b87daf52cd786b9.html b/classnlohmann_1_1basic__json_a5a2d4dbcdbc8ea065b87daf52cd786b9.html index 79b689763..01ad5de12 100644 --- a/classnlohmann_1_1basic__json_a5a2d4dbcdbc8ea065b87daf52cd786b9.html +++ b/classnlohmann_1_1basic__json_a5a2d4dbcdbc8ea065b87daf52cd786b9.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -276,7 +278,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 1b3bd96b2..894579569 100644 --- a/classnlohmann_1_1basic__json_a5c8bb5200f5eac10d31e26be46e5b1ac.html +++ b/classnlohmann_1_1basic__json_a5c8bb5200f5eac10d31e26be46e5b1ac.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -303,7 +305,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a5d428360d75a52f6af74751d1cc912c6.html b/classnlohmann_1_1basic__json_a5d428360d75a52f6af74751d1cc912c6.html index a47cc5dbb..de990aadc 100644 --- a/classnlohmann_1_1basic__json_a5d428360d75a52f6af74751d1cc912c6.html +++ b/classnlohmann_1_1basic__json_a5d428360d75a52f6af74751d1cc912c6.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -307,7 +309,7 @@ true diff --git a/classnlohmann_1_1basic__json_a5e34c5435e557d0bf666bd7311211405.html b/classnlohmann_1_1basic__json_a5e34c5435e557d0bf666bd7311211405.html index d5b006ebe..bae6c2ffd 100644 --- a/classnlohmann_1_1basic__json_a5e34c5435e557d0bf666bd7311211405.html +++ b/classnlohmann_1_1basic__json_a5e34c5435e557d0bf666bd7311211405.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -311,7 +313,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a5f0aad50ed7e8aec3128fe018c18b3fe.html b/classnlohmann_1_1basic__json_a5f0aad50ed7e8aec3128fe018c18b3fe.html index ec7cfefca..c17a53f00 100644 --- a/classnlohmann_1_1basic__json_a5f0aad50ed7e8aec3128fe018c18b3fe.html +++ b/classnlohmann_1_1basic__json_a5f0aad50ed7e8aec3128fe018c18b3fe.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -311,7 +313,7 @@ template<typename ValueType , typename std::enable_if<
49 }
a class to store JSON values
Definition: json.hpp:200
namespace for Niels Lohmann
Definition: json.hpp:96
-
ValueType get() const
get a value (explicit)
Definition: json.hpp:2313
+
ValueType get() const
get a value (explicit)
Definition: json.hpp:2289
Output (play with this example online):
1
 42 42
 17.23 17
@@ -336,7 +338,7 @@ array: [1,2,3,4,5]
 
 
 
diff --git a/classnlohmann_1_1basic__json_a5fd8b54389698edf0c08e2dd001f610b.html b/classnlohmann_1_1basic__json_a5fd8b54389698edf0c08e2dd001f610b.html
index 3d8be77d0..c0036973f 100644
--- a/classnlohmann_1_1basic__json_a5fd8b54389698edf0c08e2dd001f610b.html
+++ b/classnlohmann_1_1basic__json_a5fd8b54389698edf0c08e2dd001f610b.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -241,7 +243,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a60ca396028b8d9714c6e10efbf475af6.html b/classnlohmann_1_1basic__json_a60ca396028b8d9714c6e10efbf475af6.html
index aa82cacc2..69a768f0b 100644
--- a/classnlohmann_1_1basic__json_a60ca396028b8d9714c6e10efbf475af6.html
+++ b/classnlohmann_1_1basic__json_a60ca396028b8d9714c6e10efbf475af6.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -319,7 +321,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a63691315292df8e1522b00d37ebb1ffc.html b/classnlohmann_1_1basic__json_a63691315292df8e1522b00d37ebb1ffc.html
index bb71b0165..bee012113 100644
--- a/classnlohmann_1_1basic__json_a63691315292df8e1522b00d37ebb1ffc.html
+++ b/classnlohmann_1_1basic__json_a63691315292df8e1522b00d37ebb1ffc.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -269,7 +271,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 05160ace8..5e5f76145 100644
--- a/classnlohmann_1_1basic__json_a652414dd930cb3af3b6f454cc535a23e.html
+++ b/classnlohmann_1_1basic__json_a652414dd930cb3af3b6f454cc535a23e.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -294,12 +296,15 @@ template<template< typename U, typename V, typename...Args > class Obje
 
32  }
33 }
a class to store JSON values
Definition: json.hpp:200
-
reference at(size_type idx)
access specified array element with bounds checking
Definition: json.hpp:2478
+
reference at(size_type idx)
access specified array element with bounds checking
Definition: json.hpp:2454
namespace for Niels Lohmann
Definition: json.hpp:96
Output (play with this example online):
"il brutto"
 {"the bad":"il cattivo","the good":"il buono","the ugly":"il brutto"}
 out of range
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/at__object_t_key_type.cpp -o at__object_t_key_type 
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/at__object_t_key_type.cpp -o at__object_t_key_type 
+
See also
operator[](const typename object_t::key_type&) for unchecked access by reference
+
+value() for access by value with a default value
@@ -309,7 +314,7 @@ out of range diff --git a/classnlohmann_1_1basic__json_a656939a3dc9a6047e4afacd9e11b83a6.html b/classnlohmann_1_1basic__json_a656939a3dc9a6047e4afacd9e11b83a6.html index d70cf247e..990fd9b7f 100644 --- a/classnlohmann_1_1basic__json_a656939a3dc9a6047e4afacd9e11b83a6.html +++ b/classnlohmann_1_1basic__json_a656939a3dc9a6047e4afacd9e11b83a6.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -262,7 +264,7 @@ template<typename PointerType , typename std::enable_if<
5 int main()
6 {
7  // create a JSON number
-
8  json value = 17;
+
8  json value = 17;
9 
10  // explicitly getting pointers
11  auto p1 = value.get_ptr<const json::number_integer_t*>();
@@ -276,8 +278,9 @@ template<typename PointerType , typename std::enable_if<
19  std::cout << std::boolalpha << (p5 == nullptr) << '\n';
20 }
a class to store JSON values
Definition: json.hpp:200
+
ValueType value(const typename object_t::key_type &key, ValueType default_value) const
access specified object element with default value
Definition: json.hpp:2787
namespace for Niels Lohmann
Definition: json.hpp:96
-
PointerType get_ptr() noexcept
get a pointer value (implicit)
Definition: json.hpp:2394
+
PointerType get_ptr() noexcept
get a pointer value (implicit)
Definition: json.hpp:2370
NumberIntegerType number_integer_t
a type for a number (integer)
Definition: json.hpp:516
NumberFloatType number_float_t
a type for a number (floating-point)
Definition: json.hpp:576
Output (play with this example online):
17 17 17 17
@@ -292,7 +295,7 @@ true
 
 
 
diff --git a/classnlohmann_1_1basic__json_a6944904b3b59769b1cf62ac2532cbe33.html b/classnlohmann_1_1basic__json_a6944904b3b59769b1cf62ac2532cbe33.html
index 0ae5603da..24be09b76 100644
--- a/classnlohmann_1_1basic__json_a6944904b3b59769b1cf62ac2532cbe33.html
+++ b/classnlohmann_1_1basic__json_a6944904b3b59769b1cf62ac2532cbe33.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -265,7 +267,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a696ced74d8edc0b63a000a72907ab109.html b/classnlohmann_1_1basic__json_a696ced74d8edc0b63a000a72907ab109.html
index 2373140ff..dee615e90 100644
--- a/classnlohmann_1_1basic__json_a696ced74d8edc0b63a000a72907ab109.html
+++ b/classnlohmann_1_1basic__json_a696ced74d8edc0b63a000a72907ab109.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -273,7 +275,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
25 }
a class to store JSON values
Definition: json.hpp:200
namespace for Niels Lohmann
Definition: json.hpp:96
-
bool is_number() const noexcept
return whether value is a number
Definition: json.hpp:1870
+
bool is_number() const noexcept
return whether value is a number
Definition: json.hpp:1868
Output (play with this example online):
false
 false
 true
@@ -291,7 +293,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_a6a67c72ba65322bfcb28d170617dcdff.html b/classnlohmann_1_1basic__json_a6a67c72ba65322bfcb28d170617dcdff.html
index 7eba68187..88a08097e 100644
--- a/classnlohmann_1_1basic__json_a6a67c72ba65322bfcb28d170617dcdff.html
+++ b/classnlohmann_1_1basic__json_a6a67c72ba65322bfcb28d170617dcdff.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -284,7 +286,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
24 }
a class to store JSON values
Definition: json.hpp:200
namespace for Niels Lohmann
Definition: json.hpp:96
-
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3594
+
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3685
Output (play with this example online):
[1,2,3,4,5]
 null
 [1,2,3,4,5,6,7]
@@ -299,7 +301,7 @@ null
 
 
 
diff --git a/classnlohmann_1_1basic__json_a6a7f45095675ac6fd1d018a0e41874be.html b/classnlohmann_1_1basic__json_a6a7f45095675ac6fd1d018a0e41874be.html
index 7c5e2368a..e56c1a08d 100644
--- a/classnlohmann_1_1basic__json_a6a7f45095675ac6fd1d018a0e41874be.html
+++ b/classnlohmann_1_1basic__json_a6a7f45095675ac6fd1d018a0e41874be.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -306,9 +308,9 @@ template<class InputIT , typename std::enable_if<
 
20  std::cout << j_object_range << '\n';
21 }
a class to store JSON values
Definition: json.hpp:200
-
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3188
-
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3133
-
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:3057
+
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3280
+
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3225
+
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:3149
namespace for Niels Lohmann
Definition: json.hpp:96
Output (play with this example online):
["bravo","charly"]
 42
@@ -323,7 +325,7 @@ template<class InputIT , typename std::enable_if<
 
 
 
diff --git a/classnlohmann_1_1basic__json_a6bbd3e72a870f1ba81ff6886b063b0fe.html b/classnlohmann_1_1basic__json_a6bbd3e72a870f1ba81ff6886b063b0fe.html
index ba4d25196..dea2073fc 100644
--- a/classnlohmann_1_1basic__json_a6bbd3e72a870f1ba81ff6886b063b0fe.html
+++ b/classnlohmann_1_1basic__json_a6bbd3e72a870f1ba81ff6886b063b0fe.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -241,7 +243,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a6dff6a02a2be250b8f8dc2f47be65544.html b/classnlohmann_1_1basic__json_a6dff6a02a2be250b8f8dc2f47be65544.html
index 8cf1bf8b9..ce271b2ae 100644
--- a/classnlohmann_1_1basic__json_a6dff6a02a2be250b8f8dc2f47be65544.html
+++ b/classnlohmann_1_1basic__json_a6dff6a02a2be250b8f8dc2f47be65544.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -276,7 +278,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
15 }
a class to store JSON values
Definition: json.hpp:200
namespace for Niels Lohmann
Definition: json.hpp:96
-
InteratorType erase(InteratorType pos)
remove element given an iterator
Definition: json.hpp:2836
+
InteratorType erase(InteratorType pos)
remove element given an iterator
Definition: json.hpp:2924
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 
@@ -288,7 +290,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a6e2e21da48f5d9471716cd868a068327.html b/classnlohmann_1_1basic__json_a6e2e21da48f5d9471716cd868a068327.html index 627155da3..41451dfd9 100644 --- a/classnlohmann_1_1basic__json_a6e2e21da48f5d9471716cd868a068327.html +++ b/classnlohmann_1_1basic__json_a6e2e21da48f5d9471716cd868a068327.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -303,7 +305,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a71eba33d906745e66f340952b79fbce3.html b/classnlohmann_1_1basic__json_a71eba33d906745e66f340952b79fbce3.html index a1781b050..8c922e325 100644 --- a/classnlohmann_1_1basic__json_a71eba33d906745e66f340952b79fbce3.html +++ b/classnlohmann_1_1basic__json_a71eba33d906745e66f340952b79fbce3.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -241,7 +243,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a72442ccbb378b4464a24a2da1e784041.html b/classnlohmann_1_1basic__json_a72442ccbb378b4464a24a2da1e784041.html new file mode 100644 index 000000000..9df2e688b --- /dev/null +++ b/classnlohmann_1_1basic__json_a72442ccbb378b4464a24a2da1e784041.html @@ -0,0 +1,340 @@ + + + + + + +JSON for Modern C++: nlohmann::basic_json::value + + + + + + + + + + + +
+
+ + + + + + +
+
JSON for Modern C++ +  1.0.0-rc1 +
+
+
+ + + + + +
+
+ + +
+ +
+ + +
+
+ + + + + +
+ + + +
+
+
+template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class AllocatorType = std::allocator>
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
string_t nlohmann::basic_json::value (const typename object_t::key_type & key,
const char * default_value 
) const
+
+inline
+
+

overload for a default value of type const char* Returns either a copy of an object's element at the specified key key or a given default value if no element with key key exists.

+

The function is basically equivalent to executing

try {
+
return at(key);
+
} catch(std::out_of_range) {
+
return default_value;
+
}
+
Note
Unlike at(const typename object_t::key_type&), this function does not throw if the given key key was not found.
+
+Unlike operator[](const typename object_t::key_type& key), this function does not implicitly add an element to the position defined by key. This function is furthermore also applicable to const objects.
+
Parameters
+ + + +
[in]keykey of the element to access
[in]default_valuethe value to return if key is not found
+
+
+
Template Parameters
+ + +
ValueTypetype compatible to JSON values, for instance int for JSON integer numbers, bool for JSON booleans, or std::vector types for JSON arrays. Note the type of the expected value at key and the default value default_value must be compatible.
+
+
+
Returns
copy of the element at key key or default_value if key is not found
+
Exceptions
+ + +
std::domain_errorif JSON is not an object
+
+
+
Complexity
Logarithmic in the size of the container.
+
Example
The example below shows how object elements can be queried with a default value.
1 #include <json.hpp>
+
2 
+
3 using namespace nlohmann;
+
4 
+
5 int main()
+
6 {
+
7  // create a JSON object with different entry types
+
8  json j =
+
9  {
+
10  {"integer", 1},
+
11  {"floating", 42.23},
+
12  {"string", "hello world"},
+
13  {"boolean", true},
+
14  {"object", {{"key1", 1}, {"key2", 2}}},
+
15  {"array", {1, 2, 3}}
+
16  };
+
17 
+
18  // access existing values
+
19  int v_integer = j.value("integer", 0);
+
20  double v_floating = j.value("floating", 47.11);
+
21 
+
22  // access nonexisting values and rely on default value
+
23  std::string v_string = j.value("nonexisting", "oops");
+
24  bool v_boolean = j.value("nonexisting", false);
+
25 
+
26  // output values
+
27  std::cout << std::boolalpha << v_integer << " " << v_floating
+
28  << " " << v_string << " " << v_boolean << "\n";
+
29 }
+
a class to store JSON values
Definition: json.hpp:200
+
ValueType value(const typename object_t::key_type &key, ValueType default_value) const
access specified object element with default value
Definition: json.hpp:2787
+
namespace for Niels Lohmann
Definition: json.hpp:96
+
Output (play with this example online):
1 42.23 oops false
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/basic_json__value.cpp -o basic_json__value 
+
See also
at(const typename object_t::key_type&) for access by reference with range checking
+
+operator[](const typename object_t::key_type&) for unchecked access by reference
+ +
+
+
+
+ + + + diff --git a/classnlohmann_1_1basic__json_a72ba20783ecb3eec98bd6a3b870d565c.html b/classnlohmann_1_1basic__json_a72ba20783ecb3eec98bd6a3b870d565c.html index 0b9cbece6..1a1ed739e 100644 --- a/classnlohmann_1_1basic__json_a72ba20783ecb3eec98bd6a3b870d565c.html +++ b/classnlohmann_1_1basic__json_a72ba20783ecb3eec98bd6a3b870d565c.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -274,9 +276,9 @@ Illustration from cppreference.com
17  std::cout << *it << '\n';
18 }
a class to store JSON values
Definition: json.hpp:200
-
const_iterator cend() const
returns a const iterator to one past the last element
Definition: json.hpp:3220
+
const_iterator cend() const
returns a const iterator to one past the last element
Definition: json.hpp:3312
namespace for Niels Lohmann
Definition: json.hpp:96
-
a const random access iterator for the basic_json class
Definition: json.hpp:4928
+
a const random access iterator for the basic_json class
Definition: json.hpp:5026
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 
@@ -288,7 +290,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_a749e58042d8069f4f048ee4d23c43f63.html b/classnlohmann_1_1basic__json_a749e58042d8069f4f048ee4d23c43f63.html index f72ce39bc..4a5e5875a 100644 --- a/classnlohmann_1_1basic__json_a749e58042d8069f4f048ee4d23c43f63.html +++ b/classnlohmann_1_1basic__json_a749e58042d8069f4f048ee4d23c43f63.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -284,7 +286,7 @@ template<template< typename U, typename V, typename...Args > class Obje
24 }
a class to store JSON values
Definition: json.hpp:200
namespace for Niels Lohmann
Definition: json.hpp:96
-
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3594
+
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3685
Output (play with this example online):
[1,2,3,4,5]
 null
 [1,2,3,4,5,6,7]
@@ -299,7 +301,7 @@ null
 
 
 
diff --git a/classnlohmann_1_1basic__json_a74a943800c7f103d0990d7eef82c6453.html b/classnlohmann_1_1basic__json_a74a943800c7f103d0990d7eef82c6453.html
index e589a4881..c3f460483 100644
--- a/classnlohmann_1_1basic__json_a74a943800c7f103d0990d7eef82c6453.html
+++ b/classnlohmann_1_1basic__json_a74a943800c7f103d0990d7eef82c6453.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -303,7 +305,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a74ccfa471a0c061876b247f820f3c741.html b/classnlohmann_1_1basic__json_a74ccfa471a0c061876b247f820f3c741.html
index 34c2c113e..305f395e6 100644
--- a/classnlohmann_1_1basic__json_a74ccfa471a0c061876b247f820f3c741.html
+++ b/classnlohmann_1_1basic__json_a74ccfa471a0c061876b247f820f3c741.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -319,14 +321,14 @@ template<template< typename U, typename V, typename...Args > class Obje
 
53  json j_filtered = json::parse(ss, cb);
54  std::cout << std::setw(4) << j_filtered << '\n';
55 }
-
basic_json<> json
default JSON class
Definition: json.hpp:7244
+
basic_json<> json
default JSON class
Definition: json.hpp:7340
a class to store JSON values
Definition: json.hpp:200
-
std::function< bool(int depth, parse_event_t event, basic_json &parsed)> parser_callback_t
per-element parser callback type
Definition: json.hpp:792
+
std::function< bool(int depth, parse_event_t event, basic_json &parsed)> parser_callback_t
per-element parser callback type
Definition: json.hpp:791
namespace for Niels Lohmann
Definition: json.hpp:96
-
void clear() noexcept
clears the contents
Definition: json.hpp:3529
+
void clear() noexcept
clears the contents
Definition: json.hpp:3621
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:4391
-
parse_event_t
JSON callback events.
Definition: json.hpp:728
+
static basic_json parse(const string_t &s, parser_callback_t cb=nullptr)
deserialize from string
Definition: json.hpp:4489
+
parse_event_t
JSON callback events.
Definition: json.hpp:727
Output (play with this example online):
{
     "Image": {
         "Animated": false,
@@ -372,7 +374,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a75a1754e0d39f33095d3102a8bdb9881.html b/classnlohmann_1_1basic__json_a75a1754e0d39f33095d3102a8bdb9881.html
index aa61e4e7c..e604ae648 100644
--- a/classnlohmann_1_1basic__json_a75a1754e0d39f33095d3102a8bdb9881.html
+++ b/classnlohmann_1_1basic__json_a75a1754e0d39f33095d3102a8bdb9881.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -307,10 +309,10 @@ template<class InteratorType , typename std::enable_if<
 
29  std::cout << j_string << '\n';
30 }
a class to store JSON values
Definition: json.hpp:200
-
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3133
-
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:3057
+
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3225
+
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:3149
namespace for Niels Lohmann
Definition: json.hpp:96
-
InteratorType erase(InteratorType pos)
remove element given an iterator
Definition: json.hpp:2836
+
InteratorType erase(InteratorType pos)
remove element given an iterator
Definition: json.hpp:2924
Output (play with this example online):
null
 null
 null
@@ -327,7 +329,7 @@ null
 
 
 
diff --git a/classnlohmann_1_1basic__json_a76cfc5062bf6223396ab82c753cd4634.html b/classnlohmann_1_1basic__json_a76cfc5062bf6223396ab82c753cd4634.html
index b32c0f850..0df452eca 100644
--- a/classnlohmann_1_1basic__json_a76cfc5062bf6223396ab82c753cd4634.html
+++ b/classnlohmann_1_1basic__json_a76cfc5062bf6223396ab82c753cd4634.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -262,7 +264,7 @@ template<typename PointerType , typename std::enable_if<
 
5 int main()
6 {
7  // create a JSON number
-
8  json value = 17;
+
8  json value = 17;
9 
10  // explicitly getting pointers
11  auto p1 = value.get<const json::number_integer_t*>();
@@ -276,8 +278,9 @@ template<typename PointerType , typename std::enable_if<
19  std::cout << std::boolalpha << (p5 == nullptr) << '\n';
20 }
a class to store JSON values
Definition: json.hpp:200
+
ValueType value(const typename object_t::key_type &key, ValueType default_value) const
access specified object element with default value
Definition: json.hpp:2787
namespace for Niels Lohmann
Definition: json.hpp:96
-
ValueType get() const
get a value (explicit)
Definition: json.hpp:2313
+
ValueType get() const
get a value (explicit)
Definition: json.hpp:2289
NumberIntegerType number_integer_t
a type for a number (integer)
Definition: json.hpp:516
NumberFloatType number_float_t
a type for a number (floating-point)
Definition: json.hpp:576
Output (play with this example online):
17 17 17 17
@@ -293,7 +296,7 @@ true
 
 
 
diff --git a/classnlohmann_1_1basic__json_a793e5c1da2fc7de7a04b19eadbb3f2cb.html b/classnlohmann_1_1basic__json_a793e5c1da2fc7de7a04b19eadbb3f2cb.html
index e1cd4a1b4..3f66d40fe 100644
--- a/classnlohmann_1_1basic__json_a793e5c1da2fc7de7a04b19eadbb3f2cb.html
+++ b/classnlohmann_1_1basic__json_a793e5c1da2fc7de7a04b19eadbb3f2cb.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -324,7 +326,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_a7c08f966200af98db0313a3b517ce0a9.html b/classnlohmann_1_1basic__json_a7c08f966200af98db0313a3b517ce0a9.html
index bb53620cb..2ee9cc251 100644
--- a/classnlohmann_1_1basic__json_a7c08f966200af98db0313a3b517ce0a9.html
+++ b/classnlohmann_1_1basic__json_a7c08f966200af98db0313a3b517ce0a9.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -273,7 +275,7 @@ Illustration from cppreference.com
 
17  std::cout << *it << '\n';
18 }
a class to store JSON values
Definition: json.hpp:200
-
reverse_iterator rend()
returns an iterator to the reverse-end
Definition: json.hpp:3271
+
reverse_iterator rend()
returns an iterator to the reverse-end
Definition: json.hpp:3363
namespace for Niels Lohmann
Definition: json.hpp:96
a template for a reverse iterator class
Definition: json.hpp:245
Output (play with this example online):
1
@@ -287,7 +289,7 @@ Illustration from cppreference.com
 
 
 
diff --git a/classnlohmann_1_1basic__json_a7c19a5c3be6cc755377ee41eade78baf.html b/classnlohmann_1_1basic__json_a7c19a5c3be6cc755377ee41eade78baf.html
index abbfde684..e4f0d9603 100644
--- a/classnlohmann_1_1basic__json_a7c19a5c3be6cc755377ee41eade78baf.html
+++ b/classnlohmann_1_1basic__json_a7c19a5c3be6cc755377ee41eade78baf.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -273,8 +275,8 @@ template<template< typename U, typename V, typename...Args > class Obje
 
18  std::cout << "\"three\" was found: " << (it_three != j_object.end()) << '\n';
19 }
a class to store JSON values
Definition: json.hpp:200
-
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3188
-
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:3057
+
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3280
+
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:3149
namespace for Niels Lohmann
Definition: json.hpp:96
Output (play with this example online):
"two" was found: true
 value at key "two": 2
@@ -289,7 +291,7 @@ value at key "two": 2
 
 
 
diff --git a/classnlohmann_1_1basic__json_a7d0db3b728d820d4984df78d97d2b104.html b/classnlohmann_1_1basic__json_a7d0db3b728d820d4984df78d97d2b104.html
index a8b31641a..cf83e8a0c 100644
--- a/classnlohmann_1_1basic__json_a7d0db3b728d820d4984df78d97d2b104.html
+++ b/classnlohmann_1_1basic__json_a7d0db3b728d820d4984df78d97d2b104.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -241,7 +243,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a7d1b990f2c12fecb57db1504fdadd0bb.html b/classnlohmann_1_1basic__json_a7d1b990f2c12fecb57db1504fdadd0bb.html
index e242f4de3..b46f5d5f5 100644
--- a/classnlohmann_1_1basic__json_a7d1b990f2c12fecb57db1504fdadd0bb.html
+++ b/classnlohmann_1_1basic__json_a7d1b990f2c12fecb57db1504fdadd0bb.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -278,7 +280,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
17 }
a class to store JSON values
Definition: json.hpp:200
namespace for Niels Lohmann
Definition: json.hpp:96
-
InteratorType erase(InteratorType pos)
remove element given an iterator
Definition: json.hpp:2836
+
InteratorType erase(InteratorType pos)
remove element given an iterator
Definition: json.hpp:2924
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 
@@ -291,7 +293,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a7dab69b10b98e7bc694339720e37fb2b.html b/classnlohmann_1_1basic__json_a7dab69b10b98e7bc694339720e37fb2b.html index cc7f27b0c..86fe2febb 100644 --- a/classnlohmann_1_1basic__json_a7dab69b10b98e7bc694339720e37fb2b.html +++ b/classnlohmann_1_1basic__json_a7dab69b10b98e7bc694339720e37fb2b.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -273,8 +275,8 @@ template<template< typename U, typename V, typename...Args > class Obje
18  std::cout << "\"three\" was found: " << (it_three != j_object.end()) << '\n';
19 }
a class to store JSON values
Definition: json.hpp:200
-
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3188
-
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:3057
+
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3280
+
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:3149
namespace for Niels Lohmann
Definition: json.hpp:96
Output (play with this example online):
"two" was found: true
 value at key "two": 2
@@ -289,7 +291,7 @@ value at key "two": 2
 
 
 
diff --git a/classnlohmann_1_1basic__json_a7f97a91ad8f1d5cf0b9213bd24f247c4.html b/classnlohmann_1_1basic__json_a7f97a91ad8f1d5cf0b9213bd24f247c4.html
index 67f2067f5..c6e5d0bc7 100644
--- a/classnlohmann_1_1basic__json_a7f97a91ad8f1d5cf0b9213bd24f247c4.html
+++ b/classnlohmann_1_1basic__json_a7f97a91ad8f1d5cf0b9213bd24f247c4.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -301,7 +303,7 @@ null != nullptr false
 
 
 
diff --git a/classnlohmann_1_1basic__json_a80a89ddbe4cb7ef15b049febee208cc8.html b/classnlohmann_1_1basic__json_a80a89ddbe4cb7ef15b049febee208cc8.html
index a9be8257b..ad3ad13db 100644
--- a/classnlohmann_1_1basic__json_a80a89ddbe4cb7ef15b049febee208cc8.html
+++ b/classnlohmann_1_1basic__json_a80a89ddbe4cb7ef15b049febee208cc8.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -293,7 +295,7 @@ null
 
 
 
diff --git a/classnlohmann_1_1basic__json_a80ceaa3bdd346292273b309e08525c1c.html b/classnlohmann_1_1basic__json_a80ceaa3bdd346292273b309e08525c1c.html
index 876b9b518..3af86d99c 100644
--- a/classnlohmann_1_1basic__json_a80ceaa3bdd346292273b309e08525c1c.html
+++ b/classnlohmann_1_1basic__json_a80ceaa3bdd346292273b309e08525c1c.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -241,7 +243,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_a83cbbfbf5d3ecbad6de8ece0be6b36c4.html b/classnlohmann_1_1basic__json_a83cbbfbf5d3ecbad6de8ece0be6b36c4.html
index f5047d5da..7c13dc500 100644
--- a/classnlohmann_1_1basic__json_a83cbbfbf5d3ecbad6de8ece0be6b36c4.html
+++ b/classnlohmann_1_1basic__json_a83cbbfbf5d3ecbad6de8ece0be6b36c4.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -281,7 +283,7 @@ 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:2748
+
reference front()
access the first element
Definition: json.hpp:2836
a class to store JSON values
Definition: json.hpp:200
object (unordered set of name/value pairs)
namespace for Niels Lohmann
Definition: json.hpp:96
@@ -302,7 +304,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a87db51b6b936fb2ea293cdbc8702dcb8.html b/classnlohmann_1_1basic__json_a87db51b6b936fb2ea293cdbc8702dcb8.html index e8eb985b0..01d742f8c 100644 --- a/classnlohmann_1_1basic__json_a87db51b6b936fb2ea293cdbc8702dcb8.html +++ b/classnlohmann_1_1basic__json_a87db51b6b936fb2ea293cdbc8702dcb8.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -303,7 +305,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a8b526709d395142b68d21abfbfff17c3.html b/classnlohmann_1_1basic__json_a8b526709d395142b68d21abfbfff17c3.html index eb67b7e20..260805421 100644 --- a/classnlohmann_1_1basic__json_a8b526709d395142b68d21abfbfff17c3.html +++ b/classnlohmann_1_1basic__json_a8b526709d395142b68d21abfbfff17c3.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -281,7 +283,7 @@ 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:2748
+
reference front()
access the first element
Definition: json.hpp:2836
a class to store JSON values
Definition: json.hpp:200
object (unordered set of name/value pairs)
namespace for Niels Lohmann
Definition: json.hpp:96
@@ -302,7 +304,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a8c40cd9ead4de7c82f28268bdf0ec98a.html b/classnlohmann_1_1basic__json_a8c40cd9ead4de7c82f28268bdf0ec98a.html index 666299cc5..e107f4907 100644 --- a/classnlohmann_1_1basic__json_a8c40cd9ead4de7c82f28268bdf0ec98a.html +++ b/classnlohmann_1_1basic__json_a8c40cd9ead4de7c82f28268bdf0ec98a.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -297,7 +299,7 @@ template<template< typename U, typename V, typename...Args > class Obje
33 }
a class to store JSON values
Definition: json.hpp:200
namespace for Niels Lohmann
Definition: json.hpp:96
-
void clear() noexcept
clears the contents
Definition: json.hpp:3529
+
void clear() noexcept
clears the contents
Definition: json.hpp:3621
Output (play with this example online):
null
 false
 0
@@ -315,7 +317,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_a8fa74698f4061e18ec664009f3af1ddf.html b/classnlohmann_1_1basic__json_a8fa74698f4061e18ec664009f3af1ddf.html
index 487f8819b..715d24dec 100644
--- a/classnlohmann_1_1basic__json_a8fa74698f4061e18ec664009f3af1ddf.html
+++ b/classnlohmann_1_1basic__json_a8fa74698f4061e18ec664009f3af1ddf.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -300,10 +302,10 @@ template<template< typename U, typename V, typename...Args > class Obje
 
18  std::cout << v << '\n';
19 }
a class to store JSON values
Definition: json.hpp:200
-
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3188
-
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3133
+
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3280
+
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3225
namespace for Niels Lohmann
Definition: json.hpp:96
-
iterator insert(const_iterator pos, const basic_json &value)
inserts element
Definition: json.hpp:3723
+
iterator insert(const_iterator pos, const basic_json &value)
inserts element
Definition: json.hpp:3814
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 
@@ -316,7 +318,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_a930e14150ffa067bcf56d35cb00271e1.html b/classnlohmann_1_1basic__json_a930e14150ffa067bcf56d35cb00271e1.html index 0544de386..8f48a57da 100644 --- a/classnlohmann_1_1basic__json_a930e14150ffa067bcf56d35cb00271e1.html +++ b/classnlohmann_1_1basic__json_a930e14150ffa067bcf56d35cb00271e1.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -272,7 +274,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 ab2afd8c8..a2ede4278 100644 --- a/classnlohmann_1_1basic__json_a951a76ba057b3be948e7ba5c2c01cd5a.html +++ b/classnlohmann_1_1basic__json_a951a76ba057b3be948e7ba5c2c01cd5a.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -324,7 +326,7 @@ template<class CompatibleObjectType , typename std::enable_if< diff --git a/classnlohmann_1_1basic__json_a9730b9f7bc2150e641fe20198d4477c7.html b/classnlohmann_1_1basic__json_a9730b9f7bc2150e641fe20198d4477c7.html index ec49a8cce..837037185 100644 --- a/classnlohmann_1_1basic__json_a9730b9f7bc2150e641fe20198d4477c7.html +++ b/classnlohmann_1_1basic__json_a9730b9f7bc2150e641fe20198d4477c7.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -301,7 +303,7 @@ null == nullptr true diff --git a/classnlohmann_1_1basic__json_a98e05a2c9b8f74bd60442772cddeee52.html b/classnlohmann_1_1basic__json_a98e05a2c9b8f74bd60442772cddeee52.html index 7fcc8f156..6d34ab14c 100644 --- a/classnlohmann_1_1basic__json_a98e05a2c9b8f74bd60442772cddeee52.html +++ b/classnlohmann_1_1basic__json_a98e05a2c9b8f74bd60442772cddeee52.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -301,7 +303,7 @@ null == nullptr true diff --git a/classnlohmann_1_1basic__json_a9993148cb0473365e52998c7315f9ada.html b/classnlohmann_1_1basic__json_a9993148cb0473365e52998c7315f9ada.html index 2ddf1a5d0..aca71a441 100644 --- a/classnlohmann_1_1basic__json_a9993148cb0473365e52998c7315f9ada.html +++ b/classnlohmann_1_1basic__json_a9993148cb0473365e52998c7315f9ada.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -272,7 +274,7 @@ template<template< typename U, typename V, typename...Args > class Obje
24  std::cout << j_string.is_number_integer() << '\n';
25 }
a class to store JSON values
Definition: json.hpp:200
-
bool is_number_integer() const noexcept
return whether value is an integer number
Definition: json.hpp:1888
+
bool is_number_integer() const noexcept
return whether value is an integer number
Definition: json.hpp:1886
namespace for Niels Lohmann
Definition: json.hpp:96
Output (play with this example online):
false
 false
@@ -291,7 +293,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_a9c26c5d0f4a519c7236149b9aeb3ef9e.html b/classnlohmann_1_1basic__json_a9c26c5d0f4a519c7236149b9aeb3ef9e.html
index 20f9dc774..34e42cc4c 100644
--- a/classnlohmann_1_1basic__json_a9c26c5d0f4a519c7236149b9aeb3ef9e.html
+++ b/classnlohmann_1_1basic__json_a9c26c5d0f4a519c7236149b9aeb3ef9e.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -273,7 +275,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
25 }
a class to store JSON values
Definition: json.hpp:200
namespace for Niels Lohmann
Definition: json.hpp:96
-
bool is_number_float() const noexcept
return whether value is a floating-point number
Definition: json.hpp:1906
+
bool is_number_float() const noexcept
return whether value is a floating-point number
Definition: json.hpp:1904
Output (play with this example online):
false
 false
 false
@@ -291,7 +293,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_a9f17a0690155e3a5603246ccec81499e.html b/classnlohmann_1_1basic__json_a9f17a0690155e3a5603246ccec81499e.html
index 660fed45f..42b150fb0 100644
--- a/classnlohmann_1_1basic__json_a9f17a0690155e3a5603246ccec81499e.html
+++ b/classnlohmann_1_1basic__json_a9f17a0690155e3a5603246ccec81499e.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -273,7 +275,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
25 }
a class to store JSON values
Definition: json.hpp:200
namespace for Niels Lohmann
Definition: json.hpp:96
-
bool is_primitive() const noexcept
return whether type is primitive
Definition: json.hpp:1800
+
bool is_primitive() const noexcept
return whether type is primitive
Definition: json.hpp:1798
Output (play with this example online):
true
 true
 true
@@ -291,7 +293,7 @@ true
 
 
 
diff --git a/classnlohmann_1_1basic__json_aa0422e861b4cbd7cdcaad7a11a1304a9.html b/classnlohmann_1_1basic__json_aa0422e861b4cbd7cdcaad7a11a1304a9.html
index 7b7e4dced..8ffd956fc 100644
--- a/classnlohmann_1_1basic__json_aa0422e861b4cbd7cdcaad7a11a1304a9.html
+++ b/classnlohmann_1_1basic__json_aa0422e861b4cbd7cdcaad7a11a1304a9.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -263,7 +265,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_aa1f3b3f1dca79392d6727b81f9668c6c.html b/classnlohmann_1_1basic__json_aa1f3b3f1dca79392d6727b81f9668c6c.html
index a52925ec3..820f0237a 100644
--- a/classnlohmann_1_1basic__json_aa1f3b3f1dca79392d6727b81f9668c6c.html
+++ b/classnlohmann_1_1basic__json_aa1f3b3f1dca79392d6727b81f9668c6c.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -285,7 +287,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
object (unordered set of name/value pairs)
namespace for Niels Lohmann
Definition: json.hpp:96
array (ordered collection of values)
-
reference back()
access the last element
Definition: json.hpp:2780
+
reference back()
access the last element
Definition: json.hpp:2868
Output (play with this example online):
true
 17
 23.42
@@ -302,7 +304,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_aa5413178b8041f7ac685dec4b040dd2c.html b/classnlohmann_1_1basic__json_aa5413178b8041f7ac685dec4b040dd2c.html
index 570de7e3e..879d0cf42 100644
--- a/classnlohmann_1_1basic__json_aa5413178b8041f7ac685dec4b040dd2c.html
+++ b/classnlohmann_1_1basic__json_aa5413178b8041f7ac685dec4b040dd2c.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -274,9 +276,9 @@ Illustration from cppreference.com
 
17  std::cout << *it << '\n';
18 }
a class to store JSON values
Definition: json.hpp:200
-
const_iterator cend() const
returns a const iterator to one past the last element
Definition: json.hpp:3220
+
const_iterator cend() const
returns a const iterator to one past the last element
Definition: json.hpp:3312
namespace for Niels Lohmann
Definition: json.hpp:96
-
a const random access iterator for the basic_json class
Definition: json.hpp:4928
+
a const random access iterator for the basic_json class
Definition: json.hpp:5026
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 
@@ -288,7 +290,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_aa6a24b176f9599a21d662cc5f8e1ca76.html b/classnlohmann_1_1basic__json_aa6a24b176f9599a21d662cc5f8e1ca76.html index 807888e20..f5ef5c6c6 100644 --- a/classnlohmann_1_1basic__json_aa6a24b176f9599a21d662cc5f8e1ca76.html +++ b/classnlohmann_1_1basic__json_aa6a24b176f9599a21d662cc5f8e1ca76.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -259,7 +261,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 37007b35d..d7e7ca740 100644 --- a/classnlohmann_1_1basic__json_aa71e977d31f470689883ac60d16ea4ac.html +++ b/classnlohmann_1_1basic__json_aa71e977d31f470689883ac60d16ea4ac.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -265,7 +267,7 @@ template<template< typename U, typename V, typename...Args > class Obje
5 int main()
6 {
7  // create a JSON value
-
8  json value = {{"array", {1, 2, 3, 4}}};
+
8  json value = {{"array", {1, 2, 3, 4}}};
9 
10  // create an array_t
11  json::array_t array = {"Snap", "Crackle", "Pop"};
@@ -279,8 +281,9 @@ template<template< typename U, typename V, typename...Args > class Obje
19 }
ArrayType< basic_json, AllocatorType< basic_json >> array_t
a type for an array
Definition: json.hpp:384
a class to store JSON values
Definition: json.hpp:200
+
ValueType value(const typename object_t::key_type &key, ValueType default_value) const
access specified object element with default value
Definition: json.hpp:2787
namespace for Niels Lohmann
Definition: json.hpp:96
-
void swap(reference other) noexcept( std::is_nothrow_move_constructible< value_t >::value and std::is_nothrow_move_assignable< value_t >::value and std::is_nothrow_move_constructible< json_value >::value and std::is_nothrow_move_assignable< json_value >::value )
exchanges the values
Definition: json.hpp:3901
+
void swap(reference other) noexcept( std::is_nothrow_move_constructible< value_t >::value and std::is_nothrow_move_assignable< value_t >::value and std::is_nothrow_move_constructible< json_value >::value and std::is_nothrow_move_assignable< json_value >::value )
exchanges the values
Definition: json.hpp:3996
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 
@@ -293,7 +296,7 @@ array = [1,2,3,4] diff --git a/classnlohmann_1_1basic__json_aa8e533b4290ade5bf5a33104a69b202a.html b/classnlohmann_1_1basic__json_aa8e533b4290ade5bf5a33104a69b202a.html index 5fee2b587..1c588f7d4 100644 --- a/classnlohmann_1_1basic__json_aa8e533b4290ade5bf5a33104a69b202a.html +++ b/classnlohmann_1_1basic__json_aa8e533b4290ade5bf5a33104a69b202a.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -274,7 +276,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 646a20359..e2df4ad47 100644 --- a/classnlohmann_1_1basic__json_aac185a137428a7337aa620de07bfbbd7.html +++ b/classnlohmann_1_1basic__json_aac185a137428a7337aa620de07bfbbd7.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -267,7 +269,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_aacd442b66140c764c594ac8ad7dfd5b3.html b/classnlohmann_1_1basic__json_aacd442b66140c764c594ac8ad7dfd5b3.html index 472ecab4e..fbf39ab50 100644 --- a/classnlohmann_1_1basic__json_aacd442b66140c764c594ac8ad7dfd5b3.html +++ b/classnlohmann_1_1basic__json_aacd442b66140c764c594ac8ad7dfd5b3.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -307,7 +309,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_aacf6c869f6a9c66ac1bc99e93f310044.html b/classnlohmann_1_1basic__json_aacf6c869f6a9c66ac1bc99e93f310044.html index 7d795e55a..15c3b9f8e 100644 --- a/classnlohmann_1_1basic__json_aacf6c869f6a9c66ac1bc99e93f310044.html +++ b/classnlohmann_1_1basic__json_aacf6c869f6a9c66ac1bc99e93f310044.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -261,7 +263,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 9242ef221..48c4792bd 100644 --- a/classnlohmann_1_1basic__json_aaf363408931d76472ded14017e59c9e8.html +++ b/classnlohmann_1_1basic__json_aaf363408931d76472ded14017e59c9e8.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -319,7 +321,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_aafa839f2a74dc1b5060314b3423143b8.html b/classnlohmann_1_1basic__json_aafa839f2a74dc1b5060314b3423143b8.html index 367958d8a..11efea257 100644 --- a/classnlohmann_1_1basic__json_aafa839f2a74dc1b5060314b3423143b8.html +++ b/classnlohmann_1_1basic__json_aafa839f2a74dc1b5060314b3423143b8.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -248,7 +250,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 7c43a8a5c..cb1ce90aa 100644 --- a/classnlohmann_1_1basic__json_ab14e3503305622fb5ab01a7f490916e8.html +++ b/classnlohmann_1_1basic__json_ab14e3503305622fb5ab01a7f490916e8.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -288,9 +290,9 @@ template<template< typename U, typename V, typename...Args > class Obje
15  std::cout << v << '\n';
16 }
a class to store JSON values
Definition: json.hpp:200
-
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3188
+
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3280
namespace for Niels Lohmann
Definition: json.hpp:96
-
iterator insert(const_iterator pos, const basic_json &value)
inserts element
Definition: json.hpp:3723
+
iterator insert(const_iterator pos, const basic_json &value)
inserts element
Definition: json.hpp:3814
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 
@@ -303,7 +305,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_ab2162bc76e10d8736cab9b2039956054.html b/classnlohmann_1_1basic__json_ab2162bc76e10d8736cab9b2039956054.html index 07c841998..f7c0e3257 100644 --- a/classnlohmann_1_1basic__json_ab2162bc76e10d8736cab9b2039956054.html +++ b/classnlohmann_1_1basic__json_ab2162bc76e10d8736cab9b2039956054.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -273,8 +275,8 @@ Illustration from cppreference.com
17  std::cout << *it << '\n';
18 }
a class to store JSON values
Definition: json.hpp:200
-
a mutable random access iterator for the basic_json class
Definition: json.hpp:5432
-
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3188
+
a mutable random access iterator for the basic_json class
Definition: json.hpp:5528
+
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3280
namespace for Niels Lohmann
Definition: json.hpp:96
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 
@@ -287,7 +289,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_ab67345ba5c81c903eddd4eb2a24ac658.html b/classnlohmann_1_1basic__json_ab67345ba5c81c903eddd4eb2a24ac658.html index a52e59303..f02786255 100644 --- a/classnlohmann_1_1basic__json_ab67345ba5c81c903eddd4eb2a24ac658.html +++ b/classnlohmann_1_1basic__json_ab67345ba5c81c903eddd4eb2a24ac658.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -288,9 +290,9 @@ template<template< typename U, typename V, typename...Args > class Obje
15  std::cout << v << '\n';
16 }
a class to store JSON values
Definition: json.hpp:200
-
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3133
+
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3225
namespace for Niels Lohmann
Definition: json.hpp:96
-
iterator insert(const_iterator pos, const basic_json &value)
inserts element
Definition: json.hpp:3723
+
iterator insert(const_iterator pos, const basic_json &value)
inserts element
Definition: json.hpp:3814
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 
@@ -303,7 +305,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_ab9a20bd1d391e9cb968db50c246f728d.html b/classnlohmann_1_1basic__json_ab9a20bd1d391e9cb968db50c246f728d.html index 2be9dbd8c..2060fc68d 100644 --- a/classnlohmann_1_1basic__json_ab9a20bd1d391e9cb968db50c246f728d.html +++ b/classnlohmann_1_1basic__json_ab9a20bd1d391e9cb968db50c246f728d.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -296,7 +298,7 @@ template<template< typename U, typename V, typename...Args > class Obje
27  std::cout << j_string.size() << '\n';
28 }
a class to store JSON values
Definition: json.hpp:200
-
size_type size() const noexcept
returns the number of elements
Definition: json.hpp:3417
+
size_type size() const noexcept
returns the number of elements
Definition: json.hpp:3509
object (unordered set of name/value pairs)
namespace for Niels Lohmann
Definition: json.hpp:96
array (ordered collection of values)
@@ -319,7 +321,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_ab9da2afc6f77295f25252725fde142a6.html b/classnlohmann_1_1basic__json_ab9da2afc6f77295f25252725fde142a6.html index 58352fb99..a5ce0d2ac 100644 --- a/classnlohmann_1_1basic__json_ab9da2afc6f77295f25252725fde142a6.html +++ b/classnlohmann_1_1basic__json_ab9da2afc6f77295f25252725fde142a6.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -285,7 +287,7 @@ template<template< typename U, typename V, typename...Args > class Obje
object (unordered set of name/value pairs)
namespace for Niels Lohmann
Definition: json.hpp:96
array (ordered collection of values)
-
reference back()
access the last element
Definition: json.hpp:2780
+
reference back()
access the last element
Definition: json.hpp:2868
Output (play with this example online):
true
 17
 23.42
@@ -302,7 +304,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_abe8f3224ca4041908ddb466cb9caecf1.html b/classnlohmann_1_1basic__json_abe8f3224ca4041908ddb466cb9caecf1.html
index a60f1c10c..d23e87d01 100644
--- a/classnlohmann_1_1basic__json_abe8f3224ca4041908ddb466cb9caecf1.html
+++ b/classnlohmann_1_1basic__json_abe8f3224ca4041908ddb466cb9caecf1.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -293,7 +295,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
24 }
a class to store JSON values
Definition: json.hpp:200
namespace for Niels Lohmann
Definition: json.hpp:96
-
size_type max_size() const noexcept
returns the maximum possible number of elements
Definition: json.hpp:3474
+
size_type max_size() const noexcept
returns the maximum possible number of elements
Definition: json.hpp:3566
Output (play with this example online):
0
 1
 1
@@ -311,7 +313,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_ac4011bd0781e51afe4994d2b09fd27e9.html b/classnlohmann_1_1basic__json_ac4011bd0781e51afe4994d2b09fd27e9.html
index d511ebb40..c256d387c 100644
--- a/classnlohmann_1_1basic__json_ac4011bd0781e51afe4994d2b09fd27e9.html
+++ b/classnlohmann_1_1basic__json_ac4011bd0781e51afe4994d2b09fd27e9.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -241,7 +243,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_ac8163abe518595f19dbee68db1caaaf7.html b/classnlohmann_1_1basic__json_ac8163abe518595f19dbee68db1caaaf7.html
index ec581a31d..4336ed23a 100644
--- a/classnlohmann_1_1basic__json_ac8163abe518595f19dbee68db1caaaf7.html
+++ b/classnlohmann_1_1basic__json_ac8163abe518595f19dbee68db1caaaf7.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -272,7 +274,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
24  std::cout << j_string.is_object() << '\n';
25 }
a class to store JSON values
Definition: json.hpp:200
-
bool is_object() const noexcept
return whether value is an object
Definition: json.hpp:1923
+
bool is_object() const noexcept
return whether value is an object
Definition: json.hpp:1921
namespace for Niels Lohmann
Definition: json.hpp:96
Output (play with this example online):
false
 false
@@ -291,7 +293,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_ac82abedf356d252e0589850c3d8b35ba.html b/classnlohmann_1_1basic__json_ac82abedf356d252e0589850c3d8b35ba.html
index de5b61001..cdcf6ec8c 100644
--- a/classnlohmann_1_1basic__json_ac82abedf356d252e0589850c3d8b35ba.html
+++ b/classnlohmann_1_1basic__json_ac82abedf356d252e0589850c3d8b35ba.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -258,7 +260,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 99f371743..6e1f78a71 100644
--- a/classnlohmann_1_1basic__json_ac943391891fcde0a71a15ce990e0f7f4.html
+++ b/classnlohmann_1_1basic__json_ac943391891fcde0a71a15ce990e0f7f4.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -293,7 +295,7 @@ true
 
 
 
diff --git a/classnlohmann_1_1basic__json_acbf7f957ecb6ce19cdc5b40b5d6b6333.html b/classnlohmann_1_1basic__json_acbf7f957ecb6ce19cdc5b40b5d6b6333.html
index f493ee2f4..357eb5abc 100644
--- a/classnlohmann_1_1basic__json_acbf7f957ecb6ce19cdc5b40b5d6b6333.html
+++ b/classnlohmann_1_1basic__json_acbf7f957ecb6ce19cdc5b40b5d6b6333.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -282,7 +284,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 e8e5d962f..b1bb37571 100644
--- a/classnlohmann_1_1basic__json_acdf4445333649ec94198f09a62144884.html
+++ b/classnlohmann_1_1basic__json_acdf4445333649ec94198f09a62144884.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -270,8 +272,8 @@ Illustration from cppreference.com
 
14  std::cout << *it << '\n';
15 }
a class to store JSON values
Definition: json.hpp:200
-
a mutable random access iterator for the basic_json class
Definition: json.hpp:5432
-
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3133
+
a mutable random access iterator for the basic_json class
Definition: json.hpp:5528
+
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3225
namespace for Niels Lohmann
Definition: json.hpp:96
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 
@@ -284,7 +286,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_ace8338e57fdb11e1955c2a0c2d782069.html b/classnlohmann_1_1basic__json_ace8338e57fdb11e1955c2a0c2d782069.html index e8f4fc8e5..91e1c63f3 100644 --- a/classnlohmann_1_1basic__json_ace8338e57fdb11e1955c2a0c2d782069.html +++ b/classnlohmann_1_1basic__json_ace8338e57fdb11e1955c2a0c2d782069.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -256,7 +258,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 9f86d0995..965be4bde 100644 --- a/classnlohmann_1_1basic__json_ad1f617d29e8923dd40c89153f792b1bc.html +++ b/classnlohmann_1_1basic__json_ad1f617d29e8923dd40c89153f792b1bc.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -277,7 +279,7 @@ 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:1409
+
static basic_json object(std::initializer_list< basic_json > init=std::initializer_list< basic_json >())
explicitly create an object from an initializer list
Definition: json.hpp:1408
a class to store JSON values
Definition: json.hpp:200
namespace for Niels Lohmann
Definition: json.hpp:96
Output (play with this example online):
{}
@@ -296,7 +298,7 @@ basic_json array(std::initializer_list<basic_json>) - create a JSON array
 
 
 
diff --git a/classnlohmann_1_1basic__json_ad2c4513cef5d8db760c4b2d871eea42c.html b/classnlohmann_1_1basic__json_ad2c4513cef5d8db760c4b2d871eea42c.html
index 8fba7d48f..a92963a02 100644
--- a/classnlohmann_1_1basic__json_ad2c4513cef5d8db760c4b2d871eea42c.html
+++ b/classnlohmann_1_1basic__json_ad2c4513cef5d8db760c4b2d871eea42c.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -252,7 +254,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_ad497cbc4f80c8d79662ee6e19bf145dd.html b/classnlohmann_1_1basic__json_ad497cbc4f80c8d79662ee6e19bf145dd.html
index d49aad78f..988c4a05f 100644
--- a/classnlohmann_1_1basic__json_ad497cbc4f80c8d79662ee6e19bf145dd.html
+++ b/classnlohmann_1_1basic__json_ad497cbc4f80c8d79662ee6e19bf145dd.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -318,11 +320,11 @@ template<class InteratorType , typename std::enable_if<
 
29  std::cout << j_string << '\n';
30 }
a class to store JSON values
Definition: json.hpp:200
-
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3188
-
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3133
-
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:3057
+
iterator end()
returns an iterator to one past the last element
Definition: json.hpp:3280
+
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3225
+
iterator find(typename object_t::key_type key)
find an element in a JSON object
Definition: json.hpp:3149
namespace for Niels Lohmann
Definition: json.hpp:96
-
InteratorType erase(InteratorType pos)
remove element given an iterator
Definition: json.hpp:2836
+
InteratorType erase(InteratorType pos)
remove element given an iterator
Definition: json.hpp:2924
Output (play with this example online):
null
 null
 null
@@ -339,7 +341,7 @@ null
 
 
 
diff --git a/classnlohmann_1_1basic__json_ad7067a1a8ad2d88125915ada6d4d79b7.html b/classnlohmann_1_1basic__json_ad7067a1a8ad2d88125915ada6d4d79b7.html
index 9fd41f690..84ed384a1 100644
--- a/classnlohmann_1_1basic__json_ad7067a1a8ad2d88125915ada6d4d79b7.html
+++ b/classnlohmann_1_1basic__json_ad7067a1a8ad2d88125915ada6d4d79b7.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -346,7 +348,7 @@ template<class CompatibleArrayType , typename std::enable_if<
 
 
 
diff --git a/classnlohmann_1_1basic__json_ad8e0c5d04f016d1b3ac7369e5c73bedf.html b/classnlohmann_1_1basic__json_ad8e0c5d04f016d1b3ac7369e5c73bedf.html
index 1a137b72f..ade7d75e1 100644
--- a/classnlohmann_1_1basic__json_ad8e0c5d04f016d1b3ac7369e5c73bedf.html
+++ b/classnlohmann_1_1basic__json_ad8e0c5d04f016d1b3ac7369e5c73bedf.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -271,9 +273,9 @@ Illustration from cppreference.com
 
14  std::cout << *it << '\n';
15 }
a class to store JSON values
Definition: json.hpp:200
-
const_iterator cbegin() const
returns a const iterator to the first element
Definition: json.hpp:3165
+
const_iterator cbegin() const
returns a const iterator to the first element
Definition: json.hpp:3257
namespace for Niels Lohmann
Definition: json.hpp:96
-
a const random access iterator for the basic_json class
Definition: json.hpp:4928
+
a const random access iterator for the basic_json class
Definition: json.hpp:5026
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 
@@ -285,7 +287,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_ada8e01109a60088e4db2a670d4903b54.html b/classnlohmann_1_1basic__json_ada8e01109a60088e4db2a670d4903b54.html index 154ec0bb4..1b7c63d95 100644 --- a/classnlohmann_1_1basic__json_ada8e01109a60088e4db2a670d4903b54.html +++ b/classnlohmann_1_1basic__json_ada8e01109a60088e4db2a670d4903b54.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -288,9 +290,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:1371
+
static basic_json array(std::initializer_list< basic_json > init=std::initializer_list< basic_json >())
explicitly create an array from an initializer list
Definition: json.hpp:1370
a class to store JSON values
Definition: json.hpp:200
-
reference at(size_type idx)
access specified array element with bounds checking
Definition: json.hpp:2478
+
reference at(size_type idx)
access specified array element with bounds checking
Definition: json.hpp:2454
namespace for Niels Lohmann
Definition: json.hpp:96
Output (play with this example online):
"third"
 ["first","second","third","fourth"]
@@ -305,7 +307,7 @@ out of range
 
 
 
diff --git a/classnlohmann_1_1basic__json_adbd4c16c9ac641b2a4736bc2c6787d83.html b/classnlohmann_1_1basic__json_adbd4c16c9ac641b2a4736bc2c6787d83.html
index 6fa852346..c6eec8908 100644
--- a/classnlohmann_1_1basic__json_adbd4c16c9ac641b2a4736bc2c6787d83.html
+++ b/classnlohmann_1_1basic__json_adbd4c16c9ac641b2a4736bc2c6787d83.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -241,7 +243,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_add77b50f69debb20e98d5a8c6c11c90c.html b/classnlohmann_1_1basic__json_add77b50f69debb20e98d5a8c6c11c90c.html
index 4a686ea2e..4bdb6519f 100644
--- a/classnlohmann_1_1basic__json_add77b50f69debb20e98d5a8c6c11c90c.html
+++ b/classnlohmann_1_1basic__json_add77b50f69debb20e98d5a8c6c11c90c.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -280,7 +282,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
15  std::cout << array_1 << '\n';
16  std::cout << array_5 << '\n';
17 }
-
basic_json<> json
default JSON class
Definition: json.hpp:7244
+
basic_json<> json
default JSON class
Definition: json.hpp:7340
a class to store JSON values
Definition: json.hpp:200
namespace for Niels Lohmann
Definition: json.hpp:96
Output (play with this example online):
[]
@@ -296,7 +298,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 825592cc4..01e22d04f 100644
--- a/classnlohmann_1_1basic__json_ade7bd6e0fe221fec9d3fa9b430f5ce76.html
+++ b/classnlohmann_1_1basic__json_ade7bd6e0fe221fec9d3fa9b430f5ce76.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -275,7 +277,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
20 }
a class to store JSON values
Definition: json.hpp:200
namespace for Niels Lohmann
Definition: json.hpp:96
-
string_t dump(const int indent=-1) const
serialization
Definition: json.hpp:1752
+
string_t dump(const int indent=-1) const
serialization
Definition: json.hpp:1750
Output (play with this example online):
{"one":1,"two":2}
 
 {"one":1,"two":2}
@@ -321,7 +323,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_adf5dea6fa9d7075ff89ca0796ab47a7e.html b/classnlohmann_1_1basic__json_adf5dea6fa9d7075ff89ca0796ab47a7e.html
index f61e7c246..aaa772873 100644
--- a/classnlohmann_1_1basic__json_adf5dea6fa9d7075ff89ca0796ab47a7e.html
+++ b/classnlohmann_1_1basic__json_adf5dea6fa9d7075ff89ca0796ab47a7e.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -287,7 +289,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_ae2980ed978451f844e6e9a0890b637a6.html b/classnlohmann_1_1basic__json_ae2980ed978451f844e6e9a0890b637a6.html
index 12dc22ca4..f3070d10c 100644
--- a/classnlohmann_1_1basic__json_ae2980ed978451f844e6e9a0890b637a6.html
+++ b/classnlohmann_1_1basic__json_ae2980ed978451f844e6e9a0890b637a6.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -280,7 +282,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_ae347859ec88176ef76a0cbe5b4514fcf.html b/classnlohmann_1_1basic__json_ae347859ec88176ef76a0cbe5b4514fcf.html
index b5a7cb7c1..d7980db0b 100644
--- a/classnlohmann_1_1basic__json_ae347859ec88176ef76a0cbe5b4514fcf.html
+++ b/classnlohmann_1_1basic__json_ae347859ec88176ef76a0cbe5b4514fcf.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -301,7 +303,7 @@ null != nullptr false
 
 
 
diff --git a/classnlohmann_1_1basic__json_ae42d32c34c8014b1bf677fdb7baa5401.html b/classnlohmann_1_1basic__json_ae42d32c34c8014b1bf677fdb7baa5401.html
index 741a1f609..12c8daad7 100644
--- a/classnlohmann_1_1basic__json_ae42d32c34c8014b1bf677fdb7baa5401.html
+++ b/classnlohmann_1_1basic__json_ae42d32c34c8014b1bf677fdb7baa5401.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -295,7 +297,7 @@ template<class CompatibleStringType , typename std::enable_if<
 
 
 
diff --git a/classnlohmann_1_1basic__json_ae50f22a1c646b8627e88f1313cceffd4.html b/classnlohmann_1_1basic__json_ae50f22a1c646b8627e88f1313cceffd4.html
index 76d1193fd..b83228d33 100644
--- a/classnlohmann_1_1basic__json_ae50f22a1c646b8627e88f1313cceffd4.html
+++ b/classnlohmann_1_1basic__json_ae50f22a1c646b8627e88f1313cceffd4.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -262,7 +264,7 @@ template<typename PointerType , typename std::enable_if<
 
5 int main()
6 {
7  // create a JSON number
-
8  json value = 17;
+
8  json value = 17;
9 
10  // explicitly getting pointers
11  auto p1 = value.get<const json::number_integer_t*>();
@@ -276,8 +278,9 @@ template<typename PointerType , typename std::enable_if<
19  std::cout << std::boolalpha << (p5 == nullptr) << '\n';
20 }
a class to store JSON values
Definition: json.hpp:200
+
ValueType value(const typename object_t::key_type &key, ValueType default_value) const
access specified object element with default value
Definition: json.hpp:2787
namespace for Niels Lohmann
Definition: json.hpp:96
-
ValueType get() const
get a value (explicit)
Definition: json.hpp:2313
+
ValueType get() const
get a value (explicit)
Definition: json.hpp:2289
NumberIntegerType number_integer_t
a type for a number (integer)
Definition: json.hpp:516
NumberFloatType number_float_t
a type for a number (floating-point)
Definition: json.hpp:576
Output (play with this example online):
17 17 17 17
@@ -293,7 +296,7 @@ true
 
 
 
diff --git a/classnlohmann_1_1basic__json_ae5ae3b1c6c67f52e9495ac092f6fb43e.html b/classnlohmann_1_1basic__json_ae5ae3b1c6c67f52e9495ac092f6fb43e.html
index c9fbc8332..803abd9d7 100644
--- a/classnlohmann_1_1basic__json_ae5ae3b1c6c67f52e9495ac092f6fb43e.html
+++ b/classnlohmann_1_1basic__json_ae5ae3b1c6c67f52e9495ac092f6fb43e.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -288,9 +290,9 @@ template<template< typename U, typename V, typename...Args > class Obje
 
15  std::cout << v << '\n';
16 }
a class to store JSON values
Definition: json.hpp:200
-
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3133
+
iterator begin()
returns an iterator to the first element
Definition: json.hpp:3225
namespace for Niels Lohmann
Definition: json.hpp:96
-
iterator insert(const_iterator pos, const basic_json &value)
inserts element
Definition: json.hpp:3723
+
iterator insert(const_iterator pos, const basic_json &value)
inserts element
Definition: json.hpp:3814
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 
@@ -303,7 +305,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_ae874cfc1746b560c53a03bcf5b7bbeed.html b/classnlohmann_1_1basic__json_ae874cfc1746b560c53a03bcf5b7bbeed.html index c92d736d1..cbecb3d01 100644 --- a/classnlohmann_1_1basic__json_ae874cfc1746b560c53a03bcf5b7bbeed.html +++ b/classnlohmann_1_1basic__json_ae874cfc1746b560c53a03bcf5b7bbeed.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -272,7 +274,7 @@ template<template< typename U, typename V, typename...Args > class Obje
24  std::cout << j_string.is_structured() << '\n';
25 }
a class to store JSON values
Definition: json.hpp:200
-
bool is_structured() const noexcept
return whether type is structured
Definition: json.hpp:1818
+
bool is_structured() const noexcept
return whether type is structured
Definition: json.hpp:1816
namespace for Niels Lohmann
Definition: json.hpp:96
Output (play with this example online):
false
 false
@@ -291,7 +293,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_ae928414b2805cf6ef56b4e4f8d235416.html b/classnlohmann_1_1basic__json_ae928414b2805cf6ef56b4e4f8d235416.html
index 601327509..842830381 100644
--- a/classnlohmann_1_1basic__json_ae928414b2805cf6ef56b4e4f8d235416.html
+++ b/classnlohmann_1_1basic__json_ae928414b2805cf6ef56b4e4f8d235416.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -241,7 +243,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_ae960d2d6bc7b94fe39cc5e9f106edfa9.html b/classnlohmann_1_1basic__json_ae960d2d6bc7b94fe39cc5e9f106edfa9.html
index f7d029111..6bbb3e8dd 100644
--- a/classnlohmann_1_1basic__json_ae960d2d6bc7b94fe39cc5e9f106edfa9.html
+++ b/classnlohmann_1_1basic__json_ae960d2d6bc7b94fe39cc5e9f106edfa9.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -272,7 +274,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
11  std::cout << array.at(2) << '\n';
12 }
a class to store JSON values
Definition: json.hpp:200
-
reference at(size_type idx)
access specified array element with bounds checking
Definition: json.hpp:2478
+
reference at(size_type idx)
access specified array element with bounds checking
Definition: json.hpp:2454
namespace for Niels Lohmann
Definition: json.hpp:96
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 
@@ -285,7 +287,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_aea1c863b719b4ca5b77188c171bbfafe.html b/classnlohmann_1_1basic__json_aea1c863b719b4ca5b77188c171bbfafe.html index 14fb535dc..e5a0f325d 100644 --- a/classnlohmann_1_1basic__json_aea1c863b719b4ca5b77188c171bbfafe.html +++ b/classnlohmann_1_1basic__json_aea1c863b719b4ca5b77188c171bbfafe.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -270,7 +272,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 4a3e454cc..57d31ecad 100644 --- a/classnlohmann_1_1basic__json_aeda4ec7473c17fae51e6d1eba0faf720.html +++ b/classnlohmann_1_1basic__json_aeda4ec7473c17fae51e6d1eba0faf720.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -284,7 +286,7 @@ template<template< typename U, typename V, typename...Args > class Obje
24 }
a class to store JSON values
Definition: json.hpp:200
namespace for Niels Lohmann
Definition: json.hpp:96
-
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3594
+
void push_back(basic_json &&value)
add an object to an array
Definition: json.hpp:3685
Output (play with this example online):
{"one":1,"two":2}
 null
 {"four":4,"one":1,"three":3,"two":2}
@@ -299,7 +301,7 @@ null
 
 
 
diff --git a/classnlohmann_1_1basic__json_af073eec08d2e68924098aef09e9a10ba.html b/classnlohmann_1_1basic__json_af073eec08d2e68924098aef09e9a10ba.html
index bc07c4300..217e1bf96 100644
--- a/classnlohmann_1_1basic__json_af073eec08d2e68924098aef09e9a10ba.html
+++ b/classnlohmann_1_1basic__json_af073eec08d2e68924098aef09e9a10ba.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -271,7 +273,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
17 }
a class to store JSON values
Definition: json.hpp:200
namespace for Niels Lohmann
Definition: json.hpp:96
-
void swap(reference other) noexcept( std::is_nothrow_move_constructible< value_t >::value and std::is_nothrow_move_assignable< value_t >::value and std::is_nothrow_move_constructible< json_value >::value and std::is_nothrow_move_assignable< json_value >::value )
exchanges the values
Definition: json.hpp:3901
+
void swap(reference other) noexcept( std::is_nothrow_move_constructible< value_t >::value and std::is_nothrow_move_assignable< value_t >::value and std::is_nothrow_move_constructible< json_value >::value and std::is_nothrow_move_assignable< json_value >::value )
exchanges the values
Definition: json.hpp:3996
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 
@@ -284,7 +286,7 @@ j2 = [1,2,3,4,5] diff --git a/classnlohmann_1_1basic__json_af0ebd1757acb971a6504b4acabf88584.html b/classnlohmann_1_1basic__json_af0ebd1757acb971a6504b4acabf88584.html index e957bf31c..e8346dc2f 100644 --- a/classnlohmann_1_1basic__json_af0ebd1757acb971a6504b4acabf88584.html +++ b/classnlohmann_1_1basic__json_af0ebd1757acb971a6504b4acabf88584.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -271,7 +273,7 @@ Illustration from cppreference.com
15 }
a class to store JSON values
Definition: json.hpp:200
namespace for Niels Lohmann
Definition: json.hpp:96
-
reverse_iterator rbegin()
returns an iterator to the reverse-beginning
Definition: json.hpp:3242
+
reverse_iterator rbegin()
returns an iterator to the reverse-beginning
Definition: json.hpp:3334
a template for a reverse iterator class
Definition: json.hpp:245
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 
@@ -284,7 +286,7 @@ Illustration from cppreference.com diff --git a/classnlohmann_1_1basic__json_af1e3f9e079136abca2530c8191c56292.html b/classnlohmann_1_1basic__json_af1e3f9e079136abca2530c8191c56292.html index 84d8a0466..c0badd932 100644 --- a/classnlohmann_1_1basic__json_af1e3f9e079136abca2530c8191c56292.html +++ b/classnlohmann_1_1basic__json_af1e3f9e079136abca2530c8191c56292.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -313,7 +315,7 @@ template<template< typename U, typename V, typename...Args > class Obje
18  std::cout << j_nested_object << '\n';
19  std::cout << j_nested_array << '\n';
20 }
-
basic_json<> json
default JSON class
Definition: json.hpp:7244
+
basic_json<> json
default JSON class
Definition: json.hpp:7340
a class to store JSON values
Definition: json.hpp:200
namespace for Niels Lohmann
Definition: json.hpp:96
Output (play with this example online):
{}
@@ -334,7 +336,7 @@ basic_json object(std::initializer_list<basic_json>) - create a JSON objec
 
 
 
diff --git a/classnlohmann_1_1basic__json_af2730bc8ffa6b28916875c13ee7b83f5.html b/classnlohmann_1_1basic__json_af2730bc8ffa6b28916875c13ee7b83f5.html
index 2a494ff08..1b9c61a2e 100644
--- a/classnlohmann_1_1basic__json_af2730bc8ffa6b28916875c13ee7b83f5.html
+++ b/classnlohmann_1_1basic__json_af2730bc8ffa6b28916875c13ee7b83f5.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -311,13 +313,13 @@ template<template< typename U, typename V, typename...Args > class Obje
 
45  json j_filtered = json::parse(text, cb);
46  std::cout << std::setw(4) << j_filtered << '\n';
47 }
-
basic_json<> json
default JSON class
Definition: json.hpp:7244
+
basic_json<> json
default JSON class
Definition: json.hpp:7340
a class to store JSON values
Definition: json.hpp:200
-
std::function< bool(int depth, parse_event_t event, basic_json &parsed)> parser_callback_t
per-element parser callback type
Definition: json.hpp:792
+
std::function< bool(int depth, parse_event_t event, basic_json &parsed)> parser_callback_t
per-element parser callback type
Definition: json.hpp:791
namespace for Niels Lohmann
Definition: json.hpp:96
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:4391
-
parse_event_t
JSON callback events.
Definition: json.hpp:728
+
static basic_json parse(const string_t &s, parser_callback_t cb=nullptr)
deserialize from string
Definition: json.hpp:4489
+
parse_event_t
JSON callback events.
Definition: json.hpp:727
Output (play with this example online):
{
     "Image": {
         "Animated": false,
@@ -363,7 +365,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
 
 
diff --git a/classnlohmann_1_1basic__json_af661bc209bf22097e2f76607a11b56bf.html b/classnlohmann_1_1basic__json_af661bc209bf22097e2f76607a11b56bf.html
index a61909957..0b2b3f8e1 100644
--- a/classnlohmann_1_1basic__json_af661bc209bf22097e2f76607a11b56bf.html
+++ b/classnlohmann_1_1basic__json_af661bc209bf22097e2f76607a11b56bf.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -272,7 +274,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
24  std::cout << j_string.is_boolean() << '\n';
25 }
a class to store JSON values
Definition: json.hpp:200
-
bool is_boolean() const noexcept
return whether value is a boolean
Definition: json.hpp:1852
+
bool is_boolean() const noexcept
return whether value is a boolean
Definition: json.hpp:1850
namespace for Niels Lohmann
Definition: json.hpp:96
Output (play with this example online):
false
 true
@@ -291,7 +293,7 @@ false
 
 
 
diff --git a/classnlohmann_1_1basic__json_af6b6050ccd906dddf7c9f47fe3ad62a5.html b/classnlohmann_1_1basic__json_af6b6050ccd906dddf7c9f47fe3ad62a5.html
index 1e49cf9f2..0005e2f91 100644
--- a/classnlohmann_1_1basic__json_af6b6050ccd906dddf7c9f47fe3ad62a5.html
+++ b/classnlohmann_1_1basic__json_af6b6050ccd906dddf7c9f47fe3ad62a5.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -283,7 +285,7 @@ template<template< typename U, typename V, typename...Args > class Obje
 
21  }
22 }
a class to store JSON values
Definition: json.hpp:200
-
reference at(size_type idx)
access specified array element with bounds checking
Definition: json.hpp:2478
+
reference at(size_type idx)
access specified array element with bounds checking
Definition: json.hpp:2454
namespace for Niels Lohmann
Definition: json.hpp:96
Output (play with this example online):
"third"
 out of range
@@ -297,7 +299,7 @@ out of range
 
 
 
diff --git a/classnlohmann_1_1basic__json_af709c079de0ac3507143ea2c60699bd0.html b/classnlohmann_1_1basic__json_af709c079de0ac3507143ea2c60699bd0.html
index b0f128b6e..f1d073e1e 100644
--- a/classnlohmann_1_1basic__json_af709c079de0ac3507143ea2c60699bd0.html
+++ b/classnlohmann_1_1basic__json_af709c079de0ac3507143ea2c60699bd0.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -332,7 +334,7 @@ array: [1,2,3,4,5]
 
 
 
diff --git a/classnlohmann_1_1basic__json_af74581d177dafc38df5a126ccd358999.html b/classnlohmann_1_1basic__json_af74581d177dafc38df5a126ccd358999.html
index 74f4b6b9c..c8e109e97 100644
--- a/classnlohmann_1_1basic__json_af74581d177dafc38df5a126ccd358999.html
+++ b/classnlohmann_1_1basic__json_af74581d177dafc38df5a126ccd358999.html
@@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
           swap
           swap
           type
+          value
+          value
           value_t
           value_type
           ~basic_json
@@ -311,7 +313,10 @@ template<template< typename U, typename V, typename...Args > class Obje
     "three": 3,
     "two": 2
 }
-
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/operatorarray__key_type.cpp -o operatorarray__key_type 
+
The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/operatorarray__key_type.cpp -o operatorarray__key_type 
+
See also
at(const typename object_t::key_type&) for access by reference with range checking
+
+value() for access by value with a default value
@@ -321,7 +326,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_af93e556bf708cb81b22ce223af1aa727.html b/classnlohmann_1_1basic__json_af93e556bf708cb81b22ce223af1aa727.html index da0efe949..6f58819b6 100644 --- a/classnlohmann_1_1basic__json_af93e556bf708cb81b22ce223af1aa727.html +++ b/classnlohmann_1_1basic__json_af93e556bf708cb81b22ce223af1aa727.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -288,7 +290,7 @@ template<template< typename U, typename V, typename...Args > class Obje diff --git a/classnlohmann_1_1basic__json_afc4223b5ad03b1b76e925374a8fff98e.html b/classnlohmann_1_1basic__json_afc4223b5ad03b1b76e925374a8fff98e.html index 85b5fb8a6..7cf34d020 100644 --- a/classnlohmann_1_1basic__json_afc4223b5ad03b1b76e925374a8fff98e.html +++ b/classnlohmann_1_1basic__json_afc4223b5ad03b1b76e925374a8fff98e.html @@ -214,6 +214,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); swap swap type + value + value value_t value_type ~basic_json @@ -276,7 +278,7 @@ 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:1371
+
static basic_json array(std::initializer_list< basic_json > init=std::initializer_list< basic_json >())
explicitly create an array from an initializer list
Definition: json.hpp:1370
a class to store JSON values
Definition: json.hpp:200
namespace for Niels Lohmann
Definition: json.hpp:96
Output (play with this example online):
[]
@@ -296,7 +298,7 @@ basic_json object(std::initializer_list<basic_json>) - create a JSON objec
 
 
 
diff --git a/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/dir_68267d1309a1af8e8297ef4c3efbcdba.html
index 041a9f966..969557c6b 100644
--- a/dir_68267d1309a1af8e8297ef4c3efbcdba.html
+++ b/dir_68267d1309a1af8e8297ef4c3efbcdba.html
@@ -92,7 +92,7 @@ Files
 
 
 
diff --git a/functions.html b/functions.html
index f2fe78240..bb545fe30 100644
--- a/functions.html
+++ b/functions.html
@@ -134,7 +134,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 
 
 
diff --git a/functions_b.html b/functions_b.html
index 60058c657..d4645a286 100644
--- a/functions_b.html
+++ b/functions_b.html
@@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 
 
 
diff --git a/functions_c.html b/functions_c.html
index 348543d60..303aabc1c 100644
--- a/functions_c.html
+++ b/functions_c.html
@@ -152,7 +152,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 
 
 
diff --git a/functions_d.html b/functions_d.html
index 804aeb1f1..db6f49a22 100644
--- a/functions_d.html
+++ b/functions_d.html
@@ -129,7 +129,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 
 
 
diff --git a/functions_e.html b/functions_e.html
index 0b5027866..2d8841a34 100644
--- a/functions_e.html
+++ b/functions_e.html
@@ -132,7 +132,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 
 
 
diff --git a/functions_enum.html b/functions_enum.html
index 856ca495a..96b32c12f 100644
--- a/functions_enum.html
+++ b/functions_enum.html
@@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 
 
 
diff --git a/functions_f.html b/functions_f.html
index 8fd748f54..c2c9a1bea 100644
--- a/functions_f.html
+++ b/functions_f.html
@@ -128,7 +128,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 
 
 
diff --git a/functions_func.html b/functions_func.html
index 7b2b4288b..b976be8d0 100644
--- a/functions_func.html
+++ b/functions_func.html
@@ -402,6 +402,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 : nlohmann::basic_json::const_iterator
 , nlohmann::basic_json::iterator
 , nlohmann::basic_json::json_reverse_iterator< Base >
+, nlohmann::basic_json
 
 
 
@@ -414,7 +415,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 
 
 
diff --git a/functions_g.html b/functions_g.html
index bc66bb7c6..7b0d5b3da 100644
--- a/functions_g.html
+++ b/functions_g.html
@@ -131,7 +131,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 
 
 
diff --git a/functions_i.html b/functions_i.html
index f20f7c769..ab394cbd5 100644
--- a/functions_i.html
+++ b/functions_i.html
@@ -167,7 +167,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 
 
 
diff --git a/functions_j.html b/functions_j.html
index 465fe6be5..3b96b9afd 100644
--- a/functions_j.html
+++ b/functions_j.html
@@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 
 
 
diff --git a/functions_k.html b/functions_k.html
index ed476b896..a318c5ed0 100644
--- a/functions_k.html
+++ b/functions_k.html
@@ -126,7 +126,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 
 
 
diff --git a/functions_m.html b/functions_m.html
index 16f94b3a4..7b1fdc5e4 100644
--- a/functions_m.html
+++ b/functions_m.html
@@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 
 
 
diff --git a/functions_n.html b/functions_n.html
index 706296318..afe456e80 100644
--- a/functions_n.html
+++ b/functions_n.html
@@ -128,7 +128,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 
 
 
diff --git a/functions_o.html b/functions_o.html
index 2434eb68d..125b28b0b 100644
--- a/functions_o.html
+++ b/functions_o.html
@@ -216,7 +216,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 
 
 
diff --git a/functions_p.html b/functions_p.html
index 98c2689e6..094612dae 100644
--- a/functions_p.html
+++ b/functions_p.html
@@ -139,7 +139,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 
 
 
diff --git a/functions_r.html b/functions_r.html
index 75aa29805..cdde30d1a 100644
--- a/functions_r.html
+++ b/functions_r.html
@@ -137,7 +137,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 
 
 
diff --git a/functions_rela.html b/functions_rela.html
index c107f7a37..407e758b6 100644
--- a/functions_rela.html
+++ b/functions_rela.html
@@ -124,7 +124,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 
 
 
diff --git a/functions_s.html b/functions_s.html
index 8cf60b1ba..9320ffceb 100644
--- a/functions_s.html
+++ b/functions_s.html
@@ -134,7 +134,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 
 
 
diff --git a/functions_t.html b/functions_t.html
index 7ac0ce373..321c6657e 100644
--- a/functions_t.html
+++ b/functions_t.html
@@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 
 
 
diff --git a/functions_type.html b/functions_type.html
index c7bf3b570..ce4a902c8 100644
--- a/functions_type.html
+++ b/functions_type.html
@@ -162,7 +162,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 
 
 
diff --git a/functions_v.html b/functions_v.html
index 509ad1053..857d45362 100644
--- a/functions_v.html
+++ b/functions_v.html
@@ -122,6 +122,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 : nlohmann::basic_json::const_iterator
 , nlohmann::basic_json::iterator
 , nlohmann::basic_json::json_reverse_iterator< Base >
+, nlohmann::basic_json
 
 
  • value_t : nlohmann::basic_json @@ -134,7 +135,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_~.html b/functions_~.html index 0ad952659..6d3b1417a 100644 --- a/functions_~.html +++ b/functions_~.html @@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/graph_legend.html b/graph_legend.html index 02e7dfabf..d4f938967 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 8b7c8e4c3..8108c7ce1 100644 --- a/hierarchy.html +++ b/hierarchy.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/index.html b/index.html index 0c936e98a..1863146ee 100644 --- a/index.html +++ b/index.html @@ -91,7 +91,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/namespacemembers.html b/namespacemembers.html index 4eb268dee..15d6e0b1c 100644 --- a/namespacemembers.html +++ b/namespacemembers.html @@ -94,7 +94,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/namespacemembers_type.html b/namespacemembers_type.html index 5f7ebb8ba..81632d9ec 100644 --- a/namespacemembers_type.html +++ b/namespacemembers_type.html @@ -94,7 +94,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/namespacenlohmann.html b/namespacenlohmann.html index 54a4f4394..5a9fa3d7b 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 10e376cba..6893285f9 100644 --- a/namespacenlohmann_1_1anonymous__namespace_02json_8hpp_03.html +++ b/namespacenlohmann_1_1anonymous__namespace_02json_8hpp_03.html @@ -103,7 +103,7 @@ Classes diff --git a/namespacenlohmann_a2bfd99e845a2e5cd90aeaf1b1431f474.html b/namespacenlohmann_a2bfd99e845a2e5cd90aeaf1b1431f474.html index 568b2006d..a74818082 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_12.js b/search/all_12.js index 14664e47f..8fca4ef05 100644 --- a/search/all_12.js +++ b/search/all_12.js @@ -1,6 +1,6 @@ var searchData= [ - ['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',['value',['../classnlohmann_1_1basic__json_a26b7e4876af25eae5800ce43f93aaef2.html#a26b7e4876af25eae5800ce43f93aaef2',1,'nlohmann::basic_json::value(const typename object_t::key_type &key, ValueType default_value) const '],['../classnlohmann_1_1basic__json_a72442ccbb378b4464a24a2da1e784041.html#a72442ccbb378b4464a24a2da1e784041',1,'nlohmann::basic_json::value(const typename object_t::key_type &key, const char *default_value) const '],['../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/functions_10.js b/search/functions_10.js index f3a6281fa..c502e9851 100644 --- a/search/functions_10.js +++ b/search/functions_10.js @@ -1,4 +1,4 @@ var searchData= [ - ['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()']]] + ['value',['value',['../classnlohmann_1_1basic__json_a26b7e4876af25eae5800ce43f93aaef2.html#a26b7e4876af25eae5800ce43f93aaef2',1,'nlohmann::basic_json::value(const typename object_t::key_type &key, ValueType default_value) const '],['../classnlohmann_1_1basic__json_a72442ccbb378b4464a24a2da1e784041.html#a72442ccbb378b4464a24a2da1e784041',1,'nlohmann::basic_json::value(const typename object_t::key_type &key, const char *default_value) const '],['../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()']]] ]; 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 473edd656..caff8535b 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 abfd4fceb..9b900ff1f 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 c20caf771..aaf4e9bcb 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');