Skip to content

Commit

Permalink
Merge 'Json path refine' from Ihor Andrianov
Browse files Browse the repository at this point in the history
Hey! I've rebuilt the JSON path parser to make it easier to maintain and
catch more edge cases.
Main stuff:
- Removed pest dependency in favor of hand-written parser
- Better memory usage (pre-allocates space, use Cow)
- Handles quoted keys properly now
- Added tests for weird edge cases
- Added PPState (Shoutout ThePrimeagen)

Closes #970
  • Loading branch information
penberg committed Feb 10, 2025
2 parents db3cb13 + b8b0f86 commit 1da4326
Show file tree
Hide file tree
Showing 3 changed files with 463 additions and 115 deletions.
8 changes: 0 additions & 8 deletions core/json/json_path.pest

This file was deleted.

Loading

0 comments on commit 1da4326

Please sign in to comment.