#151 new
nciagra

CPJSObjectCreateJSON Hates undefined

Reported by nciagra | November 25th, 2008 @ 10:42 AM

If you ever pass an undefined value to CPJSObjectCreateJSON, well it really doesn't like that. It throws a very nondescript error, however Francisco and I have determined that it is due to an undefined value. I feel that the desired behavior would be to output "null", just like you do for CPNull or nil.

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

Pages