Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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?

What's my password?
Create A New User
Domain Nodelet?
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 about the Monastery: (6)
As of 2022-08-11 17:34 GMT
Find Nodes?
    Voting Booth?

    No recent polls found