blob: 58bb47d9898d61d19bf4ed4968f90eb50318d720 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/* NSJSONSerialization+HBAdditions.h $
This file is part of the HandBrake source code.
Homepage: <http://handbrake.fr/>.
It may be used under the terms of the GNU General Public License. */
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface NSJSONSerialization (HBAdditions)
+ (nullable id)HB_JSONObjectWithUTF8String:(const char *)nullTerminatedCString options:(NSJSONReadingOptions)opt error:(NSError **)error;
+ (nullable NSString *)HB_StringWithJSONObject:(id)obj options:(NSJSONWritingOptions)opt error:(NSError **)error;
@end
NS_ASSUME_NONNULL_END
|