mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-02 15:16:17 +00:00
Little fix for CPDictionary, we should not try and recursively convert null JSON objects.
This commit is contained in:
committed by
Francisco Ryan Tolmasky I
parent
d5dcedcb4a
commit
564399c78b
@@ -154,7 +154,7 @@
|
||||
|
||||
var value = object[key];
|
||||
|
||||
if (recursively)
|
||||
if (recursively && value != null)
|
||||
{
|
||||
if (value.constructor === Object)
|
||||
value = [CPDictionary dictionaryWithJSObject:value recursively:YES];
|
||||
|
||||
Reference in New Issue
Block a user