Description
XML with integer of 'nil' gets parsed to an empty string in JSON, rather than 0. Doesn't appear to be configurable.
Input
Drop this in the online parser for example:
<?xml version="1.0" encoding="UTF-8"?>
<data>
<example-field type="integer" nil="true"/>
</data>
Code
N/A
Output
{
"?xml": "",
"data": {
"example-field": ""
}
}
expected data
{
"?xml": "",
"data": {
"example-field": 0
}
}
Would you like to work on this issue?
Bookmark this repository for further updates. Visit SoloThought to know about recent features.
Description
XML with integer of 'nil' gets parsed to an empty string in JSON, rather than 0. Doesn't appear to be configurable.
Input
Drop this in the online parser for example:
Code
N/A
Output
expected data
Would you like to work on this issue?
Bookmark this repository for further updates. Visit SoloThought to know about recent features.