MongoDB client details to JSON file

Soldato
Joined
1 Sep 2007
Posts
3,902
Hi all,

I am doing a bit of work experience and I am trying to figure out C# as quickly as possible (which fortunately isn't extremely different from Java).

One of the tasks they are having me code for is to extract details of a client (which is on an API, whose details are stored on MongoDB) to a JSON file. They also would like to have the reversed implemented. So a JSON file becomes a new client.

Using my google skills - I have come accross the below link, but not sure how to implement this to get it to work:

https://mongodb.github.io/mongo-csharp-driver/2.1/examples/exporting_json/

Would anyone have any pointers to get me in the right direction? Thanks!
 
Back
Top Bottom