typeMismatch(Swift.String, Swift.DecodingError.Context(codingPath: [], debugDescription: "Could not convert MySQL data to String: <MYSQL_TYPE_JSON>", underlyingError: nil))
Using MySQLWorkbench, I looked up the contents of the row and its value viewer shows me:
Hi,
I have a table with a column in json format:
My model is defined as
when I try to decode the row with
I get the following error:
Using MySQLWorkbench, I looked up the contents of the row and its value viewer shows me:
Stepping through the MySQLNIO code I find it strange that this part of the code does not make use of this case.
Am I missing something here? Every other aspect of the library works really well for me.
Cheers