diff --git a/Realm+JSON/RLMObject+JSON.m b/Realm+JSON/RLMObject+JSON.m index 7a5c89a..cb37a55 100644 --- a/Realm+JSON/RLMObject+JSON.m +++ b/Realm+JSON/RLMObject+JSON.m @@ -252,9 +252,9 @@ - (id)mc_createJSONDictionary { } [result setValue:value forKeyPath:dictionaryKeyPath]; - } else { - [result setValue:[NSNull null] forKeyPath:dictionaryKeyPath]; - } + } else { + [result setValue:[NSNull null] forKeyPath:dictionaryKeyPath]; + } } return [result copy];