If we add inside an XML-Element instead of Characters, Linebreaks or Whitespaces, this information get's lost by converting it to JSON. See the Example, if we add inside the tag "foo" an string "bar", we get the correct JSON as we would expect, but if we swap it with a linebreak or whitespace, the information of the Linebreaks / Whitespaces is lost and the JSON looses the sub elements.
If we add inside an XML-Element instead of Characters, Linebreaks or Whitespaces, this information get's lost by converting it to JSON. See the Example, if we add inside the tag "foo" an string "bar", we get the correct JSON as we would expect, but if we swap it with a linebreak or whitespace, the information of the Linebreaks / Whitespaces is lost and the JSON looses the sub elements.
Current Behaivour: `
Expected Behaivour: `
I also tried the trim option but it didn't effect this.