---
schema_version: "1"
id: 5aa33557956bae251b5e69c0ee7906f701a2a11a76983c93f565088e0f662c81
title: Json Query
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/rpa-builder/latest/toolbox-variable-handling-json-query.md
canonical_url: https://docs.mulesoft.com/rpa-builder/latest/toolbox-variable-handling-json-query
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 1bebd8dd10524e6b247e49f6140931e47f4b93dd5fda6d6a1a610105c447a4ac
description: MuleSoft Documentation Site
release: "6.7"
latest: true
---
---
product: RPA Builder
version: 6.7
is-latest-version: true
---

# Json Query

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Use the Json Query action step to parse Json objects and read individual values or elements from the
object. The result remains available for the rest of the process run as a source variable.

Combine this action step with REST Call to further refine the resulting JSON output.

## Properties

- **JsonPath Expression**

  The JsonPath expression. For example, `$.access_token`.

## Inbound Variables

- **Json Object**

  The Json object from which to extract the value using the JsonPath expression. You can select the
  result of a REST Call action step to serve as an object.

- **JsonPath Expression**

  The JsonPath expression to specify the value to extract from the object. For example, `$.ID`, to
  extract the value of element `ID` as a result.

## Outbound Variables

- **IsSucceeded** (boolean)

  Shows if the action step executed successfully or not.

- **FirstItem** (array)

  Outputs the first element of the array as a string.

- **ArrayCount**

  Indicates the number of elements of the returned array.

## Wizard

Use the Wizard to select the source JSON Object, usually an Inbound Variable containing the result
of a REST Call, and to specify the JsonPath expression to extract values from the object. An empty
result is a valid result and the process continues without considering it as an error.

Use the [JsonPath expression Builder](https://docs.mulesoft.com/rpa-builder/latest/building-jsonpath-expressions#jsonpath-builder) to simplify
the process of creating the JsonPath expression.

For more information about JSONPath, see [XPath for JSON](https://goessner.net/articles/JsonPath/).

## See Also

- [REST Call](https://docs.mulesoft.com/rpa-builder/latest/toolbox-network-rest-call)

- [Building JSONPath Expressions](https://docs.mulesoft.com/rpa-builder/latest/building-jsonpath-expressions)
