π₯ Release preview
Improved robustness for edge cases: proper handling of escaped characters in strings and malformed JSON with trailing
commas.
// Escaped characters now correctly calculated in string indices
getJsonCursorPath('{"key": "hello\\"world"}', 18);
// Returns correct path accounting for escape sequences π Features
- Implement escape-aware string index calculation (#4)
π€ Changes
n/a
π» Code quality
π Bug fixes
- Fix stack overflow on malformed JSON arrays with trailing commas (#4)
- Add boundary check in parseObjectKey (#4)
π₯ Thanks
- @7PH for all contributions in this release