//
//  NSDictionary+json.h
//  Gengmei
//
//  Created by Q14 on 2019/5/8.
//  Copyright © 2019 更美互动信息科技有限公司. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSDictionary (json)
/**
 *  JSON字符串转NSDictionary
 *
 *  @param jsonString JSON字符串
 *
 *  @return NSDictionary
 */
+ (NSDictionary *)dictionaryWithJsonString:(NSString *)jsonString;
/**
 *  字典转JSON字符串
 *
 *  @param dic 字典
 *
 *  @return JSON字符串
 */
+ (NSString *)dictionaryToJson:(NSDictionary *)dic;
@end

NS_ASSUME_NONNULL_END
