value
The type used to represent any JSON value.
Synopsis
Defined in header <boost/json/value.hpp>.
class value;
Types
Name | Description |
---|---|
Associated Allocator |
Member Functions
Name | Description |
---|---|
Return the underlying | |
Return the underlying | |
Return the underlying | |
Return the underlying | |
Return the underlying | |
Return the underlying | |
Return the underlying | |
Access an element, with bounds checking. | |
Access an element via JSON Pointer. | |
Replace with an empty array. | |
Replace with a | |
Replace with a | |
Replace with a | |
Replace with a null value. | |
Replace with an empty | |
Replace with an empty | |
Replace with a | |
Access an element via JSON Pointer. | |
Return the associated allocator. | |
Return the underlying | |
Return the underlying | |
Return the underlying | |
Return the underlying | |
Return the underlying | |
Return the underlying | |
Return the underlying | |
Return a pointer to the underlying | |
Return a pointer to the underlying | |
Return a pointer to the underlying | |
Return a pointer to the underlying | |
Return a pointer to the underlying | |
Return a pointer to the underlying | |
Return a pointer to the underlying | |
Check if this is an | |
Check if this is a | |
Check if this is a | |
Check if this is a | |
Check if this is a null value. | |
Check if this is a number. | |
Check if this is an | |
Check if this is a | |
Checks if this is a | |
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 | |
| Constructors. |
| Destructor. |
Friends
Name | Description |
---|---|
Helper for | |
Check if two values are not equal. | |
Serialize | |
Check if two values are equal. | |
| Parse |
Swap the given values. |
Description
This is a Regular type which works like a variant of the basic JSON data types: array, object, string, number, boolean, and null.
Thread Safety
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>.