translate xml to json in node.js
Asked Answered
L

3

5

could you, please, point me to some working xml -> json translation library for node.js?

A SAX-styled would be preferable to get things done while the xml file is still receiving.

Thanks

Lettielettish answered 8/1, 2012 at 23:19 Comment(0)
U
5

https://github.com/isaacs/sax-js

Unwatched answered 8/1, 2012 at 23:58 Comment(0)
A
4

You can try xml2js. I've tried it myself, but for really simple xml, so I'm not sure if it will work "while the xml file is still receiving".

Antiquary answered 8/1, 2012 at 23:55 Comment(0)
H
0

http://code.google.com/p/x2js But it working with DOM.

Hulburt answered 9/1, 2012 at 0:0 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.