Convert JSON to Object#

Converts a JSON formatted string into a custom object.

JSON String[Text] A string in JSON format.
Alternative Method

If enabled, the string will be converted to an object using the alternative method (Newtonsoft.Json).

In this case, all properties are accessible via string indexing. For example: $Result["Tasks"]. Otherwise, this property will be accessible as: $Result.Tasks.

As DictionaryIf enabled, the string will be converted to a dictionary.
Result

[Object] A custom object representing the given JSON string. Data can be accessed using dot notation, and arrays can be accessed using standard indexing.

For example, given the JSON string:

{ "Text": { "Value 1": 2, "Item2": 0, "47": -1, "48": -3 } }.

After the block executes, the data can be accessed as follows:

$Result.Text.'Value 1'; $Result.Text.Item2; $Result.Text.47; $Result.Text.48

Error Handling Level

Select the error handling level. Possible values:

  • "Default" - default;
  • "Ignore" - errors are ignored;
  • "Handle" - errors are handled.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Message Level

Select the message level that blocks will output during execution. Possible values:

  • "Default" - default;
  • "Release" - output is disabled;
  • "Debug" - outputs main information;
  • "Detailed" - outputs detailed information.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Error Text[Text] Returns detailed information about the error in case of incorrect execution of the block.