MCPcopy Create free account
hub / github.com/boostorg/json / done

Method done

include/boost/json/stream_parser.hpp:344–348  ·  view source on GitHub ↗

Check if a complete JSON text has been parsed. This function returns `true` when all of these conditions are met: @li A complete serialized JSON text has been presented to the parser, and @li No error has occurred since the parser was constructed, or since the last call to @ref reset, @par Complexity Constant. @par Exception Safe

Source from the content-addressed store, hash-verified

342 No-throw guarantee.
343 */
344 bool
345 done() const noexcept
346 {
347 return p_.done();
348 }
349
350 /** Parse a buffer containing all or part of a complete JSON text.
351

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected