                 } catch {
                     throw DecodingError.typeMismatch(String.self)
                 }
-                
-                
             }
         }
         return unboxedFields

        let locale = decoder.userInfo[CodingUserInfoKey(rawValue: "locale")!] as? Locale
        
        let fields = try container.nestedContainer(keyedBy: GenericCodingKeys.self, forKey: .fields)
     
        
        
        
        
        for key in fields.allKeys {
            let field = key.stringValue

    
public struct PageUnboxing {

    public static func unboxResponse<T>(data: Data, locale: Locale?, with fieldUnboxer: @escaping ((String) -> (UnboxedType,Bool)?), via creator: @escaping ((UnboxedFields) -> T?)) -> Result<PagedResult<T>>  {
        let decoder = JSONDecoder()
        
        decoder.userInfo = [CodingUserInfoKey(rawValue: "fieldUnboxer")!: fieldUnboxer, CodingUserInfoKey(rawValue: "creator")!: creator]
