josdejong/jsonrepair

Failing when parsing double quotes inside a string which are followed by a Comma

オープン

#129 opened on 2024/06/22

 (3 件のコメント) (3 件のリアクション) (0 人の担当者)TypeScript (88 件のフォーク)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (2,397 個のスター)
PR merge metrics
 (平均マージ 26d 22h) (30d で 2 merged PRs)

説明

I discovered an output made by Claude 3 API, that can't get repaired by this tool:

{
  "id": "251115",
  "category": "Politics",
  "reason": "The headline discusses a city's policy to become an "Airbnb-free zone", which is a political decision."
}

It won't fix the double quotes inside the string maybe due to the comma following after the second double quote in an "Airbnb-free zone", which

コントリビューターガイド