Skip to content

Commit

Permalink
Merge pull request #73 from nunobaldaia/master
Browse files Browse the repository at this point in the history
Add nil properties to outbound JSON
  • Loading branch information
matthewcheok committed Dec 22, 2015
2 parents b0f8dac + 9ee854b commit 631f22d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Realm+JSON/RLMObject+JSON.m
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,8 @@ - (id)mc_createJSONDictionary {
}

[result setValue:value forKeyPath:dictionaryKeyPath];
} else {
[result setValue:[NSNull null] forKeyPath:dictionaryKeyPath];
}
}

Expand Down

0 comments on commit 631f22d

Please sign in to comment.