I am using Azure's Data Factory tool to read a text file with a JSON structure from a Data Lake Storage Gen2 to transform the data and pass it to an Azure SQL DB.
I can test the connection with "Source settings" and it works successfully.
Sadly, I am receiving the following error msg when trying to import a "projection":
"JSON parsing error, unsupported encoding or multiline"
Under "Source options"->"JSON settings" I also tried it by activating the field "Single document". Without any success.
[{"_id":{"$oid":"xxxxxxx"},"uid":"xxxxxxxxxx","test-uid":"xxxxxxxxxxxx","url":"https://test","info":"Mozilla/5.0 (Windows NT 10.0; Win64; x64)","test":"","dimension":"2560x1343",.....
The Data Preview, of course, shows the same error message.
I can't detect any JSON encoding errors. Any idea what I can do? Any tutorial you can recommend for shifting JSON from Data Lake Gen2 into Azure SQL DB?
Update:
Due to the special character "$", the file were encoded in UTF-8-BOM. Reading the data from inside a Data Factory from the Data Lake Storage Gen2 this leads to the parsing errors.