---
schema_version: "1"
id: 21f9c832644eaef30adfe8984bb9d2ce69d7cdbc85b6b1356fd05494223ccd75
title: JSONPath 式のビルド
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/rpa-builder/6.4/building-jsonpath-expressions.md
canonical_url: https://docs.mulesoft.com/jp/rpa-builder/6.4/building-jsonpath-expressions
source_site: docs.mulesoft.com
content_type: documentation
content_hash: e07130a2cbfa1f50a1cbb9e37d5060a906ece9517ad87aaf6d1e5f3650a1af48
description: MuleSoft Documentation Site
release: "6.4"
latest: false
---
# JSONPath 式のビルド

JSONPath 式は、XPath 式が XML ドキュメントの各部を参照するのと同じように、JSON 構造をナビゲートします。

JSONPath 式の作成プロセスを簡素化するには、RPA Builder に含まれる JSONPath 式ビルダーを使用します。このツールを開くには、上部メニューバーの (​![2.5%](/mulesoft/current/ja-jp/rpa-builder/6.4/_images/jsonpath-expression-builder-button.png) ボタン\]​) をクリックするか、JSONPath 式をサポートするアクションステップ (JSON Query、REST Call、AWS) 内をクリックします。

上部のメニューバーから JSONPath 式ビルダーを開くと、アクションステップ内で直接割り当てるのではなく、ビルドされた JSONPath 式をコピーしてさらに使用できます。

## [](#jsonpath-builder)JSONPath 式ビルダーを使用した式のビルド

JSONPath 式ビルダーを使用して JSONPath 式を作成する手順は、次のとおりです。

1. **\[Build JSONPath Expression (JSONPath 式のビルド)\]**​ (​![2.5%](/mulesoft/current/ja-jp/rpa-builder/6.4/_images/jsonpath-expression-builder-button.png)\]​ ボタン) ボタンをクリックします。
2. **\[Import from file (ファイルからインポート)\]**​をクリックして JSON ファイルを開き、選択するか、テキストボックスに直接 JSON を貼り付けます。
    
    ![JSONPath 式ビルダーツールのファイルのインポートウィンドウ](/mulesoft/current/ja-jp/rpa-builder/6.4/_images/jsonpath-expression-builder-import.png)
3. **\[Next (次へ)\]**​ をクリックします。
4. **\[JSON\]**​ パネルでオブジェクトをクリックすると、オブジェクトの JSONPath 式が抽出されます。
    
    ![JSONPath 式ビルダーツール](/mulesoft/current/ja-jp/rpa-builder/6.4/_images/jsonpath-expression-builder.png)
    
    JSON 要素をクリックすると、​**\[Result (結果)\]**​ パネルが更新されて、式が抽出する値が表示されます。また、​**\[JSONPath expression (JSONPath 式)\]**​ 項目が更新されて、指定された値を抽出するためにビルドされた式が表示されます。
5. **\[Apply (適用)\]**​ をクリックして確認し、ビルドされた JSONPath 式を使用します。

JSONPath の詳細については、 [XPath for JSON](https://goessner.net/articles/JsonPath/)​を参照してください。

## [](#関連情報)関連情報

- [JSON Online Editor](https://jsoneditoronline.org/)
- [JSONPath Evaluator](https://jsonpath.com/)