SQL Server complains about invalid json
问题 I am writing an ETL tool using Azure Data Factory and Azure SQL Database. The Data Factory captures the output of a Mapping Data Flow and inserts it into the StatusMessage column of a SQL Server table (Audit.OperationsEventLog) as a string. The StatusMessage column is varchar(8000) and is intended to store data formatted as valid json. SELECT * FROM Audit.OperationsEventLog lg CROSS APPLY OPENJSON(lg.StatusMessage) dt When I query the json string from the table using the query above, it