Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: JSON parser as a single Perl Regex

by sedusedan (Monk)
on Oct 18, 2013 at 03:04 UTC ( #1058696=note: print w/replies, xml ) Need Help??

in reply to JSON parser as a single Perl Regex

Also, would you mind if I package this as a CPAN module? I think I want to maintain a collection of modules that parse stuffs using a single regex.

Replies are listed 'Best First'.
Re^2: JSON parser as a single Perl Regex
by merlyn (Sage) on Oct 18, 2013 at 15:14 UTC
    Feel free to take it. I hereby claim it is licensed "just like Perl". :)

    -- 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.

      Neat! Will package it at the soonest. All credits will go to you, obviously.

        Put on CPAN as JSON::Decode::Regexp. Github repo at

        Added a minor tweak to allow spaces between object KV, and die on no match.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2022-08-10 23:42 GMT
Find Nodes?
    Voting Booth?

    No recent polls found