Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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.


Comment on Re: JSON parser as a single Perl Regex
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 https://github.com/sharyanto/perl-JSON-Decode-Regexp

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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2014-12-21 18:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (106 votes), past polls