Deprecation warning

Please note that this is outdated documentation for an older release of the Scandit Barcode Scanner SDK.

We are deprecating the 5.x API on all platforms (except Linux). Release 5.19 in April 2021 will be our final. Applications running 5.x will continue to work, and we will continue to release critical bug fixes and security patches only, for one year. We encourage you to migrate to 6.x and take advantage of our latest / advanced features and improved performance.

You'll find the updated documentation at: Data Capture SDK Documentation for iOS

SBSParserResult.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------------------------//
2 // This file is part of the Scandit Parsing Library //
3 // //
4 // Copyright (c) 2016-2017 Scandit AG. All rights reserved //
5 //------------------------------------------------------------------------------------------------//
6 
7 #import <Foundation/Foundation.h>
8 #import "SBSParserField.h"
9 #import "SBSCommon.h"
10 
27 @interface SBSParserResult : NSObject
28 
34 @property (nonatomic, readonly, nonnull) NSString *jsonString;
35 @property (nonatomic, readonly, nonnull) NSDictionary<NSString *, SBSParserField *> *fieldsDict SBS_DEPRECATED_MSG_ATTRIBUTE("Use fieldsByName instead.");
36 @property (nonatomic, readonly, nonnull) NSArray<SBSParserField *> *fieldsArray SBS_DEPRECATED_MSG_ATTRIBUTE("Use fields instead.");
44 @property (nonatomic, readonly, nonnull) NSDictionary<NSString *, SBSParserField *> *fieldsByName;
45 
53 @property (nonatomic, readonly, nonnull) NSArray<SBSParserField *> *fields;
54 
55 @end
#define SBS_DEPRECATED_MSG_ATTRIBUTE(message)
Definition: SBSCommon.h:21
NSArray< SBSParserField * > * fieldsArray
Definition: SBSParserResult.h:36
NSString * jsonString
The result object as a serialized JSON string.
Definition: SBSParserResult.h:34
NSDictionary< NSString *, SBSParserField * > * fieldsDict
Definition: SBSParserResult.h:35
NSArray< SBSParserField * > * fields
The fields contained in the result as an array.
Definition: SBSParserResult.h:53
Holds the result of a successfully parsed data string.
Definition: SBSParserResult.h:27
NSDictionary< NSString *, SBSParserField * > * fieldsByName
The fields contained in the result as a dictionary.
Definition: SBSParserResult.h:44