19 #include <bsoncxx/document/value.hpp>
20 #include <bsoncxx/document/view.hpp>
21 #include <bsoncxx/stdx/optional.hpp>
23 #include <bsoncxx/config/prelude.hpp>
26 BSONCXX_INLINE_NAMESPACE_BEGIN
36 BSONCXX_API std::string BSONCXX_CALL to_json(document::view view);
47 BSONCXX_API std::string BSONCXX_CALL to_json(document::element element);
58 BSONCXX_API std::string BSONCXX_CALL to_json(types::value value);
71 BSONCXX_API document::value BSONCXX_CALL from_json(stdx::string_view json);
73 BSONCXX_INLINE_NAMESPACE_END
76 #include <bsoncxx/config/postlude.hpp>
Definition: element.hpp:24