Little fix for CPDictionary, we should not try and recursively convert null JSON objects.

This commit is contained in:
Alan Rogers
2010-03-22 14:52:55 -07:00
committed by Ross Boucher
parent c8f3445fa6
commit 4e1e6f3c0b
+1 -1
View File
@@ -154,7 +154,7 @@
var value = object[key];
if (recursively)
if (recursively && value != null)
{
if (value.constructor === Object)
value = [CPDictionary dictionaryWithJSObject:value recursively:YES];