--- title: "Get Data Pairs For Json Object Properties" slug: "get-data-pairs-for-json-object-properties" tags: ["data pair", "JSON", "object ", "properties"] updated: 2025-02-20T20:07:33Z published: 2025-02-20T20:07:33Z canonical: "documentation.decisions.com/get-data-pairs-for-json-object-properties" --- > ## 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 Data Pairs For JSON Object Properties | ## Step Details | | --- | | **Introduced in Version** | 4.0.0 | | **Last Modified in Version** | 8.12.0 | | **Location** | Data > JSON | The **Get Data Pairs For Json Object Properties** step returns all of the JSON as a data pairs list. It accepts a JSON Text (String) input and returns a List. [Embedded content](https://www.youtube.com/embed/cMD4m0HxKa8) --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Indented Ouput | Disabling this option outputs the JSON in a single line, eliminating any indentation. This format may be helpful in reducing the overall size of the Flow. | Boolean | | Json Text | The JSON string to get data pair from | String | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | Output | Data Pairs of JSON text | List of DataPair | --- ## Example Inputs and Outputs | Input | Output | | --- | --- | | {"name":"John", "age":30, "car":null} | {name:"John", age:30, car:""} | | Null | EXCEPTION MESSAGE | | Empty String | EXCEPTION MESSAGE | #### ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1672858042602.png) --- ## Common Errors ### Value cannot be null If the input value is not provided, an error will occur. To correct this, ensure that the JSON Text field is mapped or entered with the correct value. #### Exception Message: ```csharp Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Get Data Pairs For Json Object Properties 1[GetDataPairsForJsonObjectProperties] in flow [Example]: Exception invoking method GetDataPairsForJsonObjectProperties on class JsonSteps ---> DecisionsFramework.LoggedException: Exception invoking method GetDataPairsForJsonObjectProperties on class JsonSteps ---> System.ArgumentNullException: Value cannot be null. (Parameter 's' at Newtonsoft.Json.Linq.JObject.Parse(String json, JsonLoadSettings settings at DecisionsFramework.Design.Flow.CoreSteps.Json.JsonSteps.GetDataPairsForJsonObjectProperties(String jsonText) --- End of inner exception stack trace --- at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData) --- End of inner exception stack trace --- ``` --- ## Feature Changes | Description | Version | Date | Developer Task | | --- | --- | --- | --- | | Added a new setting to the step, "Indented Ouput". | 8.12 | Pending Release | [DT-036215] | ## Related - [Data Pair to Object Step](/data-pair-to-object-step.md) - [Get Data Pair By Name](/get-data-pair-by-name.md) - [Create [DataType] Data Pair Step](/create-datatype-data-pair-step.md) - [Object Properties to Data Pairs Step](/object-properties-to-data-pairs-step.md)