Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug - Failing to fix missing quote of a value in an object inside an array #131

Closed
kazazor opened this issue Oct 13, 2024 · 2 comments
Closed
Labels
duplicate This issue or pull request already exists

Comments

@kazazor
Copy link

kazazor commented Oct 13, 2024

{
  "timestampRangesMinSec": [
    {"startMinSec": "00:00", "endMinSec": "00:10"},
    {"startMinSec": "00:11", "endMinSec": "00:16"},
    {"startMinSec": "00:17", "endMinSec": "00:23}
  ]
}

Notice thet 00:23 is missing closing quotes and the tools breaks with:

Object key expected at position 166

Test it out here:
https://josdejong.github.io/jsonrepair/

@kazazor kazazor changed the title Bug - Failing to fix missing quote in an object inside an array Bug - Failing to fix missing quote of a value in an object inside an array Oct 13, 2024
@josdejong
Copy link
Owner

Thanks for reporting, it would be nice to be able to repair this too. This issue is the same as #130: strings containing a delimiter like a colon : cannot be repaired. I'll close this issue in favor of #130.

@josdejong josdejong added the duplicate This issue or pull request already exists label Oct 17, 2024
@josdejong
Copy link
Owner

This issue has been fixed in [email protected].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants