Tuesday, 11 October 2016

XML : Good Practice to store XML files - Express, MongoDB

I'm Working on an app with Express & MongoDB that stores XML files. Knowing that I don't need to query the file by its content, what's considered best practice in this scenario :

  • Store the XML file as a string ;
  • Convert the file to JSON and then store it.

No comments:

Post a Comment