Watch keynotes and sessions from MongoDB.live, our virtual developer conference.

Passing bsoncxx::document through DLL

Hi,
i receive a JSON format string from another DLL and like to parse that into a BSONCXX::document.
By reading the documentation and scrolling through the code, it seems like there is no such feature in the cxx-driver. Did I miss something here?

Alternatively, I could pass the BSONCXX::document created in the other DLL and pass it as plain old data. But afaik this is also nothing prepared for this, right?

Thanks

Nevermind…

Just found BSONCXX::from_json() and BSONCXX::to_json()

Sorry