Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 scrutinizing the Monastery: (7)
As of 2014-12-21 13:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (105 votes), past polls