19#include <bsoncxx/document/value.hpp>
20#include <bsoncxx/document/view.hpp>
21#include <bsoncxx/stdx/optional.hpp>
23#include <bsoncxx/config/prelude.hpp>
29BSONCXX_INLINE_NAMESPACE_BEGIN
34extern const bool k_silence_doxygen;
60BSONCXX_INLINE_NAMESPACE_END
63#include <bsoncxx/config/postlude.hpp>
A read-only BSON document that owns its underlying buffer.
Definition value.hpp:33
A read-only, non-owning view of a BSON document.
Definition view.hpp:33
Top level namespace for MongoDB C++ BSON functionality.
Definition element.hpp:24
std::string to_json(document::view view)
Converts a BSON document to a JSON string.
document::value from_json(stdx::string_view json)
Constructs a new document::value from the provided JSON text.