Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: JSON parser as a single Perl Regex

by Anonymous Monk
on Oct 01, 2012 at 10:30 UTC ( #996613=note: print w/replies, xml ) Need Help??


in reply to JSON parser as a single Perl Regex

How do you use this script?

I tried feeding it various .json files and it always prints 'no match'; and frequently consumes all my 8 gig of memory first.

Replies are listed 'Best First'.
Re^2: JSON parser as a single Perl Regex
by merlyn (Sage) on Oct 10, 2012 at 03:39 UTC
    Worked for me. Give me an example of a one-line file that broke.

    -- Randal L. Schwartz, Perl hacker

    The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://996613]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2017-03-25 10:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (311 votes). Check out past polls.