@@ -510,11 +510,12 @@ pool = objc_autoreleasePoolPush(); mapPath = [path stringByAppendingPathComponent: @"languages.json"]; @try { - map = [[OFString stringWithContentsOfFile: mapPath] JSONValue]; + map = [OFString stringWithContentsOfFile: mapPath] + .objectByParsingJSON; } @catch (OFOpenItemFailedException *e) { objc_autoreleasePoolPop(pool); return; } @@ -535,11 +536,12 @@ languageFile = [path stringByAppendingPathComponent: [languageFile stringByAppendingString: @".json"]]; [_localizedStrings addObject: - [[OFString stringWithContentsOfFile: languageFile] JSONValue]]; + [OFString stringWithContentsOfFile: languageFile] + .objectByParsingJSON]; objc_autoreleasePoolPop(pool); } #endif