JSONReadingError.wrongType(row:column:expectedType:value:)
An error that occurs when the JSON data contains a value of the wrong type for a type-constrained column.
Declaration
case wrongType(row: Int, column: String, expectedType: JSONType, value: any Sendable)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.