Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: XML to HashRef and then to JSON

by LanX (Saint)
on Mar 14, 2016 at 16:11 UTC ( [id://1157673]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1157673]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-04-23 06:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found