x2js
x2js copied to clipboard
Number parsing
I've added a few lines to allow number being parsed. When new config value parseNumber is set to true, all float and integer values are parsed from strings if they pass a simple regex test.
Please merge if you like it.
Hi started modifying the X2JS to have this feature initially and later extended to support custom parsing .
Have a look at this pull request. https://github.com/abdmob/x2js/pull/61