CPJSObjectCreateJSON Hates undefined
-
Francisco Tolmasky
- Assigned user set to Francisco Tolmasky
We should see what http://www.json.org/json2.js does, and also take the opportunity to bring it into cappuccino since I think we have an outdated version. We should probably keep the namespace stuff to, and just have it be CPJSObjectCreateJSON AND JSON.parse() etc.
-
Ross Boucher
If your method returns undefined, then the member will be excluded from the serialization.
if (v !== undefined) { value[k] = v; } else { delete value[k]; }
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.