...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
The type used to represent any JSON value.
Defined in header <boost/json/value.hpp>
class value;
Name |
Description |
---|---|
Associated Allocator |
Name |
Description |
---|---|
Return a reference to the underlying |
|
Return a reference to the underlying |
|
Return a reference to the underlying |
|
Return a reference to the underlying |
|
Return a reference to the underlying |
|
Return a reference to the underlying |
|
Return a reference to the underlying |
|
Access an element, with bounds checking. |
|
Access an element via JSON Pointer. |
|
Return a reference to an |
|
Return a reference to a |
|
Return a reference to a |
|
Return a reference to a |
|
Change the kind to null, discarding the previous contents. |
|
Return a reference to an |
|
Return a reference to a |
|
Return a reference to a |
|
Access an element via JSON Pointer. |
|
Return the associated allocator. |
|
Return a reference to the underlying |
|
Return a reference to the underlying |
|
Return a reference to the underlying |
|
Return a reference to the underlying |
|
Return a reference to the underlying |
|
Return a reference to the underlying |
|
Return a reference to the underlying |
|
Return an |
|
Return a |
|
Return a |
|
Return an |
|
Return an |
|
Return a |
|
Return a |
|
Return |
|
Return |
|
Return |
|
Return |
|
Returns true if this is a null. |
|
Returns true if this is a number. |
|
Return |
|
Returns true if this is not an array or object. |
|
Return |
|
Returns true if this is an array or object. |
|
Return |
|
Returns the kind of this JSON value. |
|
Assignment. |
|
Set an element via JSON Pointer. |
|
Return the associated memory resource. |
|
Swap the given values. |
|
Return the stored number cast to an arithmetic type. |
|
Return |
|
Return |
|
Return |
|
Return |
|
Return engaged |
|
Return |
|
Return |
|
Return |
|
Access an element, with bounds checking. |
|
Access an element via JSON Pointer. |
|
Set an element via JSON Pointer. |
|
Return the stored number as |
|
value [constructor] |
Default constructor. |
~value [destructor] |
Destructor. |
Name |
Description |
---|---|
Helper for |
|
Return |
|
Serialize |
|
Return |
|
Parse |
|
Swap the given values. |
This is a Regular type which works like a variant of the basic JSON data types: array, object, string, number, boolean, and null.
Distinct instances may be accessed concurrently. Non-const member functions of a shared instance may not be called concurrently with any other member functions of that instance.
Convenience header <boost/json.hpp>