XML to JSON converter
Lead Maintainer: Nathan LaFreniere
Description
faketoe is a simple Node transformation stream for used to convert an XML stream to a JSON object. It is a thin wrapper around node-expat and supports the same interface and events as a node-expat object.
Usage
var Fs = ;var FakeToe = ; var parser = FakeToe; parser; parser; Fs;
Methods
createParser(callback)
creates an XML to JSON parser (stream). The callback
function signature is function (error, result)
where
error
- internal error conditionresult
- the complete JSON object