const str = jp.stringify(['$', 'path', '$.path01.path02["/api/keywords"].response'])
jp.nodes(json, str)
expression.value is wrong !
Parsing the results of jsonpath:
{
"expression": {
"type": "string_literal",
"value": "$.path01.path02[\\\"/api/keywords\\\"].response"
},
"scope": "child",
"operation": "subscript"
}
expect:
{
"expression": {
"type": "string_literal",
"value": "$.path01.path02[\"/api/keywords\"].response"
},
"scope": "child",
"operation": "subscript"
}
expression.value is wrong !
Parsing the results of jsonpath:
{ "expression": { "type": "string_literal", "value": "$.path01.path02[\\\"/api/keywords\\\"].response" }, "scope": "child", "operation": "subscript" }expect:
{ "expression": { "type": "string_literal", "value": "$.path01.path02[\"/api/keywords\"].response" }, "scope": "child", "operation": "subscript" }