docs(parsers.json_v2): Add warning about choosing XPath instead (#16373)

This commit is contained in:
Philipp 2025-01-09 11:27:47 +01:00 committed by GitHub
parent 56b23c1594
commit 465212844b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,9 @@ this playground to test out your GJSON path here:
[gjson.dev/](https://gjson.dev). You can find multiple examples under the
[`testdata`][] folder.
> [!WARNING]
> In the current state of the implementation, the json_v2 parser should be avoided in favor of the [XPath Parser](../xpath), especially when working with arrays.
## Configuration
```toml