x2js icon indicating copy to clipboard operation
x2js copied to clipboard

Number parsing

Open synec opened this issue 10 years ago • 1 comments

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.

synec avatar Sep 09 '15 15:09 synec

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

mdileep avatar Sep 06 '17 13:09 mdileep