Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^5: Epoch based parser

by kcott (Abbot)
on Aug 14, 2013 at 09:26 UTC ( #1049403=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $jsonc = read_file ('H:\Work\perl\latest\Scripts\logs\json.txt');
    local $/ = "}";
    ...
        for (@{$data->{aaData}}) {
         #my print function
    }
    
  2. or download this
    my $jsonc = read_file ('H:\Work\perl\latest\Scripts\logs\json.txt');
    {
    ...
            }
        }
    }
    
  3. or download this
    #!/usr/bin/env perl -l
    
    ...
    
        return 0;
    }
    
  4. or download this
    $ cat json.txt
    {"DisplayRecords":"12","Records":"12","sColumns":"startTime,endTime,
    ...
    +375976271"
    ,"1375976430","LAN","D0:05:FE","172.20.30.2",1093,"172.20.28.2",1330,"
    +1034,348"]]}
    
  5. or download this
    $ pm_epoch_from_json_3.pl
    1375976271 1375976430 LAN D0:05:FE 172.20.30.2 1093 172.20.28.2 1330 1
    +034,348
    1375976271 1375976430 LAN D0:05:FE 172.20.30.2 1093 172.20.28.2 1330 1
    +034,348
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2015-07-01 23:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (25 votes), past polls