Is there a way to populate a MySQL 5.7 table with data from a json file with line breaks on Win7?
问题 I have following example json file and I'm trying to populate a MySQL table with it. Since MySQL 5.7 supports json as a native datatype I thought this shouldn't be a problem, but MySQL's json validator seems to have a problem with the line breaks inside the file. As soon as I get rid of all line breaks and write my example file in one line, it works perfectly. [ { "somestuff": [ { "field1": "val1", "field2": 17, "field3": 27, "field4": 42, "field5": 73 }, { "field1": "val2", "field2": 3,