xml2map icon indicating copy to clipboard operation
xml2map copied to clipboard

Disable trimming values

Open dpsarr opened this issue 3 years ago • 1 comments

I found that when I unmarshal string to map, this package trims all values. I want to remove this behavior because for my app it is necessary to work with the same data as user sent. How I can do it?

dpsarr avatar Feb 14 '22 11:02 dpsarr

it seems you need to fix this line https://github.com/sbabiv/xml2map/blob/master/decoder.go#L92

sbabiv avatar May 06 '22 21:05 sbabiv