in reply to Json script: logic, circular reference, regex with quantifiers, wierd effects of true false null.

You do know there is a module available via CPAN to read and write JSON? - see JSON - is there a particular requirement that the CPAN module didn't satisfy? Knowing that would help us give more focused feedback on your own efforts at writing a JSON processor.

Best, beth

  • Comment on Re: Json script: logic, circular reference, regex with quantifiers, wierd effects of true false null.

Replies are listed 'Best First'.
Re^2: Json script: logic, circular reference, regex with quantifiers, wierd effects of true false null.
by corenth (Monk) on Apr 07, 2009 at 00:46 UTC
    I am re-inventing the wheel for my own education. The fact that this is a JSON parser is almost secondary to that motivation. The only thing missing from the CPAN madule is the fact that I didn't write it.

    As I wrote the piece, I found all sorts of questions pop up; some were about speed, some logic, some about what makes sense in code like this.

    I wonder if you might have a thought or two about one of my questions...

    Thanks :)