Closed davidleureka closed 10 years ago
confirmed, thanks for reporting it!
Hi, is there any update on this issue?
Line 24 of json2xml.js omits numbers, which causes them to be skipped:
if (typeof(obj[key]) == 'string' || isArray) {
and instead read should read:
if (typeof(obj[key]) == 'string' || isArray || typeof(obj[key]) == 'number') {
As a workaround you'd have to convert all numbers to strings.
Could you pls fix this issue by @Penryn's suggestion? Or I could sent a PR. Thanks
@idy a PR would be very well received, thanks!
@c4milo This issue should be closed ;)
Closed by 6bef41462bdf11762df4d9a96f04fb03e251b1f5 thanks @idy!
What happened to the attribute "a"?