josdejong/jsonrepair

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

Open

#129 创建于 2024年6月22日

在 GitHub 查看
 (3 评论) (3 反应) (0 负责人)TypeScript (83 fork)github user discovery
enhancementhelp wanted

仓库指标

Star
 (2,359 star)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南