We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad7fd57 commit 5767758Copy full SHA for 5767758
ContentstackInternal/NSObject+Extensions.m
@@ -294,6 +294,7 @@ - (NSArray *)arrayFromJSONData:(NSData *)data {
294
- (NSString *)jsonStringFromArray:(NSArray*)array {
295
if (array == nil) { return nil; }
296
NSData *JSONData = [NSJSONSerialization dataWithJSONObject:array options:0 error:NULL];
297
+ if (JSONData == nil) { return nil; }
298
return [[NSString alloc] initWithData:JSONData encoding:NSUTF8StringEncoding];
299
}
300
LICENSE
@@ -1,6 +1,6 @@
1
MIT License
2
3
-Copyright (c) 2012-2025 Contentstack
+Copyright (c) 2012-2026 Contentstack
4
5
Permission is hereby granted, free of charge, to any person obtaining a copy
6
of this software and associated documentation files (the "Software"), to deal
0 commit comments