--- title: "Get Json Path From Value" slug: "get-json-path-from-value" updated: 2023-03-29T18:33:45Z published: 2023-03-29T18:33:45Z canonical: "documentation.decisions.com/get-json-path-from-value" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Get Json Path From Value | ## Step Details | | --- | | **Introduced in Version** | 3.9.0 | | **Last Modified in Version** | 7.12.0 | | **Location** | Data > Text | The **Get JSON Path From Value** step provides a way to retrieve the JSON path for a field in a JSON Object based on a token value. The token value will need to be defined as a JSON Path expression. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | JSON String | The string input for the JSON object | String | | Token Value | The token value used as criteria used to generate the JSON Path | String | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | JSON Path | The outputted JSON Path | String | --- ## Example Inputs and Outputs | Json String | Token Value | Output | | --- | --- | --- | | {"store": {"book": [ {"category": "reference","author": "Nigel Rees","title": "Sayings of the Century","price": 8.95}, { "category": "fiction","author": "Evelyn Waugh","title": "Sword of Honour","price": 12.99}], "bicycle": {"color": "red","price": 19.95} }} | ..[?(@.author == 'Nigel Rees')] | store.book[0] | | {"store": {"book": [ {"category": "reference","author": "Nigel Rees","title": "Sayings of the Century","price": 8.95}, { "category": "fiction","author": "Evelyn Waugh","title": "Sword of Honour","price": 12.99}], "bicycle": {"color": "red","price": 19.95} }} | Nigel Rees | Empty String | | {"store": {"book": [ {"category": "reference","author": "Nigel Rees","title": "Sayings of the Century","price": 8.95}, { "category": "fiction","author": "Evelyn Waugh","title": "Sword of Honour","price": 12.99}], "bicycle": {"color": "red","price": 19.95} }} | ..[?(@.price > 10)] | [store.book[1], store.bicycle] | | {"store": {"book": [ {"category": "reference","author": "Nigel Rees","title": "Sayings of the Century","price": 8.95}, { "category": "fiction","author": "Evelyn Waugh","title": "Sword of Honour","price": 12.99}], "bicycle": {"color": "red","price": 19.95} }} | Null | EXCEPTION MESSAGE | #### ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1676315351800.png)