Skip to main content

Developer & Code

JPath expression Code Processor

Process code with JPath expression and review the transformed output. Enter the code, choose the processing options, then copy the result.

Tool workspace

Your input stays in this browser.

Add the required input to continue.

Needs input

You can run the tool again after any change.

Options

Your result appears here

Process code with JPath expression and review the transformed output. Enter the code, choose the processing options, then copy the result.

This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.

JPath expression Code Processor processes developer text in your browser. For a correct result, check the path syntax and root shape.

the selected JSON value Processing runs in the browser.

Instructions

  1. Provide text or data for this tool.
  2. Run the expression against a compatible JSON sample.
  3. Review the output against a small known JPath expression Code Processor example.
  4. Keep the source code or markup until the result passes its target parser.

Example

Input: $.store.book[0].title

Settings: JPath expression Code Processor: run the expression against a compatible JSON sample

Result: the selected JSON value

Limits

  • JPath expression Code Processor: path results depend on the input structure
  • JPath expression Code Processor: The operation does not detect a different language automatically.
  • JPath expression Code Processor: Processing stays in the browser.