...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Read the next buffer of serialized JSON.
template<std::size_t
N>string_view
read( char (&dest) [N]);
This function allows reading into a character array, with a deduced maximum size.
this->done() == false
return this->read( dest, N );
Linear in N
.
Basic guarantee. Calls to memory_resource::allocate
may throw.
A string_view
containing the characters written, which may be less than size
.
Name |
Description |
---|---|
|
The character array to write to. |