in reply to XML to HashRef and then to JSON

I suppose your problem is that the emphasis should be "around" the second entry of content.

In order to isolate the problem please show us a dump of the hashref too.°

I suppose it's a question of specifying the XML format (DTD, Schema,...)

But there are still edge cases where JSON is the wrong format though ...

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

° never mind, read JSON in the title and oversaw the fat commas => :)

Replies are listed 'Best First'.
Re^2: XML to HashRef and then to JSON
by Anonymous Monk on Mar 14, 2016 at 16:13 UTC
    Update: I have provided the error part of the HashRef. Please note.