Closed
Description
Describe the bug
I found out that theJson2xml(data).to_xml() method can raise a UnicodeDecodeError leading to a crash of the running program.
This could be problematic if users of the library are dealing with untrusted data since this issue will lead to a DoS. This should be detected and an execption should be triggered
To Reproduce
Steps to reproduce the behavior:
Expected behavior
This execption should be expected.