#274 ✓resolved
Martin Häcker

@import "json2.js" breaks

Reported by Martin Häcker | April 27th, 2009 @ 01:22 AM

Hi there,

I am trying to use Douglas Crockfords javascript json implementation at http://www.JSON.org/json2.js

(I am trying to reproduce another bug in the json component of cappuccino)

The problem is, that when @import this file with @import "json2.js" my unittests fail with this error message

json2.js Expected ']' - Unterminated message send or array. OBJJ EXCEPTION: Expected ']' - Unterminated message send or array.

Name:    OBJJParseException
Message: undefined
File:    undefined
Line:    undefined

I haven't yet reduced this to why it fails - but I suspect some of the more complex Regexes in there might be the source of the problem.

Please fix it!

Regards, Martin

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.

Shared Ticket Bins

People watching this ticket

Referenced by

Pages