Consulta JSONPath
json-pathEvalúa una consulta JSONPath (subconjunto de RFC 9535, con filtros) y devuelve valores y rutas. Cuándo: hay que transformar, comparar o revisar con exactitud datos estructurados (JSON, CSV, YAML, XML, arreglos). No para: leer el valor en una ruta como /clientes/0/nit dentro de un documento JSON con la sintaxis RFC 6901 (json-pointer-get). Efectos secundarios: ninguno (solo lectura, sin red, sin estado guardado). Determinista: la misma entrada da la misma salida. Límites: entrada JSON de hasta 64 KB, 1 s por llamada, resultado de hasta 1 MB.
EN: Evaluates a JSONPath query (RFC 9535 subset: .name, ['name'], [n], [*], .., [a:b:c], unions, filters with ==, !=, <, <=, >, >=, &&, ||, !) and returns matching values and their normalized paths. When: structured data (JSON, CSV, YAML, XML, arrays) has to be transformed, compared or checked exactly. [EN completo / full EN: inputSchema.description]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | JSONPath expression starting with $ (string; required; up to 1000 chars). | |
| limit | No | Max results (integer; optional; default 1000; min 1; max 10000). | |
| value | Yes | JSON document (any JSON value; required). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| paths | No | ||
| values | No | any JSON value |