---
title: "JSONReadingError.failedToParse(row:column:type:contents:)"
framework: Tabular Data
role: symbol
role_heading: Case
platforms: [iOS 15.0+, iPadOS 15.0+, Mac Catalyst 15.0+, macOS 12.0+, tvOS 15.0+, visionOS 1.0+, watchOS 8.0+]
path: "tabulardata/jsonreadingerror/failedtoparse(row:column:type:contents:)"
---

# JSONReadingError.failedToParse(row:column:type:contents:)

An error that occurs when a JSON value fails to parse as the specified type.

## Declaration

```swift
case failedToParse(row: Int, column: String, type: JSONType, contents: String)
```

## Parameters

- `row`: The index of the row that contains the incorrect value.
- `column`: The name of the column that contains the incorrect value.
- `expectedType`: The expected type.
- `value`: The JSON value.

## See Also

### Getting Error Information

- [JSONReadingError.incompatibleValues(column:)](tabulardata/jsonreadingerror/incompatiblevalues(column:).md)
- [JSONReadingError.unsupportedStructure](tabulardata/jsonreadingerror/unsupportedstructure.md)
- [JSONReadingError.wrongType(row:column:expectedType:value:)](tabulardata/jsonreadingerror/wrongtype(row:column:expectedtype:value:).md)
