Convert Object to JSON#

Converts an object to a JSON formatted string.

Value[Any data type] The object to be converted to a JSON formatted string.
Object Level[Number] Indicates how many levels of contained objects are included in the JSON representation.
Alternative MethodIf enabled, the object will be converted to a string using an alternative method (Newtonsoft.Json).
Result[Text] Returns a string in JSON format.
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 operation. 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's work.