mirror of
https://github.com/gchq/CyberChef
synced 2025-12-11 05:43:28 +00:00
Adds initial JPath functionality
This commit is contained in:
@@ -2243,6 +2243,24 @@ const OperationConfig = {
|
||||
}
|
||||
]
|
||||
},
|
||||
"JPath expression": {
|
||||
description: "Extract information from a JSON object with an JPath query",
|
||||
run: Code.runJpath,
|
||||
inputType: "string",
|
||||
outputType: "string",
|
||||
args: [
|
||||
{
|
||||
name: "JPath",
|
||||
type: "string",
|
||||
value: Code.JPATH_INITIAL
|
||||
},
|
||||
{
|
||||
name: "Result delimiter",
|
||||
type: "binaryShortString",
|
||||
value: Code.JPATH_DELIMITER
|
||||
}
|
||||
]
|
||||
},
|
||||
"CSS selector": {
|
||||
description: "Extract information from an HTML document with a CSS selector",
|
||||
run: Code.runCSSQuery,
|
||||
|
||||
Reference in New Issue
Block a user