JSON 到 CSV:第 1 行出现解析错误 - 如何解决?

JSON to CSV: Parse error on line 1 - how to fix?

我正在尝试将 .json 文件转换为 .csv 文件;但是,我在第 1 行遇到错误,我不确定如何解决。

这是我的 .json 的第 1 到第 5 行:

{"text":"The morning is going so fast Part 2 of #DiscoveryDay is in full swing \ud83d\ude01\n\nGreat Atmosphere in the room \n\n#BIGSocial\u2026 https:\/\/t.co\/P08qBoH6tv"}
{"text":"Double kill! #XiuKai lives! I died. \ud83d\ude0c https:\/\/t.co\/QCyk3r2JCb"}
{"text":"ALLTY \ud83d\udc94"}
{"text":"Shouldn\u2019t be normal for a 24 year old to be this tiered \ud83d\udca4"}
{"text":"@TheNames_BrieX Trust me! \ud83d\udcaf"}

这是我遇到的错误,我不确定如何修复:

Parse error on line 1:
.../t.co\/P08qBoH6tv"}{"text":"Double kill
----------------------^
Expecting 'EOF', '}', ',', ']', got '{'

任何有关如何解决此问题的帮助都会有所帮助。

谢谢!

你的 JSON 无效,对象没有用逗号分隔,你不能有多个根元素

这是让您的 JSON 固定

的一种方法
[
  {"text":"The morning is going so fast Part 2 of #DiscoveryDay is in full swing \ud83d\ude01\n\nGreat Atmosphere in the room \n\n#BIGSocial\u2026 https:\/\/t.co\/P08qBoH6tv"},
  {"text":"Double kill! #XiuKai lives! I died. \ud83d\ude0c https:\/\/t.co\/QCyk3r2JCb"},
  {"text":"ALLTY \ud83d\udc94"},
  {"text":"Shouldn\u2019t be normal for a 24 year old to be this tiered \ud83d\udca4"},
  {"text":"@TheNames_BrieX Trust me! \ud83d\udcaf"}
]