mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-03 17:33:41 +00:00
Little fix for CPDictionary, we should not try and recursively convert null JSON objects.
This commit is contained in:
committed by
Ross Boucher
parent
c8f3445fa6
commit
4e1e6f3c0b
@@ -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