Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Merging multiple JSON files into one using JSON::XS

by walkingthecow (Friar)
on Aug 12, 2013 at 13:01 UTC ( [id://1049117]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Odd number of elements in anonymous hash
    
  2. or download this
    
    {
       "ARRAY(0x834963c)" : [
          {
    
  3. or download this
    #!/usr/local/perl5/bin/perl
    use strict;
    ...
    my $coder = JSON::XS->new->ascii->pretty->allow_nonref;
    my $encoded = $coder->encode ({People =>  @fields });
    print $encoded;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-03-28 13:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found