@peterandreasmoelgaard/ndc-xml2json
This library converts NDC XML messages into JSON equivalents.
Last updated 3 years ago by pmoelgaard .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @peterandreasmoelgaard/ndc-xml2json 
SYNC missed versions from official npm registry.

xml2json (Node.js)

This Node.js tool converts NDC XML messages into JSON equivalents.

It uses the "singletons-*.json" supporting files in order to ouput valid NDC messages (elements with maxOccurs > 1 should always be in arrays, whatever the number of actual occurences). This file is stored in the singletons folder: the correct NDC version should be chosen for the input message version.

Assumption: input XML is well-formed and the first element is the root.

Usage:

node xml2json.js inputFile.xml outputFile.json

Current Tags

  • 0.0.0                                ...           latest (3 years ago)

1 Versions

  • 0.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2021 © npmmirror.com |