Node Module that converts XML to JSON using C++
Package support all version of node.js v0.10.x, v0.12.x , v4.x , v5.x, v6.x
Install
Install fast-xml2json package
npm install --save fast-xml2json
Use Async Convertor xml files to json files
var xml2json = ; xml2json;
Example to use with package async
The source of package async is available for download from GitHub.
var xml2json = ;var async = ;var fs = ;var path = ;var xmlFilesPath = './xmlFiles' jsonFilesPath = './jsonFiles' count = 0 filesArr; filesArr = fs;iffilesArrlength > 0 if!fs fs; async; else console;
Use Async Convertor xml files to json string
var xml2json = ; xml2json;
Example to use with package async
The source of package async is available for download from GitHub.
var xml2json = ;var async = ;var fs = ;var path = ;var xmlFilesPath = './xmlFiles' count = 0 filesArr; filesArr = fs;iffilesArrlength > 0 async; else console;