//
//  JsonConstructor.h
//  test08
//
//  Created by Pavel Masuk on 4/29/19.
//  Copyright © 2019 Facebook. All rights reserved.
//

#ifndef JsonConstructor_h
#define JsonConstructor_h

#import <DocumentReader/DocumentReader-Swift.h>
@import CoreGraphics;
@import UIKit;

@interface JsonConstructor : NSObject
+ (NSString*)resultsToJsonString:(DocumentReaderResults*) results;
+ (NSMutableDictionary*)generateImageQualityGroup:(ImageQualityGroup*) imageQualityGroup;
+(NSMutableArray*)generateImageQualityList:(NSArray<ImageQuality *> * _Nonnull) imageQualityList;
+(NSMutableDictionary*)generateImageQuality:(ImageQuality*) imageQuality;
+(NSMutableDictionary*)generateDocumentReaderJsonResult:(DocumentReaderJsonResult*) documentReaderJsonResult;
+(NSMutableArray*)generateNSArrayDocumentReaderJsonResultGroup:(NSArray<DocumentReaderJsonResultGroup *> * _Nonnull) list;
+(NSMutableDictionary*)generateDocumentReaderJsonResultGroup:(DocumentReaderJsonResultGroup*) documentReaderJsonResultGroup;
+(NSMutableDictionary*)generateDocumentReaderGraphicResult:(DocumentReaderGraphicResult*) documentReaderGraphicResult;
+(NSMutableArray*)generateNSArrayDocumentReaderGraphicResultGroup:(NSArray<DocumentReaderGraphicField *> * _Nonnull) list;
+(NSMutableDictionary*)generateDocumentReaderGraphicField:(DocumentReaderGraphicField*) documentReaderGraphicField;
+(NSMutableDictionary*)generateCGRect:(CGRect) cgRect;
+(NSMutableDictionary*)generateDocumentReaderTextResult:(DocumentReaderTextResult*) documentReaderTextResult;
+(NSMutableArray*)generateNSArrayDocumentReaderTextField:(NSArray<DocumentReaderTextField *> * _Nonnull) list;
+(NSMutableDictionary*)generateDocumentReaderTextField:(DocumentReaderTextField*) documentReaderTextField;
+(NSMutableArray*)generateNSArrayDocumentReaderValue:(NSArray<DocumentReaderValue *> * _Nonnull) list;
+(NSMutableDictionary*)generateDocumentReaderValue:(DocumentReaderValue*) documentReaderValue;
+(NSMutableDictionary*)generateDocumentReaderDocumentType:(DocumentReaderDocumentType*) documentReaderDocumentType;
+(NSMutableArray*)generateNSArrayNSNumber:(NSArray<NSNumber *> * _Nonnull) list;

@end
#endif /* JsonConstructor_h */
