Noob tutorial for BsonTools (Request)

Skip to first unread message


May 17, 2021, 12:10:00 PM5/17/21
Hey there, I don't really have any programming knowledge but I need to use BsonTools. I have Visual Studio 2013. Can anyone write a step by step tutorial for Bsontools here?
Also, it seems some folders are missing from, because when I tried to use VS to build them, they weren't there (including frombson and fromxml).

D Merriman

Jul 31, 2021, 4:31:52 PM7/31/21
Sorry there isn't really a tutorial.

I think you are right and the Visual Studio support, the projects, may be incomplete.  This is a fairly old personal project and hasn't received the maintenance it deserves.  The code is all there, but not the project files, perhaps, unfortunately.

One approach would be to use some sort of XML to JSON converter, and then load the JSON into mongodb, which can be done via many tools (command line utilities, MongoDB Compass iirc, etc.). You might search for "xml to bson" on stackoverflow and quora for some ideas.

It would be important to make sure the XML loaded, the schema makes sense.  In some cases , given XML is "documents", it may make a lot of sense in MongoDB in a straight translation.  However in other cases, a different schema may be better (i.e. maybe more than one collection depends what the XML is).  I believe you can find some information on MongoDB schema design at MongoDB University website (free courses and such there).
Reply all
Reply to author
0 new messages