Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block tmanolat

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
tmanolat / gist:8d81a09dfa98849afe4996a1b870256f
Created Sep 7, 2016
node.js convert a json file to xml
View gist:8d81a09dfa98849afe4996a1b870256f
var fs = require('fs');
var xml2js = require('xml2js');
var builder = new xml2js.Builder();
var content = fs.readFileSync('data.json');
var o = JSON.parse(content);
var res = [];
You can’t perform that action at this time.