> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# parseJson

> Parses JSON using JSONPath functions using JayWay's implementation of JSONPath. If no matches are returned, or the matched element is empty, FDP Value

Parses JSON using JSONPath functions using JayWay's implementation of JSONPath.

If no matches are returned, or the matched element is empty, `FDP_Value` will contain an empty string.

> [!NOTE]
>
> You can try JSONPath here: [http://jsonpath.com/](http://jsonpath.com/)

![Image](https://mintcdn.com/flexagon-llc-ce77a95c/NkeZh5D-Nf8j_WaD/images/fd111/12596424499.png?fit=max\&auto=format\&n=NkeZh5D-Nf8j_WaD\&q=85\&s=a7b444fad783b62df0f56ab3d99db4ff)

The JSONPath that you enter in that website is then used in FlexDeploy.

# Inputs

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Input Name**</th><th>**Input Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>JSONSource</td><td>`FDP_SOURCE`</td><td>Yes</td><td>JSONSource to parse</td></tr><tr><td>JSONPathExpression</td><td>`FDP_XPATH`</td><td>Yes</td><td>The JSONPathexpression to use to find a value in the JSONSource</td></tr><tr><td>Require non-blank Output</td><td>`FDP_FAIL_BLANK_OUTPUT`</td><td>No</td><td>If checked, the output must be non-blank at the end of execution or the execution will fail. @Since 9.0.0.7</td></tr></tbody></table>

# Outputs

<table><colgroup><col /><col /><col /></colgroup><tbody><tr><th>**Output Name**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>`FDP_Value`</td><td>No</td><td>The value returned from the JSONPath expression is returned to the workflow in this variable.</td></tr></tbody></table>

# Artifacts

This operation doesn’t consume or produce any artifacts.

# Endpoint Selection

This operation will select all available endpoints associated to the Target.

# Endpoint Execution

This operation will execute on any one of the selected endpoints and will be random in the determination of which one.

# Special Considerations

If multiple elements match the criteria, they will be returned in comma-separated format, enclosed by square brackets.
