views:

282

answers:

1

Hi foks,

my task is to convert JSON file into XML file in Perl. It is forbidden use automatic tools like XML2JSON, so I need to parse JSON in Perl variables and then, store it in XML file. Can you give me some examples how to use JSON:XS and XML:Simple to complete my task? Thanks a lot

+4  A: 

Here are some examples:

JSON::XS#SYNOPSIS

XML::Simple#SYNOPSIS

If you are having trouble reading the documentation, please specify exactly what you don't understand so that we can give you an answer specific to your problem.

Philip Potter