92using ::bsoncxx::v_noabi::from_json;
93using ::bsoncxx::v_noabi::to_json;
95using ::bsoncxx::v_noabi::operator
"" _bson;
106#if defined(BSONCXX_PRIVATE_DOXYGEN_PREPROCESSOR)
Provides bsoncxx::v_noabi::array::view.
The bsoncxx macro guard postlude header.
The bsoncxx macro guard prelude header.
A read-only, non-owning view of a BSON document.
Definition view.hpp:36
A read-only BSON document that owns its underlying buffer. When a document::value goes out of scope,...
Definition value.hpp:38
A read-only, non-owning view of a BSON document.
Definition view.hpp:35
A polyfill for std::string_view.
Definition string_view.hpp:436
Provides bsoncxx::v_noabi::document::value.
Provides bsoncxx::v_noabi::document::view.
#define BSONCXX_ABI_EXPORT_CDECL(...)
Equivalent to BSONCXX_ABI_EXPORT with BSONCXX_ABI_CDECL.
Definition fwd.hpp:177
Declares bsoncxx::v_noabi::ExtendedJsonMode.
std::string to_json(document::view view, ExtendedJsonMode mode=ExtendedJsonMode::k_legacy)
Converts a BSON document to a JSON string, in extended format.
ExtendedJsonMode
An enumeration of the types of Extended JSON that the to_json function accepts.
Definition json.hpp:33
@ k_relaxed
to produce Relaxed Extended JSON
@ k_legacy
to produce Legacy Extended JSON
@ k_canonical
to produce Canonical Extended JSON
document::value from_json(stdx::string_view json)
Constructs a new document::value from the provided JSON text.
The top-level namespace within which all bsoncxx library entities are declared.
std::string to_json(v_noabi::document::view view, v_noabi::ExtendedJsonMode mode=ExtendedJsonMode::k_legacy)
bsoncxx::v_noabi::to_json(v_noabi::document::view view, v_noabi::ExtendedJsonMode mode)
v_noabi::document::value from_json(v_noabi::stdx::string_view json)
bsoncxx::v_noabi::from_json(v_noabi::stdx::string_view json)
The top-level namespace reserved for the C++ standard library.
Provides std::optional-related polyfills for library API usage.