Open cagriman opened 1 year ago
Hello,
I solved my problem with adding below option to options.
attributeValueFn: (val: any) => (val === 0) ? '' : val
Issue can be close.
Thanks
Hello,
But this function replace all zeros to string empty :) I mean this method runs after conversion not before :(
Sample XML ====>
I am having the same issue.
Hello,
With nativeTypeAttributes = true configuration transformation of json to xml, getting some invalid result as explained that xml attribute valued as Empty String converted to Zero as Number.
Could you fix it ?
Thanks