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.