X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=Classes%2FNJMapping.m;h=1b05c424bfe708ab23698b07448ffea79c368eec;hp=bcd2a8d405680a4c66c4ad8046b7681d5e0df23e;hb=baa03e73a5af66b725f58fa5efd04bf54b7b2eed;hpb=e68e5783e020bbd7142ee633000a4916bcc25203 diff --git a/Classes/NJMapping.m b/Classes/NJMapping.m index bcd2a8d..1b05c42 100644 --- a/Classes/NJMapping.m +++ b/Classes/NJMapping.m @@ -102,7 +102,9 @@ NSInputStream *stream = [NSInputStream inputStreamWithURL:url]; [stream open]; NSDictionary *serialization = stream && !*error - ? [NSJSONSerialization JSONObjectWithStream:stream options:0 error:error] + ? [NSJSONSerialization JSONObjectWithStream:stream + options:(NSJSONReadingOptions)0 + error:error] : nil; [stream close];