Skip to content

Conversation

@situokko
Copy link

@situokko situokko commented Feb 1, 2018

Added support for JSON number values, such as iat, when converting XML->JSON.

Known issues: As IsNumeric() seems to validate numbers inside a string very liberally so that floats '123.567' and formatted decimals '123.9,00' are detected as numbers, while they are not valid in JSON. Could be fixed by switching the test function to something more strict?

Copy link

@Imran-imtiaz48 Imran-imtiaz48 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generates a JSON-style key-value pair from XML nodes, intelligently wrapping non-numeric values in quotes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants