Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: tidy up json via perl

by Trizor (Pilgrim)
on Jul 18, 2007 at 16:40 UTC ( [id://627300]=note: print w/replies, xml ) Need Help??


in reply to tidy up json via perl

You may want to simply read and then write out the JSON using JSON or JSON::Syck to handle the parsing and re formatting for you. Unless you have malformed JSON one of those modules will be able to help you.

If you can write your tidy system in a general enough way and say call it "jsontidy" you might consider sending it to the module author to include with the next release.

Log In?
Username:
Password:

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

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

    No recent polls found