Files
react-native-firebase/packages/app/ios/RNFBApp/RNFBJSON.h
Mike Diarmid 21a16867fe [v6] Implement ML-Kit Natural Language (#2117)
- Implement ML-Kit Natural Language (#2117)
 - Includes additional refactor changes across other modules for internals api reworking
2019-06-02 17:58:21 +01:00

35 lines
977 B
Objective-C

/**
* Copyright (c) 2016-present Invertase Limited & Contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this library except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
#import <Foundation/Foundation.h>
@interface RNFBJSON : NSObject
- (BOOL)contains:(NSString *)key;
- (BOOL)getBooleanValue:(NSString *)key defaultValue:(BOOL)defaultValue;
- (NSString *)getStringValue:(NSString *)key defaultValue:(NSString *)defaultValue;
- (NSDictionary *)getAll;
- (NSString *)getRawJSON;
+ (RNFBJSON *)shared;
@end