# ループノードを設定せずにJSONPathを使用してファイルからJSONデータを抽出する

このシナリオでは、関心のあるノードごとに完全なJSONパスを指定してJSONファイル*Store.json*からデータを抽出し、コンソールに抽出されたフラットデータを表示する2コンポーネントジョブについて説明します。

![](https://help.qlik.com/talend/ja-JP/components/8.0/Resources/images/use_case_tfileinputjson_1.png)

JSONファイル*Store.json*には、デパートストアに関する情報が含まれており、ファイルの内容は次のとおりです。

```
{"store": {
    "name": "Sunshine Department Store",
    "address": "Wangfujing Street",
    "goods": {
        "book": [
            {
                "category": "Reference",
                "title": "Sayings of the Century",
                "author": "Nigel Rees",
                "price": 8.88
            },
            {
                "category": "Fiction",
                "title": "Sword of Honour",
                "author": "Evelyn Waugh",
                "price": 12.66
            }
        ],
        "bicycle": {
            "type": "GIANT OCR2600",
            "color": "White",
            "price": 276
        }
    }
}}
```

次の例では、このファイルからストア名、ストアアドレス、自転車情報を抽出します。

### このセクション内

* [コンポーネントを追加してリンク](https://help.qlik.com/talend/ja-JP/components/8.0/json/tfileinputjson-tlogrow-adding-and-linking-components-standard-component-create)
* [コンポーネントの設定](https://help.qlik.com/talend/ja-JP/components/8.0/json/tfileinputjson-tlogrow-configuring-components-standard-component)
* [ジョブを実行](https://help.qlik.com/talend/ja-JP/components/8.0/json/tfileinputjson-tlogrow-executing-job-standard-component-press)

**関連概念**

* [tFileInputJSON](https://help.qlik.com/talend/ja-JP/components/8.0/json/tfileinputjson "ファイルからJSONデータを抽出し、そのデータをファイル、データベーステーブルなどに転送します。")

**関連情報**

* [tLogRow](https://help.qlik.com/talend/r/ja-JP/8.0/components/logs-and-errors/tlogrow)