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 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 |
|
|
Default constructor. |
|
Destructor. |
Friends
Name | Description |
---|---|
Helper for |
|
Return |
|
Serialize |
|
Return |
|
|
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>.