...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 |
---|---|
The type of Allocator returned by |
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 |
|
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 memory resource associated with the value. |
|
Swap the given values. |
|
Return the stored number cast to an arithmetic type. |
|
value [constructor] |
Default constructor. |
~value [destructor] |
Destructor. |
Name |
Description |
---|---|
Helper for |
|
Return |
|
Return |
|
Serialize |
|
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>