josdejong/jsonrepair

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

开放

#129 创建于 2024年6月22日

 (3 条评论) (3 个反应) (0 位负责人)TypeScript (88 个派生)github user discovery
enhancementhelp wanted

仓库指标

星标
 (2,397 个星标)
PR 合并指标
 (平均合并 26天 22小时) (30 天内合并 2 个 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

贡献者指南