Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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.

Comment on Re: JSON parser as a single Perl Regex
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?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2015-11-30 01:22 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (755 votes), past polls