# Extracting JSON data from a file using XPath

Based on [Extracting JSON data from a file using JSONPath without setting a loop node](https://help.qlik.com/talend/en-US/components/8.0/json/tfileinputjson-tlogrow-extracting-json-data-from-file-using-jsonpath-without-setting-loop-node-standard-component-this), this scenario extracts the store name and the book information from the JSON file *Store.json* using XPath queries and displays the flat data extracted on the console.

### In this section

* [Procedure](https://help.qlik.com/talend/en-US/components/8.0/json/tfileinputjson-procedure-standard-component-in)

**Related concepts**

* [tFileInputJSON](https://help.qlik.com/talend/en-US/components/8.0/json/tfileinputjson "Extracts JSON data from a file and transfers the data to a file, a database table, etc.")